Bug#1010478: libmutter-10-0: gnome-shell crash to gdm after suspend, libmutter segfault. After relogin monitors.xml is ignored

2023-06-06 Thread Simon McVittie
Control: tags -1 + moreinfo

On Mon, 02 May 2022 at 11:55:42 +, Krassy Boykinov wrote:
> gnome-shell crashes with a segfault in libmutter after suspend, only
> reproducible when connected to a Lenovo ThinkPad Thunderbolt Dock Gen. 1
> with two external monitors.
> After re-login with gdm the monitors are arranged in a straight line
> (default configuration), monitors.xml is ignored. Some similarity to Bug
> #927275.

On Thu, 27 Apr 2023 at 15:52:42 +0200, Ryan wrote:
> This is probably related to this issue / fix that has just been made against
> gnome 44:
> 
> https://gitlab.gnome.org/GNOME/mutter/-/issues/2570
> 
> https://gitlab.gnome.org/salmanmlk/mutter/-/commit/f39416f45e5f8c46755abb24684a1aeea1b708df

mutter#2570 was reported to Debian as .

The crash that Krassy Boykinov reported as #1010478 doesn't look like
mutter#2570 to me: the kernel message says the segfault was inside
libmutter, whereas in mutter#2570, the segfault seems to be inside
libwayland-server. We should try to keep to one bug per Debian bug number,
otherwise it becomes increasingly difficult to fix anything.

A backtrace from the crash would be very useful information for this or any
other crash. Please see :
usually the easiest way is to use the systemd-coredump package, as described
in .

Ryan: If you are experiencing a crash that closely resembles mutter#2570,
then that's in-scope for #1036268 but out-of-scope for #1010478.
Please see  for more information,
including prerelease packages containing a backport of the upstream fix.
Or, if your backtrace does not resemble mutter#2570, please report it as a
separate bug.

Krassy Boykinov: Is this crash that you reported against gnome-shell/mutter
version 42 still happening in version 43.x? If not, we can close the bug.
If it's still happening, a backtrace would be very useful (we're unlikely
to be able to fix it without that information).

Thanks,
smcv



Bug#1010478: libmutter-10-0: gnome-shell crash to gdm after suspend, libmutter segfault. After relogin monitors.xml is ignored

2022-05-02 Thread Krassy Boykinov

Package: libmutter-10-0
Version: 42.0-4
Severity: important

gnome-shell crashes with a segfault in libmutter after suspend, only 
reproducible when connected to a Lenovo ThinkPad Thunderbolt Dock Gen. 1 
with two external monitors.
After re-login with gdm the monitors are arranged in a straight line 
(default configuration), monitors.xml is ignored. Some similarity to Bug 
#927275.


Syslog lines:
May  2 13:03:41 machine kernel: [ 1595.548042] gnome-shell[2795]: 
segfault at 20 ip 7f2581507160 sp 7fff7b47f188 error 4 in 
libmutter-10.so.0.0.0[7f2581408000+14d000]
May  2 13:03:41 machine kernel: [ 1595.548052] Code: 06 71 f0 ff 48 
8b 3d 27 89 0f 00 be 50 00 00 00 e8 05 ac f0 ff 48 89 ef 5d 48 8b 40 30 
ff e0 66 66 2e 0f 1f 84 00 00 00 00 00 <48> 8b 7f 20 e9 e7 5f f0 ff 0f 
1f 80 00 00 00 00 48 8b 47 18 48 85


Debian bookworm runs on a ThinkPad T470.


-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.17.0-1-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE 
not set

Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libmutter-10-0 depends on:
ii  adwaita-icon-theme 42.0-2
ii  gsettings-desktop-schemas  42.0-1
ii  libatk1.0-02.38.0-1
ii  libc6  2.33-7
ii  libcairo-gobject2  1.16.0-5
ii  libcairo2  1.16.0-5
ii  libcanberra0   0.30-10
ii  libdrm22.4.110-1
ii  libegl11.4.0-1
ii  libfontconfig1 2.13.1-4.4
ii  libfribidi01.0.8-2.1
ii  libgbm121.3.8-1
ii  libgdk-pixbuf-2.0-02.42.8+dfsg-1
ii  libgl1 1.4.0-1
ii  libglib2.0-0   2.72.1-1
ii  libgnome-desktop-3-19  42.0-2
ii  libgraphene-1.0-0  1.10.8-1
ii  libgtk-3-0 3.24.33-1
ii  libgudev-1.0-0 237-2
ii  libice62:1.0.10-1
ii  libinput10 1.20.1-1
ii  libjson-glib-1.0-0 1.6.6-1
ii  libpango-1.0-0 1.50.6+ds-2
ii  libpangocairo-1.0-01.50.6+ds-2
ii  libpangoft2-1.0-0  1.50.6+ds-2
ii  libpipewire-0.3-0  0.3.50-2
ii  libsm6 2:1.2.3-1
ii  libstartup-notification0   0.12-6+b1
ii  libsystemd0250.4-1
ii  libudev1   250.4-1
ii  libwacom9  2.2.0-1
ii  libwayland-server0 1.20.0-1
ii  libx11-6   2:1.7.5-1
ii  libx11-xcb12:1.7.5-1
ii  libxau61:1.0.9-1
ii  libxcb-randr0  1.14-3
ii  libxcb-res01.14-3
ii  libxcb11.14-3
ii  libxcomposite1 1:0.4.5-1
ii  libxcursor11:1.2.0-2
ii  libxdamage11:1.1.5-2
ii  libxext6   2:1.3.4-1
ii  libxfixes3 1:6.0.0-1
ii  libxi6 2:1.8-1
ii  libxinerama1   2:1.1.4-3
ii  libxkbcommon-x11-0 1.4.0-1
ii  libxkbcommon0  1.4.0-1
ii  libxkbfile11:1.1.0-1
ii  libxrandr2 2:1.5.2-2+b1
ii  libxtst6   2:1.2.3-1
ii  mutter-common  42.0-4

libmutter-10-0 recommends no packages.

libmutter-10-0 suggests no packages.

Versions of packages libmutter-10-0 is related to:
ii  libegl-mesa0 [libegl-vendor]  21.3.8-1
ii  libgl1-mesa-dri   21.3.8-1
ii  libglx-mesa0 [libglx-vendor]  21.3.8-1

-- no debconf information

*** /tmp/crashlog.txt
May  2 12:41:27 machine kernel: [ 1588.567419] PM: suspend entry (deep)

May  2 13:03:40 machine kernel: [ 1588.575546] Filesystems sync: 0.008 
seconds


May  2 13:03:40 machine kernel: [ 1588.575738] (NULL device *): 
firmware: direct-loading firmware regulatory.db


May  2 13:03:40 machine kernel: [ 1588.575756] (NULL device *): 
firmware: direct-loading firmware regulatory.db.p7s


May  2 13:03:40 machine kernel: [ 1588.576338] (NULL device *): 
firmware: direct-loading firmware iwlwifi-8265-36.ucode


May  2 13:03:40 machine kernel: [ 1588.576536] Freezing user space 
processes ... (elapsed 0.002 seconds) done.


May  2 13:03:40 machine kernel: [ 1588.578783] OOM killer disabled.

May  2 13:03:40 machine kernel: [ 1588.578784] Freezing remaining 
freezable tasks ... (elapsed 0.001 seconds) done.


May  2 13:03:40 machine kernel: [ 1588.580101] printk: Suspending 
console(s) (use no_console_suspend to debug)


May  2 13:03:40 machine kernel: [ 1588.611168] ipheth 7-2:4.2: Apple 
iPhone USB Ethernet now disconnected


May  2 13:03:40 machine kernel: [ 1588.780250] e1000e: EEE TX LPI TIMER: 
0011


May  2 13:03:40 machine kernel: [ 1589.065205] ACPI: EC: interrupt blocked

May  2 13:03:40 machine kernel: [ 1589.119294] ACPI: PM: Preparing to 
enter system sleep state S3


May  2 13:03:40 machine