repeated log out/in crashes GNOME Shell and disables extensions
Affected version
Fedora Workstation 34
GNOME 40.2 (40.1 and 40.0 too)
happens with Xorg and Wayland session
(https://os.gnome.org download cannot be tested due to nginx's "500 Internal Server Error")
gnome-shell-extension-background-logo-40.0~rc-2.fc34.noarch
gnome-shell-extension-dash-to-dock-69-5.20210430git5c438b8.fc34.noarch
gnome-shell-extension-no-overview-4-1.fc34.noarch
gnome-shell-extension-window-list-40.2-1.fc34.noarch
Bug summary
gnome-shell crashes with repeated log out/in, which disables gnome-shell extensions reproduce fastest with repeated log out/in, but reboot/power off works as well
Steps to reproduce
- install with Fedora Workstation with Everything netinstall ISO: https://download.fedoraproject.org/pub/fedora/linux/releases/34/Everything/x86_64/iso/Fedora-Everything-netinst-x86_64-34-1.2.iso
- log in to GNOME session
- log out from GNOME session
- go back to 2. until you see a crash notification; restart at 2 until the Fedora logo in the lower right corner is gone too
What happened
- GNOME Shell crashed
- because "/run/user/1001/gnome-shell-disable-extensions" is created, /usr/lib/systemd/user/org.gnome.Shell-disable-extensions.service (provided by gnome-shell-40.2-1.fc34.x86_64) executes
gsettings set org.gnome.shell disable-user-extensions true
which disables GNOME Shell extensions (I care about no-overview@fthx and dash-to-dock@micxgx.gmail.com)
What did you expect to happen
GNOME Shell not crashing and not disabling extension
Relevant logs, screenshots, screencasts etc.
stack trace is in this automatic bug reporting tool (ABRT)-created bug: https://bugzilla.redhat.com/show_bug.cgi?id=1957952
additional information
To re-enable GNOME Shell extensions you must execute as user gsettings set org.gnome.shell disable-user-extensions false
. gnome-extensions
does not help. Another solution is to install gnome-extensions-app and toggle "Extensions" setting.
When the extensions have been disabled the output of gnome-extensions list --enabled
is empty, but gsettings get org.gnome.shell enabled-extensions
has output ['background-logo@fedorahosted.org']
(installed and enabled by default on Fedora). That was confusing me until I figured out that extensions were disabled altogether.
In GNOME Classic session gnome-shell crashes too, but these extensions remain enabled (only "background-logo@fedorahosted.org" was disabled):
$ gnome-extensions list --enabled
apps-menu@gnome-shell-extensions.gcampax.github.com
launch-new-instance@gnome-shell-extensions.gcampax.github.com
places-menu@gnome-shell-extensions.gcampax.github.com
window-list@gnome-shell-extensions.gcampax.github.com
Uninstalling background-logo, dash-to-dock, and no-overview extension does not help. GNOME Shell still crashes.