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
crash on resuming from suspend since update to wlroots 0.12 #5825
Comments
The backtrace you provided doesn't contain debug symbols. This most likely happens because the Sway binary you're using doesn't have debug information bundled. Can you try again with a manually compiled Sway binary? See https://github.com/swaywm/sway/wiki/Development-Setup#compiling-as-a-subproject |
Thanks, I'll try. I wondered if that was the case, but the instructions mentioned question marks and I saw none. You can tell I'm not used to gdb :) |
I've built with debug symbols and enabled debug logging, so at the next crash I'll edit the original post to include the extra information. It might be tomorrow as it's getting late. Edit: suspended a handful of times today, and no crashes. Hm. |
Okay, it finally happened again, after an overnight suspend. I think it only triggers when a significant amount of time has passed. Over the past few days I did multiple suspends under an hour and I didn't see crashes. I'm updating the original post with the debug details, FYI @emersion. |
Maybe related to swaywm/wlroots#2199 |
Perhaps - I do run both swayidle and kanshi. Though I've only started seeing the crash very recently. |
I've been running wlroots+sway master for a couple of days, resuming three times so far, and for now I haven't seen any crashes. It's too early to tell if the issue is fixed though, as sometimes I would go entire weeks without getting a crash. If I don't see another crash in a couple of weeks, I'll close this issue as having been fixed at some point since the last release :) |
It's been another ten days and still no crashes, so I'm closing this as fixed. Thanks again! I think the fix for swaywm/wlroots#2199 also fixed this issue. |
Please fill out the following:
Sway Version:
sway version 1.5.1
Debug Log:
Attaching the big debug log that ends at the crash.
sway-previous.log
It ends with:
https://github.com/mvdan/dotfiles/blob/1b5af4e620dd866b90f785eec4b0e00350d4a19c/.config/sway/config
I closed the laptop lid, which suspends it and triggers swayidle. When opening the lid again to awake it, sway opens an entirely new session, seemingly because it crashed.
Note that I use kanshi too, which might be related. But in general, this started happening in the past few days, which aligns with Arch Linux upgrading to wlroots 0.12.0.
This issue might be a duplicate of #5198 and perhaps #4862 too, but the stack trace doesn't look exactly the same.
The text was updated successfully, but these errors were encountered: