#5344·Waybar

waybar-0.15 + git 7f732f055316d3b0ab89f57e4347d24c1cc96167 crashes on input device removal.

Author: sdeglerCreated Sep 25, 2026Updated Sep 25, 2026
Labelsbughyprlandcustomkeyboard

Describe the bug waybar crashes with the following error when I remove an input device:

waybar: ../src/util-list.c:139: list_remove: Assertion `(elm->next != NULL && elm->prev != NULL) || !"list->next|prev is NULL, possibly missing list_init()"' failed.

To reproduce Remove any input device, the crash should be instantaneous.

Steps to reproduce the behaviour, including a minimal config that triggers it:

jsonc
"modules-left": [
	"keyboard-state",
       ],

}

Expected behaviour No crash.

Screenshots If applicable, add screenshots to help explain the problem.

Environment

  • Waybar version (waybar --version): waybar-0.15.0^1.git98b2a56-1.fc45.x86_64
  • Installed from (distro package / source / other): copr:copr.fedorainfracloud.org:sdegler:hyprland I am the package maintainer
  • Compositor and version (Sway, Hyprland, River, …): Hyprland Debug output Run waybar -l debug and paste any relevant output:

I didn't see any relavent output.

Additional context Anything else that might help.