XDG_CURRENT_DESKTOP=unity crashes gnome-shell 3.28.3
After upgrading from 3.28.1 to 3.28.3 on Fedora 28 I was unable to log into my account since gnome-shell would crash on startup:
Okt 15 17:54:36 localhost.localdomain gnome-shell[1195]: JS ERROR: TypeError: this._currentWindow is null
_setCurrentRect@resource:///org/gnome/shell/ui/keyboard.js:536:13
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
_init/<@resource:///org/gnome/shell/ui/keyboard.js:503:13
Okt 15 17:54:36 localhost.localdomain gnome-shell[1195]: JS ERROR: TypeError: this._currentWindow is null
_setCurrentRect@resource:///org/gnome/shell/ui/keyboard.js:536:13
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
_init/<@resource:///org/gnome/shell/ui/keyboard.js:503:13
Okt 15 17:54:36 localhost.localdomain gnome-shell[1195]: Object Clutter.Clone (0x55c0071607f0), has been already finalized. Impossible to get any property from it.
Okt 15 17:54:36 localhost.localdomain org.gnome.Shell.desktop[1195]: == Stack trace for context 0x55c005b8c230 ==
Okt 15 17:54:36 localhost.localdomain org.gnome.Shell.desktop[1195]: #0 0x7ffccfcf1200 b resource:///org/gnome/shell/ui/tweener.js:73 (0x7fe3580c8cd0 @ 9)
Okt 15 17:54:36 localhost.localdomain org.gnome.Shell.desktop[1195]: #1 0x7ffccfcf19c0 b resource:///org/gnome/shell/ui/tweener.js:105 (0x7fe3580c8f78 @ 36)
Okt 15 17:54:36 localhost.localdomain org.gnome.Shell.desktop[1195]: #2 0x7ffccfcf1a60 b resource:///org/gnome/shell/ui/tweener.js:92 (0x7fe3580c8de0 @ 52)
Okt 15 17:54:36 localhost.localdomain org.gnome.Shell.desktop[1195]: #3 0x7ffccfcf2640 I resource:///org/gnome/gjs/modules/tweener/tweener.js:208 (0x7fe3580d2918 @ 54)
Okt 15 17:54:36 localhost.localdomain org.gnome.Shell.desktop[1195]: #4 0x7ffccfcf2790 b resource:///org/gnome/gjs/modules/tweener/tweener.js:337 (0x7fe3580d29a0 @ 1626)
Okt 15 17:54:36 localhost.localdomain org.gnome.Shell.desktop[1195]: #5 0x7ffccfcf2840 b resource:///org/gnome/gjs/modules/tweener/tweener.js:350 (0x7fe3580d2a28 @ 100)
Okt 15 17:54:36 localhost.localdomain org.gnome.Shell.desktop[1195]: #6 0x7ffccfcf28d0 b resource:///org/gnome/gjs/modules/tweener/tweener.js:365 (0x7fe3580d2ab0 @ 10)
Okt 15 17:54:36 localhost.localdomain org.gnome.Shell.desktop[1195]: #7 0x7ffccfcf2950 I resource:///org/gnome/gjs/modules/signals.js:128 (0x7fe3580cff78 @ 386)
Okt 15 17:54:36 localhost.localdomain org.gnome.Shell.desktop[1195]: #8 0x7ffccfcf2a00 b resource:///org/gnome/shell/ui/tweener.js:207 (0x7fe3580cf5e8 @ 159)
Okt 15 17:54:36 localhost.localdomain org.gnome.Shell.desktop[1195]: #9 0x7ffccfcf2a70 I resource:///org/gnome/gjs/modules/_legacy.js:82 (0x7fe3580b5de0 @ 71)
Okt 15 17:54:36 localhost.localdomain org.gnome.Shell.desktop[1195]: #10 0x7ffccfcf2a70 I resource:///org/gnome/shell/ui/tweener.js:182 (0x7fe3580cf560 @ 15)
Okt 15 17:54:36 localhost.localdomain org.gnome.Shell.desktop[1195]: == Stack trace for context 0x55c005b8c230 ==
Okt 15 17:54:36 localhost.localdomain org.gnome.Shell.desktop[1195]: #0 0x7ffccfcf1200 b resource:///org/gnome/shell/ui/tweener.js:80 (0x7fe3580c8cd0 @ 82)
Okt 15 17:54:36 localhost.localdomain org.gnome.Shell.desktop[1195]: #1 0x7ffccfcf19c0 b resource:///org/gnome/shell/ui/tweener.js:105 (0x7fe3580c8f78 @ 36)
Okt 15 17:54:36 localhost.localdomain org.gnome.Shell.desktop[1195]: #2 0x7ffccfcf1a60 b resource:///org/gnome/shell/ui/tweener.js:92 (0x7fe3580c8de0 @ 52)
Okt 15 17:54:36 localhost.localdomain org.gnome.Shell.desktop[1195]: #3 0x7ffccfcf2640 I resource:///org/gnome/gjs/modules/tweener/tweener.js:208 (0x7fe3580d2918 @ 54)
Okt 15 17:54:36 localhost.localdomain org.gnome.Shell.desktop[1195]: #4 0x7ffccfcf2790 b resource:///org/gnome/gjs/modules/tweener/tweener.js:337 (0x7fe3580d29a0 @ 1626)
Okt 15 17:54:36 localhost.localdomain org.gnome.Shell.desktop[1195]: #5 0x7ffccfcf2840 b resource:///org/gnome/gjs/modules/tweener/tweener.js:350 (0x7fe3580d2a28 @ 100)
Okt 15 17:54:36 localhost.localdomain org.gnome.Shell.desktop[1195]: #6 0x7ffccfcf28d0 b resource:///org/gnome/gjs/modules/tweener/tweener.js:365 (0x7fe3580d2ab0 @ 10)
Okt 15 17:54:36 localhost.localdomain org.gnome.Shell.desktop[1195]: #7 0x7ffccfcf2950 I resource:///org/gnome/gjs/modules/signals.js:128 (0x7fe3580cff78 @ 386)
Okt 15 17:54:36 localhost.localdomain org.gnome.Shell.desktop[1195]: #8 0x7ffccfcf2a00 b resource:///org/gnome/shell/ui/tweener.js:207 (0x7fe3580cf5e8 @ 159)
Okt 15 17:54:36 localhost.localdomain gnome-shell[1195]: Object Clutter.Clone (0x55c0071607f0), has been already finalized. Impossible to set any property to it.
Okt 15 17:54:36 localhost.localdomain org.gnome.Shell.desktop[1195]: #9 0x7ffccfcf2a70 I resource:///org/gnome/gjs/modules/_legacy.js:82 (0x7fe3580b5de0 @ 71)
Okt 15 17:54:36 localhost.localdomain org.gnome.Shell.desktop[1195]: #10 0x7ffccfcf2a70 I resource:///org/gnome/shell/ui/tweener.js:182 (0x7fe3580cf560 @ 15)
Okt 15 17:54:39 localhost.localdomain gnome-shell[1195]: JS ERROR: TypeError: this._currentWindow is null
_setCurrentRect@resource:///org/gnome/shell/ui/keyboard.js:536:13
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
_init/<@resource:///org/gnome/shell/ui/keyboard.js:503:13
popModal@resource:///org/gnome/shell/ui/main.js:497:9
_releaseModalGrab@resource:///org/gnome/shell/ui/grabHelper.js:222:9
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
ungrab@resource:///org/gnome/shell/ui/grabHelper.js:269:13
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
_onMenuOpenState@resource:///org/gnome/shell/ui/popupMenu.js:1294:13
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
_emit@resource:///org/gnome/gjs/modules/signals.js:128:27
close@resource:///org/gnome/shell/ui/popupMenu.js:888:9
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
itemActivated@resource:///org/gnome/shell/ui/popupMenu.js:527:9
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
_connectItemSignals/menuItem._activateId<@resource:///org/gnome/shell/ui/popupMenu.js:563:13
_emit@resource:///org/gnome/gjs/modules/signals.js:128:27
activate@resource:///org/gnome/shell/ui/popupMenu.js:166:9
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
_onButtonReleaseEvent@resource:///org/gnome/shell/ui/popupMenu.js:127:9
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
Which looks like it could be related to #414 (closed).
It turned out removing
XDG_CURRENT_DESKTOP=unity
from my .bashrc
also removed the crash.
(Which is in my .bashrc
to make third party software usable again after the removal of the notification area)