Can't enable any third party GNOME shell extensions

Hi, i was testing my GNOME shell extension, and at one point(caused by this commented code(P.S. to be clear, i was just playing around with API;), specifically last line this.settings.vfunc_changed('financials');) something went wrong and system went to lock mode. After i unlocked it, my third party extensions all were disabled and i couldn’t enable them(toggle button is locked). I tried to restart system, uninstall extensions, but nothing did help. Here is output of journalctl -f -o cat /usr/bin/gnome-shell:

Connection to xwayland lost
Window manager warning: Overwriting existing binding of keysym 31 with keysym 31 (keycode a).
Window manager warning: Overwriting existing binding of keysym 38 with keysym 38 (keycode 11).
Window manager warning: Overwriting existing binding of keysym 39 with keysym 39 (keycode 12).
Window manager warning: Overwriting existing binding of keysym 32 with keysym 32 (keycode b).
Window manager warning: Overwriting existing binding of keysym 33 with keysym 33 (keycode c).
Window manager warning: Overwriting existing binding of keysym 34 with keysym 34 (keycode d).
Window manager warning: Overwriting existing binding of keysym 35 with keysym 35 (keycode e).
Window manager warning: Overwriting existing binding of keysym 36 with keysym 36 (keycode f).
Window manager warning: Overwriting existing binding of keysym 37 with keysym 37 (keycode 10).
JS ERROR: TypeError: area is null
padArea@resource:///org/gnome/shell/ui/workspace.js:1101:9
_updateWindowPositions@resource:///org/gnome/shell/ui/workspace.js:1334:20
_realRecalculateWindowPositions@resource:///org/gnome/shell/ui/workspace.js:1311:14
_recalculateWindowPositions/this._positionWindowsId<@resource:///org/gnome/shell/ui/workspace.js:1286:18

Received error from D-Bus search provider org.gnome.seahorse.Application.desktop during GetResultMetas: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.gnome.Shell.SearchProvider2” on object at path /org/gnome/seahorse/Application
Wrong number of result metas returned by search provider org.gnome.seahorse.Application.desktop: expected 2 but got 0
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x3000007
Window manager warning: META_CURRENT_TIME used to choose focus window; focus window may not be correct.
JS ERROR: TypeError: actor.get_meta_window(...) is null
_destroyWindowDone@resource:///org/gnome/shell/ui/windowManager.js:1590:32
onStopped@resource:///org/gnome/shell/ui/windowManager.js:1560:39
_makeEaseCallback/<@resource:///org/gnome/shell/ui/environment.js:73:13
_easeActor/<@resource:///org/gnome/shell/ui/environment.js:149:56
_initializeUI/<@resource:///org/gnome/shell/ui/main.js:236:16

Unset XDG_SESSION_ID, getCurrentSessionProxy() called outside a user session. Asking logind directly.
Will monitor session 2
Telepathy is not available, chat integration will be disabled.
Error looking up permission: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for geolocation
Window manager warning: Overwriting existing binding of keysym 31 with keysym 31 (keycode a).
Window manager warning: Overwriting existing binding of keysym 32 with keysym 32 (keycode b).
Window manager warning: Overwriting existing binding of keysym 33 with keysym 33 (keycode c).
Window manager warning: Overwriting existing binding of keysym 34 with keysym 34 (keycode d).
Window manager warning: Overwriting existing binding of keysym 38 with keysym 38 (keycode 11).
Window manager warning: Overwriting existing binding of keysym 39 with keysym 39 (keycode 12).
Window manager warning: Overwriting existing binding of keysym 35 with keysym 35 (keycode e).
Window manager warning: Overwriting existing binding of keysym 36 with keysym 36 (keycode f).
Window manager warning: Overwriting existing binding of keysym 37 with keysym 37 (keycode 10).
GNOME Shell started at Sun Oct 11 2020 20:06:39 GMT+0200 (CEST)
Registering session with GDM
Received error from D-Bus search provider org.gnome.seahorse.Application.desktop during GetResultMetas: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.gnome.Shell.SearchProvider2” on object at path /org/gnome/seahorse/Application
Wrong number of result metas returned by search provider org.gnome.seahorse.Application.desktop: expected 2 but got 0
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x3000007
Window manager warning: Window 0x2c00007 sets an MWM hint indicating it isn't resizable, but sets min size 1 x 1 and max size 2147483647 x 2147483647; this doesn't make much sense.

And here is one more piece from logs(probably relevant);

JS WARNING: [resource:///org/gnome/shell/misc/extensionUtils.js 217]: reference to undefined property "metadata"
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x4400007
Window manager warning: META_CURRENT_TIME used to choose focus window; focus window may not be correct.

Are extensions enabled in the headerbar of the Extensions App?

EDIT: probably what happened was calling vfunc_changed() (which you should not do), caused gnome-shell to segfault.

Because this crashed gnome-shell the extension was never disabled since GNOME Shell didn’t register an extension error before crashing. Each time it restarted it reloaded the extension resulting in the same crash, until finally it gave up and disabled all extensions.

1 Like

Ah, indeed, extensions were disabled) Thanks for help and explanation!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.