-
Notifications
You must be signed in to change notification settings - Fork 177
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 in wayfire-shell plugin when unplugging external monitor #2212
Comments
We have recently had some fixes related to this, please test with latest master. |
Oh, I think I misread the stack trace. We had a similar problem in core, not in this plugin. I assume that yes, probably we ought to check for the output. Note however that we still have to create the hotspot object (otherwise we're violating the wayland protocol) but that object simply should be 'inert' - all requests to it should be ignored. I think it should be possible to adapt the wfs_hotspot object to support that. |
Maybe the same issue is crashing wf-backround as it is also shell component... |
This is a race condition which I could reproduce with a specially crafted client, https://github.com/ammen99/wleird/blob/e0a81e4dd4c8df002016e60fffad03b908091ee5/wfshell-tester.c I pushed a fix in #2211 |
@mark-herbert42 That is a separate bug in the application (wf-background), please post your log there, not in the wayfire issue. |
Using wayfire from git at commit 27ddca3 . I opened my laptop and noticed wayfire had crashed. Looks like it happened when unplugging my external monitor. Simplified log below.
I notice that most of the methods in wfs_output check whether this->output is null. Should a null check be added to wfs_output::create_hotspot as well?
The text was updated successfully, but these errors were encountered: