ubuntu / gnome-shell-extension-appindicator

Adds KStatusNotifierItem support to the Shell
https://extensions.gnome.org/extension/615/appindicator-support/
GNU General Public License v2.0
1.19k stars 160 forks source link

Latest update crashes X and wayland #540

Open Sidethorn opened 1 month ago

Sidethorn commented 1 month ago

On Arch when clicking on activities button DE crashes either on X and Wayland.

gilvbp commented 1 month ago

Same here.

LautiLosio commented 1 month ago

+1 to this

LautiLosio commented 1 month ago

Here's some more detail:

With only this extension enabled the steps to reproduce are

  1. Be logged in with extension enabled
  2. Logout
  3. Login > shell crashes and logs out
  4. Login without extensions (some kind of safe mode)
  5. Re-enable extension and it works again. Repeats from step 1

I recorded the outputs of journalctl /usr/bin/gnome-shell between steps 1 and 4 and heres the diff:

14719a14720,14823
> Aug 22 01:34:41 fedora gnome-shell[26826]: Shutting down GNOME Shell
> Aug 22 01:34:41 fedora gnome-shell[26826]: ../gobject/gsignal.c:2685: instance '0x55bcbbcddab0' has no handler with id '98772'
> Aug 22 01:34:41 fedora gnome-shell[26826]: ../gobject/gsignal.c:2685: instance '0x55bcbbcddab0' has no handler with id '98755'
> Aug 22 01:34:41 fedora gnome-shell[26826]: ../gobject/gsignal.c:2685: instance '0x55bcbbc57c00' has no handler with id '32118'
> Aug 22 01:34:41 fedora gnome-shell[26826]: ../gobject/gsignal.c:2685: instance '0x55bcbbc57c00' has no handler with id '32135'
> Aug 22 01:34:42 fedora gnome-shell[30134]: Running GNOME Shell (using mutter 46.4) as a Wayland display server
> Aug 22 01:34:42 fedora gnome-shell[30134]: Made thread 'KMS thread' realtime scheduled
> Aug 22 01:34:42 fedora gnome-shell[30134]: Device '/dev/dri/card1' prefers shadow buffer
> Aug 22 01:34:42 fedora gnome-shell[30134]: Added device '/dev/dri/card1' (amdgpu) using atomic mode setting.
> Aug 22 01:34:42 fedora gnome-shell[30134]: Created gbm renderer for '/dev/dri/card1'
> Aug 22 01:34:42 fedora gnome-shell[30134]: Boot VGA GPU /dev/dri/card1 selected as primary
> Aug 22 01:34:42 fedora gnome-shell[30134]: Obtained a high priority EGL context
> Aug 22 01:34:42 fedora gnome-shell[30134]: Obtained a high priority EGL context
> Aug 22 01:34:42 fedora gnome-shell[30134]: Using public X11 display :1024, (using :1025 for managed services)
> Aug 22 01:34:42 fedora gnome-shell[30134]: Using Wayland display name 'wayland-0'
> Aug 22 01:34:43 fedora gnome-shell[30134]: Unset XDG_SESSION_ID, getCurrentSessionProxy() called outside a user session. Asking logind directly.
> Aug 22 01:34:43 fedora gnome-shell[30134]: Will monitor session c11
> Aug 22 01:34:43 fedora gnome-shell[30134]: Extension apps-menu@gnome-shell-extensions.gcampax.github.com already installed in /usr/share/gnome-shell/extensions/apps-menu@gnome-shell-extensions.gcampax.github.com. /usr/share/gnome-shell/extensions/apps-menu@gnome-shell-extensions.gcampax.github.com will not be loaded
> Aug 22 01:34:43 fedora gnome-shell[30134]: Extension background-logo@fedorahosted.org already installed in /usr/share/gnome-shell/extensions/background-logo@fedorahosted.org. /usr/share/gnome-shell/extensions/background-logo@fedorahosted.org will not be loaded
> Aug 22 01:34:43 fedora gnome-shell[30134]: Extension launch-new-instance@gnome-shell-extensions.gcampax.github.com already installed in /usr/share/gnome-shell/extensions/launch-new-instance@gnome-shell-extensions.gcampax.github.com. /usr/share/gnome-shell/extensions/launch-new-instance@gnome-shell-extensions.gcampax.github.com will not be loaded
> Aug 22 01:34:43 fedora gnome-shell[30134]: Extension places-menu@gnome-shell-extensions.gcampax.github.com already installed in /usr/share/gnome-shell/extensions/places-menu@gnome-shell-extensions.gcampax.github.com. /usr/share/gnome-shell/extensions/places-menu@gnome-shell-extensions.gcampax.github.com will not be loaded
> Aug 22 01:34:43 fedora gnome-shell[30134]: Extension window-list@gnome-shell-extensions.gcampax.github.com already installed in /usr/share/gnome-shell/extensions/window-list@gnome-shell-extensions.gcampax.github.com. /usr/share/gnome-shell/extensions/window-list@gnome-shell-extensions.gcampax.github.com will not be loaded
> Aug 22 01:34:43 fedora gnome-shell[30134]: Extension gsconnect@andyholmes.github.io already installed in /usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io. /usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io will not be loaded
> Aug 22 01:34:43 fedora gnome-shell[30134]: Extension appindicatorsupport@rgcjonas.gmail.com already installed in /usr/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com. /usr/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com will not be loaded
> Aug 22 01:34:43 fedora org.gnome.Shell.desktop[30134]: Window manager warning: Failed to parse saved session file: Failed to open file “/var/lib/gdm/.config/mutter/sessions/10881fd8c32a19c0b4172430128218576700000301220000.ms”: No such file or directory
> Aug 22 01:34:43 fedora gnome-shell[30134]: Error looking up permission: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for geolocation
> Aug 22 01:34:44 fedora gnome-shell[30134]: Registering session with GDM
> Aug 22 01:34:47 fedora gnome-shell[30926]: Running GNOME Shell (using mutter 46.4) as a Wayland display server
> Aug 22 01:34:47 fedora gnome-shell[30926]: Made thread 'KMS thread' realtime scheduled
> Aug 22 01:34:47 fedora gnome-shell[30926]: Device '/dev/dri/card1' prefers shadow buffer
> Aug 22 01:34:47 fedora gnome-shell[30926]: Added device '/dev/dri/card1' (amdgpu) using atomic mode setting.
> Aug 22 01:34:47 fedora gnome-shell[30926]: Created gbm renderer for '/dev/dri/card1'
> Aug 22 01:34:47 fedora gnome-shell[30926]: Boot VGA GPU /dev/dri/card1 selected as primary
> Aug 22 01:34:47 fedora gnome-shell[30926]: Obtained a high priority EGL context
> Aug 22 01:34:47 fedora gnome-shell[30926]: Obtained a high priority EGL context
> Aug 22 01:34:48 fedora gnome-shell[30926]: Using public X11 display :0, (using :1 for managed services)
> Aug 22 01:34:48 fedora gnome-shell[30926]: Using Wayland display name 'wayland-0'
> Aug 22 01:34:48 fedora gnome-shell[30926]: Unset XDG_SESSION_ID, getCurrentSessionProxy() called outside a user session. Asking logind directly.
> Aug 22 01:34:48 fedora gnome-shell[30926]: Will monitor session 18
> Aug 22 01:34:48 fedora gnome-shell[30926]: Extension gsconnect@andyholmes.github.io already installed in /home/lau/.local/share/gnome-shell/extensions/gsconnect@andyholmes.github.io. /usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io will not be loaded
> Aug 22 01:34:48 fedora gnome-shell[30926]: Extension appindicatorsupport@rgcjonas.gmail.com already installed in /home/lau/.local/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com. /usr/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com will not be loaded
> Aug 22 01:34:48 fedora gnome-shell[30926]: Error looking up permission: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for geolocation
> Aug 22 01:34:49 fedora gnome-shell[30926]: GNOME Shell started at Thu Aug 22 2024 01:34:48 GMT-0300 (Argentina Standard Time)
> Aug 22 01:34:49 fedora gnome-shell[30926]: Registering session with GDM
> Aug 22 01:34:49 fedora gnome-shell[30926]: Received an X Window System error.
>                                            This probably reflects a bug in the program.
>                                            The error was 'BadWindow (invalid Window parameter)'.
>                                              (Details: serial 332 error_code 3 request_code 2 (core protocol) minor_code 0)
>                                              (Note to programmers: normally, X errors are reported asynchronously;
>                                               that is, you will receive the error a while after causing it.
>                                               To debug your program, run it with the MUTTER_SYNC environment
>                                               variable to change this behavior. You can then get a meaningful
>                                               backtrace from your debugger if you break on the mtk_x_error() function.)
> Aug 22 01:34:49 fedora gnome-shell[30926]: == Stack trace for context 0x55fe3e116ab0 ==
> Aug 22 01:34:49 fedora gnome-shell[30926]: #0   55fe3e1e25c8 i   resource:///org/gnome/shell/ui/init.js:21 (3018ce070bf0 @ 48)
> Aug 22 01:34:49 fedora audit[30926]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=30926 comm="gnome-shell" exe="/usr/bin/gnome-shell" sig=5 res=1
> Aug 22 01:34:49 fedora gnome-shell[30134]: Connection to xwayland lost
> Aug 22 01:34:49 fedora gnome-shell[30134]: Xwayland terminated, exiting since it was mandatory
> Aug 22 01:34:49 fedora gnome-shell[30134]: JS ERROR: Gio.IOErrorEnum: Xwayland exited unexpectedly
>                                            @resource:///org/gnome/shell/ui/init.js:21:20
> Aug 22 01:34:49 fedora gnome-shell[30134]: Execution of main.js threw exception: Module resource:///org/gnome/shell/ui/init.js threw an exception
> Aug 22 01:34:51 fedora gnome-shell[32151]: Running GNOME Shell (using mutter 46.4) as a Wayland display server
> Aug 22 01:34:51 fedora gnome-shell[32151]: Made thread 'KMS thread' realtime scheduled
> Aug 22 01:34:52 fedora gnome-shell[32151]: Device '/dev/dri/card1' prefers shadow buffer
> Aug 22 01:34:52 fedora gnome-shell[32151]: Added device '/dev/dri/card1' (amdgpu) using atomic mode setting.
> Aug 22 01:34:52 fedora gnome-shell[32151]: Created gbm renderer for '/dev/dri/card1'
> Aug 22 01:34:52 fedora gnome-shell[32151]: Boot VGA GPU /dev/dri/card1 selected as primary
> Aug 22 01:34:52 fedora gnome-shell[32151]: Obtained a high priority EGL context
> Aug 22 01:34:52 fedora gnome-shell[32151]: Obtained a high priority EGL context
> Aug 22 01:34:52 fedora gnome-shell[32151]: Using public X11 display :1024, (using :1025 for managed services)
> Aug 22 01:34:52 fedora gnome-shell[32151]: Using Wayland display name 'wayland-0'
> Aug 22 01:34:52 fedora gnome-shell[32151]: Unset XDG_SESSION_ID, getCurrentSessionProxy() called outside a user session. Asking logind directly.
> Aug 22 01:34:52 fedora gnome-shell[32151]: Will monitor session c12
> Aug 22 01:34:52 fedora gnome-shell[32151]: Failed to create file /run/user/42/gnome-shell-disable-extensions: Error opening file “/run/user/42/gnome-shell-disable-extensions”: File exists
> Aug 22 01:34:52 fedora gnome-shell[32151]: Extension apps-menu@gnome-shell-extensions.gcampax.github.com already installed in /usr/share/gnome-shell/extensions/apps-menu@gnome-shell-extensions.gcampax.github.com. /usr/share/gnome-shell/extensions/apps-menu@gnome-shell-extensions.gcampax.github.com will not be loaded
> Aug 22 01:34:52 fedora gnome-shell[32151]: Extension background-logo@fedorahosted.org already installed in /usr/share/gnome-shell/extensions/background-logo@fedorahosted.org. /usr/share/gnome-shell/extensions/background-logo@fedorahosted.org will not be loaded
> Aug 22 01:34:52 fedora gnome-shell[32151]: Extension launch-new-instance@gnome-shell-extensions.gcampax.github.com already installed in /usr/share/gnome-shell/extensions/launch-new-instance@gnome-shell-extensions.gcampax.github.com. /usr/share/gnome-shell/extensions/launch-new-instance@gnome-shell-extensions.gcampax.github.com will not be loaded
> Aug 22 01:34:52 fedora gnome-shell[32151]: Extension places-menu@gnome-shell-extensions.gcampax.github.com already installed in /usr/share/gnome-shell/extensions/places-menu@gnome-shell-extensions.gcampax.github.com. /usr/share/gnome-shell/extensions/places-menu@gnome-shell-extensions.gcampax.github.com will not be loaded
> Aug 22 01:34:52 fedora gnome-shell[32151]: Extension window-list@gnome-shell-extensions.gcampax.github.com already installed in /usr/share/gnome-shell/extensions/window-list@gnome-shell-extensions.gcampax.github.com. /usr/share/gnome-shell/extensions/window-list@gnome-shell-extensions.gcampax.github.com will not be loaded
> Aug 22 01:34:52 fedora gnome-shell[32151]: Extension gsconnect@andyholmes.github.io already installed in /usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io. /usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io will not be loaded
> Aug 22 01:34:52 fedora gnome-shell[32151]: Extension appindicatorsupport@rgcjonas.gmail.com already installed in /usr/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com. /usr/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com will not be loaded
> Aug 22 01:34:52 fedora org.gnome.Shell.desktop[32151]: Window manager warning: Failed to parse saved session file: Failed to open file “/var/lib/gdm/.config/mutter/sessions/1097f779ff4de2ea2b172430129192699700000321390000.ms”: No such file or directory
> Aug 22 01:34:53 fedora gnome-shell[32151]: Error looking up permission: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for geolocation
> Aug 22 01:34:53 fedora gnome-shell[32151]: Registering session with GDM
> Aug 22 01:34:56 fedora gnome-shell[32866]: Running GNOME Shell (using mutter 46.4) as a Wayland display server
> Aug 22 01:34:56 fedora gnome-shell[32866]: Made thread 'KMS thread' realtime scheduled
> Aug 22 01:34:56 fedora gnome-shell[32866]: Device '/dev/dri/card1' prefers shadow buffer
> Aug 22 01:34:56 fedora gnome-shell[32866]: Added device '/dev/dri/card1' (amdgpu) using atomic mode setting.
> Aug 22 01:34:56 fedora gnome-shell[32866]: Created gbm renderer for '/dev/dri/card1'
> Aug 22 01:34:56 fedora gnome-shell[32866]: Boot VGA GPU /dev/dri/card1 selected as primary
> Aug 22 01:34:56 fedora gnome-shell[32866]: Obtained a high priority EGL context
> Aug 22 01:34:56 fedora gnome-shell[32866]: Obtained a high priority EGL context
> Aug 22 01:34:57 fedora gnome-shell[32866]: Using public X11 display :0, (using :1 for managed services)
> Aug 22 01:34:57 fedora gnome-shell[32866]: Using Wayland display name 'wayland-0'
> Aug 22 01:34:57 fedora gnome-shell[32866]: Unset XDG_SESSION_ID, getCurrentSessionProxy() called outside a user session. Asking logind directly.
> Aug 22 01:34:57 fedora gnome-shell[32866]: Will monitor session 19
> Aug 22 01:34:57 fedora gnome-shell[32866]: Failed to create file /run/user/1000/gnome-shell-disable-extensions: Error opening file “/run/user/1000/gnome-shell-disable-extensions”: File exists
> Aug 22 01:34:57 fedora gnome-shell[32866]: Extension gsconnect@andyholmes.github.io already installed in /home/lau/.local/share/gnome-shell/extensions/gsconnect@andyholmes.github.io. /usr/share/gnome-shell/extensions/gsconnect@andyholmes.github.io will not be loaded
> Aug 22 01:34:57 fedora gnome-shell[32866]: Extension appindicatorsupport@rgcjonas.gmail.com already installed in /home/lau/.local/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com. /usr/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com will not be loaded
> Aug 22 01:34:58 fedora gnome-shell[32866]: Error looking up permission: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for geolocation
> Aug 22 01:34:58 fedora gnome-shell[32866]: Failed to create color profile from colord profile: Error opening file /var/lib/gdm/.local/share/icc/edid-5d2d37a2aaa29a10ef60c06a5756c2ed.icc: Permission denied
> Aug 22 01:34:59 fedora gnome-shell[32866]: GNOME Shell started at Thu Aug 22 2024 01:34:57 GMT-0300 (Argentina Standard Time)
> Aug 22 01:34:59 fedora gnome-shell[32866]: Registering session with GDM
> Aug 22 01:34:59 fedora gnome-shell[32151]: Shutting down GNOME Shell