FS#78723 - [gnome-shell] Sporadic coredumps since updating to gnome-shell 44.2

Attached to Project: Arch Linux
Opened by ehb00 (ehb00) - Tuesday, 06 June 2023, 13:40 GMT
Last edited by Toolybird (Toolybird) - Wednesday, 07 June 2023, 22:48 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Since updating to gnome-shell 44.2, gnome-shell (on X11/Nvidia) sporadically coredumps and restarts in-place.

Additional info:
Package versions: gnome-shell 1:44.2-1, xorg-server 21.1.8-1, nvidia 530.41.03-15
The coredump output from the journal can be found in the attached "journal-coredump.txt" file, along with the coredump including debugging symbols in "gdb-coredump.txt".
Reinstalling gnome-shell/gdm/mutter, new user profiles and clearing gnome config do not seem to resolve the issue.
The same issue seems to affect a couple people on Manjaro with near identical coredumps after they've updated to Gnome 44.1 (https://forum.manjaro.org/t/2023-06-05-update-broke-gnome-shell/141740) leading me to believe it may be an upstream issue.

Steps to reproduce:
The crash is very sporadic and I can't seem to deduce a solid way to reproduce the error, however the crashes usually occur when switching between virtual desktops, moving windows around and/or loading or exiting a full screen video in either firefox/jellyfin-media-player.
This task depends upon

Closed by  Toolybird (Toolybird)
Wednesday, 07 June 2023, 22:48 GMT
Reason for closing:  Upstream
Additional comments about closing:  See comments
Comment by Toolybird (Toolybird) - Tuesday, 06 June 2023, 20:15 GMT
> gnome-shell (on X11/Nvidia)

This info seems pertinent. Wayland sessions seem fine. Likely candidates:

libx11 1.8.5-1
gnome-shell 1:44.2-1
mutter 44.2-1

What happens if you downgrade libx11? You might have to report this upstream. Be sure to include the backtrace.

But please, only reply here if you're on genuine Arch.
Comment by ehb00 (ehb00) - Tuesday, 06 June 2023, 21:52 GMT
Just to confirm I am running genuine Arch.

Downgrading to libx11 1.8.4-1 (with gnome-shell/mutter 44-2) didn't seem to make much difference and I was still able to induce two crashes within a couple minutes, however libx11 1.8.3-6 (again with gnome-shell/mutter 44-2) seems stable so far after trying the same things that caused a crash as before.

If this is an upstream issue, would it be reported to the gnome-shell or xorg upstream repo?

EDIT: Apologies I spoke too soon, gnome-shell still crashes (in the same manner) with libx11 1.8.3-6 but took a much longer time to do so.
Comment by Toolybird (Toolybird) - Tuesday, 06 June 2023, 22:17 GMT
> Downgrading to libx11

Ok, it was worth a shot. It must then be in gnome-shell/mutter. Seeing as it's the gnome-shell bin crashing, logically it should be reported there.
Comment by ehb00 (ehb00) - Tuesday, 06 June 2023, 22:47 GMT
Thanks for the help!

Opened an upstream bug report: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6742
Comment by Toolybird (Toolybird) - Wednesday, 07 June 2023, 22:48 GMT
So it turns out affected users failed to mention they are running apps that manipulate DPMS like "caffeine-ng". Workaround: don't do that :)

New upstream issue here [1] but it appears to require significant rework by upstream. Definitely not an Arch packaging problem.

[1] https://gitlab.gnome.org/GNOME/mutter/-/issues/2857

Loading...