-
Notifications
You must be signed in to change notification settings - Fork 350
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
segfault when receiving notifications while screen is off (Wayland) #888
Comments
Could you send the dunst debug logs? |
It doesn't print anything at all, other than |
Nevermind, here it is: https://wank.party/Woc8.log |
I think it's related to #877 |
@9ary I don't see any segfault in the logs. Maybe you didn't pipe the errors to the log file. Hint: |
There was nothing on stderr, just the standard segfault message which would be at the very end. |
What does the segfault message say? |
Seems like even redirecting stderr doesn't push that message to the log file. This is the message:
Here's another log for completeness: https://wank.party/YimJ.log |
Thank you, I can reproduce it. What's probably happening is that when the monitor is off, dunst tries to create a window. That window is for some reason destroyed by the compositor. After that dunst comes in an infinite loop of requesting new windows (this is a know bug, see #877). |
May I suggest a workaround?
See MISCELLANEOUS in dunst(1) for reference. |
I cannot reproduce this, because I do not have a DP monitor to test it with but @9ary said that it disappears entirely. When I send a notification while the display of my laptop is off, without suspending dunst, it does not crash. BTW, it is good practice to pause dunst while the display is off or the session is suspended/locked because one might lose notifications otherwise, i.e.: |
That's not a bad idea actually, should be easy to do with kanshi. I think it might be a good idea to have this as an option in dunst. |
@9ary I've added a fix for this crash. My method of reproducing was: |
Thanks, I'll try it out when I get the chance. |
I use a DisplayPort monitor. These have the peculiar behavior of "disappearing" when they are turned off, as if you had unplugged the cable.
Consistent repro:
Installation info
The text was updated successfully, but these errors were encountered: