It seems to confirm this is somehow related to swaylock, or the outputs being turned off by swaymsg. I'm not familiar with Wayland, but maybe when the outputs are off there's no "surface to draw on" so no current_buffer ? I don't know just a guess.
The segfault is caused by ctx.current_buffer being null:
I'm running Dunst 1.9.0 from the ArchLinux repositories.
Hey, I'm unsure of what triggers the bug exactly, but it seems that the dunst daemon crashes randomly on SwayWM. All notifications are lost.
I may be wrong, but I think it happens when swaylock locks the session.
I tried to reproduce using the following one liner, but it didn't trigger the bug:
Here's the backtrace from the coredump:
So apparently this is due to the following function:
https://github.com/dunst-project/dunst/blob/7bd8e6b87f06702d8106dc46fb4ed5ffca588bf3/src/wayland/wl.c#L817-L823
It seems to confirm this is somehow related to swaylock, or the outputs being turned off by swaymsg. I'm not familiar with Wayland, but maybe when the outputs are off there's no "surface to draw on" so no
current_buffer
? I don't know just a guess.The segfault is caused by
ctx.current_buffer
being null:I'm running Dunst 1.9.0 from the ArchLinux repositories.