-
Notifications
You must be signed in to change notification settings - Fork 462
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
GNOME shell crashes when dash-to-dock extension is disabled in overview #2179
Comments
Thanks for the bug report. dash-to-dock shouldn't be able to cause a segfault like that, and particularly not with style changes. It looks like we should track this upstream just keeping in mind the only way to reproduce it is with dash-to-dock. |
I'm working on an upstream fix so let's track this in https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7339 instead. |
The upstream fix is https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3252, and it's already fixed in Ubuntu. |
Even if this gets fixed in upstream GNOME, it would be nice if you could update the extension to not have the problematic CSS rule -- it might take a while until GNOME is patched and the update reaches e.g. my laptop. While I agree that this is not "your" bug, but an upstream bug, I still think it would be best to implement a workaround here. I would like to be able to use the extension again before GNOME 49 or even 50 gets released with the fix. |
In the meantime, you can manually apply the patch mentioned by @taoky on your system by modifying |
Since @sergio-costas wrote the "first bad commit" de35ab6 he can decide whether modifying that is an acceptable workaround for non-Ubuntu systems. But I suspect it may not even be a reliable workaround if any stylesheet changes could cause the same crash. |
I'm not sure... I tested it in Gnome Shell 47 and seems to have no aesthetic impact, but as @vanvugt said, that's not even a reliable workaround because the bug is in Gnome Shell, so a future patch in dash-to-dock can easily reinsert it... |
I guess there's a stochastic benefit to changing the CSS. If it reduces the frequency of the crashes then that reduces the burden of repeated crash reports we get here. |
You are right... I'll prepare a quick patch and do more tests. |
@vanvugt @bradchristensen I'm unable to reproduce the bug neither with the dash-to-dock from the extensions page, nor with the code from |
With current code from master (1053b3e), dash-to-dock would make shell crash in both GNOME 45 and 46. This could be reproduced by:
gnome-extensions disable [email protected]
ifssh
ing.My local bisecting result shows that de35ab6 is the first bad commit (weird) when testing with GNOME 45. And this diff patch "workarounds" the crash in both GNOME 45 and 46:
This issue looks like https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7339 but it's slightly different (crashing widget is
Gjs_ui_dash_ShowAppsIcon
), and I have tried to find the cause but no clue. And this bug, if exists in shell, could only be triggered by an extension. I have also tried to build a simpler extension example, but it does not crash with a CSS-only extension.bt full (GNOME 46):
bt-full-fedora-gnome46.txt
The text was updated successfully, but these errors were encountered: