Alexays / Waybar

Highly customizable Wayland bar for Sway and Wlroots based compositors. :v: :tada:
MIT License
6.37k stars 695 forks source link

Segmentation fault on startup #3636

Open mitchelljkotler opened 2 days ago

mitchelljkotler commented 2 days ago

I had waybar setup and working fine. Today I woke my laptop up, and the bar was missing. I ran waybar from the command line and find it now seg faults:

> waybar
xkbcommon: ERROR: failed to add default include path /usr/share/X11/xkb
xkbcommon: ERROR: failed to add default include path /usr/share/X11/xkb
[1]    3825892 segmentation fault (core dumped)  waybar

I hadn't changed anything. I tried upgrading waybar and installing from source, but still get the same issue.

> waybar --version
Waybar v0.11.0-35-g07f75e30 (branch 'master')

I am on Ubuntu 22.04

LukashonakV commented 2 days ago

According the log you have experienced the issue with the xkbcommon library. Waybar uses it in language module. I guess if you turn off this module waybar will start. Contact Ubuntu community to check what's wrong with the library. See xkbcommon

mitchelljkotler commented 2 days ago

I have the language module commented out in the config. Is there anything else I can do to disable it and allow waybar to start? I will try to figure out what is wrong with my xkbcommon as well. Thanks.

LukashonakV commented 2 days ago

As I see:

  1. sway/language
  2. hyprland/language
  3. niri/language

Only these modules use the library. Check any of them and disable temporary. + I guess you need to check and might reinstall next libraries

  1. libxkbcommon-dev
  2. libxkbregistry-dev

Both actual for Debian repository and should be the same for Ubuntu

LukashonakV commented 2 days ago

And I missed... you wrote, you woke up your laptop.. Means waybar crashes the only after sleeping.. on even on system startup? @mitchelljkotler ?

mitchelljkotler commented 13 hours ago

I rebooted my system and it is working again