-
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
New weird crash: reloading animation plugin while window close animation is playing #670
Comments
Yeah, it still has to do with irrelevant trace
This didn't happen before the last git pull.. upd: debug build hints at vector?? irrelevant trace
|
ASan doesn't catch anything before the segfault.. anyway with the expo plugin unloaded, at least the trace is related to zoom animation
I can see how destroying the zoom animation plugin while the zoom animation is playing is a bad idea :D
|
Okay, so there's actually A LOT of stuff that doesn't like the config being reloaded in that time. Changing Soooo I guess trying to make everything compatible with the plugins being unloaded while an animation is playing is futile, and we really should make sure that "idle" means actually everything is idle, not just the wayland event loop! UPD oh another thought. My reproducer for this is quite convoluted if you're not me: you need to have my gsettings plugin active, run FreeCAD (natively on wayland, which needs my fix in Coin that landed recently; git master if that matters; with modern ui plugin if that matters; with QGnomePlatform platformtheme which most likely matters), run the "open file" dialog and cancel it. What we really need to test robustness is a "chaos monkey" plugin that would hook into all the events and randomly decide to do various unexpected things like reloading the config and… and… other actions? |
update: QGnomePlatform does not matter; commenting out change notification subscription in GSettings doesn't help. I guess it's actually Qt file-open dialog touching the wayfire ini file somehow?? maybe |
or it's (Wayfire shouldn't explode in this situation regardless, it's just interesting to find what causes it) |
Interesting, if the config file changed, we shouldn't updatee anything at all? Maybe here something is reacting to |
reacting to the Oh, because reading it from the file is different than what wf-gsettings has set, and it's intentionally trying to unload all the things. Not "reload for some reason" *facepalm* |
Ahhhh, I see. Then this is a duplicate of #682 :) |
Hmm, actually, maybe not. Wayfire shouldn't crash even in this case ... |
Should be fixed in #2142 |
Just crashed after accepting a dialog box in a Qt5 application (FreeCAD) using the return key.
This is all happening in destructors in
exit
?? After signal_handler caught a signal inreload_dynamic_plugins
?? I guess the real cause of the crash is obscured >_< I guess I should turn ASan back on.irrelevant trace
The text was updated successfully, but these errors were encountered: