Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#70117 - [gjs] 2:1.68.0-1 causes GNOME session to crash when Element and gajim are started together

Attached to Project: Arch Linux
Opened by Pascal Ernster (hardfalcon) - Sunday, 21 March 2021, 20:13 GMT
Last edited by Jan Alexander Steffens (heftig) - Wednesday, 24 March 2021, 12:57 GMT
Task Type Bug Report
Category Packages: Extra
Status Assigned
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 26
Private No

Details

gjs 2:1.68.0-1 causes the whole GNOME session to crash when Element and gajim are started together. The order in which both programs are started doesn't seem to matter, but a few seconds after the second of both (whichever it is) has been launched, the whole GNOME session crashes and I'm back at the login screen.

I'm not sure what exactly is causing this, but downgrading to gjs 2:1.66.2-1 from extra made the issue go away.
This task depends upon

Comment by Frederic Bezies (fredbezies) - Sunday, 21 March 2021, 20:32 GMT
I have the same problem when launching Qemu - using VirtManager - and another software like Discord or Quodlibet. You'll find a lot of log in this bug report: https://bugs.archlinux.org/task/70110
Comment by Pascal Ernster (hardfalcon) - Sunday, 21 March 2021, 20:45 GMT
I use gnome-shell-extension-appindicator, and the crashes don't occur anymore when I disable that specific extension using gnome-tweaks. Both Element and gajim have an appindicator/"systray" icon which will end up using that extension if it is enabled.
Comment by Pascal Ernster (hardfalcon) - Sunday, 21 March 2021, 20:46 GMT
fredbezies: VirtManager also has an appindicator icon, I don't know about Discord and Quodlibet, though.
Comment by Frederic Bezies (fredbezies) - Sunday, 21 March 2021, 21:55 GMT
They have one too. I'm using this extension: https://github.com/ubuntu/gnome-shell-extension-appindicator to have tray icons to switch easily between apps.

Having to remove this extension is not really an option for me. Anyway if this application is related to the crash, well, I will deactivate it.
Comment by Cristian C. (ckristi) - Monday, 22 March 2021, 22:31 GMT
Same happens here, and also seems related to the appindicator extension, installed from the community repo:
gnome-shell-extension-appindicator 35-1

Also, as mentioned in the original post, downgrading gjs to 1.66.2-1 works around the issue.
Comment by Varakh (Varakh) - Tuesday, 23 March 2021, 08:42 GMT
I also have the very same issue. On top of that, each time it segfaults GNOME states that GNOME Display Manager is required but I guess that's due to my startx setup.

Is this something the appindicator needs to fix?
Comment by bbo2adwuff (bbo2adwuff) - Tuesday, 23 March 2021, 09:40 GMT
2:1.68.0-2 was not an attempt to fix this issue, right?
Because here GNOME still crashes.

When I just disable all GNOME user extensions GNOME session doesn't crash anymore.
`gsettings set org.gnome.shell disable-user-extensions true`
Comment by Pascal Ernster (hardfalcon) - Tuesday, 23 March 2021, 09:43 GMT
Varakh, bbo2adwuff: Which GNOME shell extensions are you using? That info might be helpful in finding out if it's a bug in gnome-shell-extension-appindicator or a more generic problem with gjs 1.68.0.
Comment by Varakh (Varakh) - Tuesday, 23 March 2021, 09:45 GMT Comment by Pascal Ernster (hardfalcon) - Tuesday, 23 March 2021, 09:51 GMT
Can you try disabling only "appindicatorsupport@rgcjonas.gmail.com" but enabling enabling all of the other extensions, re-login into GNOME and check if that makes the crashes stop on your machine?
Comment by bbo2adwuff (bbo2adwuff) - Tuesday, 23 March 2021, 10:43 GMT Comment by Varakh (Varakh) - Tuesday, 23 March 2021, 11:17 GMT
Disabling appindicatorsupport@rgcjonas.gmail.com works for me, but as bbo2adwuff stated, maybe it's not just this extension.

Thanks for diving into this hardfalcon.

PS: I don't know, but without appindicator, no single app which uses such an icon is shown. Personally I cannot deal with that, especially apps which act like a background service need this, e.g. Nextcloud, Syncthing. Still don't know why GNOME devs are strictly against it. So for me I'll for now ignore the gjs update. :/
Comment by px (gofree) - Tuesday, 23 March 2021, 11:23 GMT Comment by Lorenzo (qwisatz) - Wednesday, 24 March 2021, 15:23 GMT
Just to confirm the bug. It's not only appindicator. I didn't downgrade to 1.66* but since I need some sort of app indicator on the tray I left enabled only Tray Icons reloaded and disabled Kstatusnotifier. Crashes *seem* to be gone...for now.
Comment by George (Vash63) - Wednesday, 24 March 2021, 17:16 GMT Comment by Pascal Ernster (hardfalcon) - Wednesday, 24 March 2021, 17:23 GMT Comment by Tim Teichmann (tauly) - Wednesday, 24 March 2021, 19:31 GMT
... and the pending merge request attempting to fix this: https://gitlab.gnome.org/GNOME/gjs/-/merge_requests/593
Comment by Mathijs van Veluw (BlackDex) - Tuesday, 30 March 2021, 08:33 GMT
I have the same issue, fixed by downgrading to 1.66 for now.

Loading...