Skip to content

Waybar 0.10.3-1 terminates because of buffer overflow with cava_config specified #3314

Open
@0xsch1zo

Description

@0xsch1zo

When cava_config is provided with a path:

   "cava": {
        "cava_config": "/home/sentience/.config/cava/config"
   }

Waybar is being terminated because of a buffer overflow detection:

(waybar:39876): Gtk-WARNING **: 20:42:17.436: Theme parsing error: gtk.css:6691:68: Invalid name of pseudo-class
[2024-05-30 20:42:17.456] [info] Using configuration file /home/sentience/.config/waybar/config
[2024-05-30 20:42:17.459] [info] Using CSS file /home/sentience/.config/waybar/style.css
*** buffer overflow detected ***: terminated
Aborted (core dumped)

I saw a similar issue while searching the AUR: https://aur.archlinux.org/packages/waybar-cava, but his may not be related. When cava_config is not provided, everything works. This is the config I used:

"cava": {
      //"cava_config": "/home/sentience/.config/cava/config",
      "autosens": 1,
      "bar_delimiter": 0,
      "bars": 18,
      "format-icons": [
        "<span foreground='#cba6f7'>▁</span>",
        "<span foreground='#cba6f7'>▂</span>",
        "<span foreground='#cba6f7'>▃</span>",
        "<span foreground='#cba6f7'>▄</span>",
        "<span foreground='#89b4fa'>▅</span>",
        "<span foreground='#89b4fa'>▆</span>",
        "<span foreground='#89b4fa'>▇</span>",
        "<span foreground='#89b4fa'>█</span>"
      ],
      "framerate": 60,
      "higher_cutoff_freq": 10000,
      "input_delay": 2,
      "lower_cutoff_freq": 50,
      "method": "pipewire",
      "monstercat": false,
      "reverse": false,
      "source": "auto",
      "stereo": true,
      "waves": false
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions