Subject: Bug#1025172: gnome-shell: crash when moving window to another monitor

From: Julien Cristau <[email-masked]>
Date: Wed, 30 Nov 2022 18:21:40 +0100

Package: gnome-shell
Version: 43.1-2
Severity: important
X-Debbugs-Cc: [email-masked]

Hi,

I've been seeing this for a few weeks, it happens when I try to move a
window from one monitor to the other.

Bits of log from today:

Nov 30 15:48:54 carotte gnome-shell[488815]: Object .Gjs_ui_windowPreview_WindowPreview (0x5638f1b45bc0), has been already disposed — impossible to access it. This might be caused by the object having been dest>
Nov 30 15:48:54 carotte gnome-shell[488815]: == Stack trace for context 0x5638edbea7b0 ==
Nov 30 15:48:54 carotte gnome-shell[488815]: #0   5638f1d81560 i   resource:///org/gnome/shell/ui/windowPreview.js:645 (1ac9a09c4150 @ 195)
Nov 30 15:48:54 carotte gnome-shell[488815]: #1   7ffe8e416ab0 b   resource:///org/gnome/shell/ui/windowPreview.js:353 (1ac9a09c2880 @ 62)
Nov 30 15:48:54 carotte gnome-shell[488815]: #2   5638f1d814d0 i   resource:///org/gnome/shell/ui/windowPreview.js:591 (1ac9a09c2fb0 @ 75)
Nov 30 15:48:54 carotte gnome-shell[488815]: #3   5638f1d81440 i   resource:///org/gnome/shell/ui/workspace.js:1355 (1ac9a09c1f60 @ 94)
Nov 30 15:48:54 carotte gnome-shell[488815]: #4   5638f1d81358 i   resource:///org/gnome/shell/ui/windowPreview.js:345 (1ac9a09c27e0 @ 822)
Nov 30 15:48:54 carotte gnome-shell[488815]: #5   5638f1d812c8 i   resource:///org/gnome/shell/ui/windowPreview.js:551 (1ac9a09c2e70 @ 18)
Nov 30 15:48:54 carotte gnome-shell[488815]: clutter_actor_set_child_above_sibling: assertion 'sibling->priv->parent == self' failed
Nov 30 15:48:59 carotte gnome-shell[488815]: **
Nov 30 15:48:59 carotte gnome-shell[488815]: libmutter:ERROR:../src/core/window.c:5156:meta_window_set_focused_internal: assertion failed: (link)
Nov 30 15:48:59 carotte gnome-shell[488815]: Bail out! libmutter:ERROR:../src/core/window.c:5156:meta_window_set_focused_internal: assertion failed: (link)
Nov 30 15:48:59 carotte gnome-shell[488815]: == Stack trace for context 0x5638edbea7b0 ==
Nov 30 15:48:59 carotte gnome-shell[488815]: #0   7ffe8e416c90 b   resource:///org/gnome/shell/ui/main.js:658 (198ec19bf8d0 @ 371)
Nov 30 15:48:59 carotte gnome-shell[488815]: #1   5638f1d81500 i   resource:///org/gnome/shell/ui/dnd.js:211 (198ec19e3ab0 @ 61)
Nov 30 15:48:59 carotte gnome-shell[488815]: #2   5638f1d81468 i   resource:///org/gnome/shell/ui/dnd.js:785 (198ec19fd290 @ 93)
Nov 30 15:48:59 carotte gnome-shell[488815]: #3   5638f1d813d8 i   resource:///org/gnome/shell/ui/dnd.js:755 (198ec19fd1f0 @ 73)
Nov 30 15:48:59 carotte gnome-shell[488815]: #4   5638f1d81358 i   resource:///org/gnome/shell/ui/dnd.js:420 (198ec19e3c90 @ 12)
Nov 30 15:48:59 carotte gnome-shell[488815]: #5   7ffe8e4181e0 b   resource:///org/gnome/shell/ui/workspace.js:1143 (1ac9a09c17e0 @ 75)
Nov 30 15:48:59 carotte gnome-shell[488815]: #6   5638f1d812c8 i   resource:///org/gnome/shell/ui/workspace.js:1259 (1ac9a09c1ab0 @ 20)
Nov 30 15:48:59 carotte gnome-shell[488815]: #7   7ffe8e418ca0 b   self-hosted:1121 (198ec197eec0 @ 463)
Nov 30 15:48:59 carotte gnome-shell[495852]: (EE) failed to read Wayland events: Broken pipe
Nov 30 15:48:59 carotte firefox-bin[490666]: Error reading events from display: Connection reset by peer
Nov 30 15:48:59 carotte gnome-terminal-[491509]: Error reading events from display: Broken pipe
Nov 30 15:48:59 carotte gsd-color[489171]: Error reading events from display: Broken pipe
Nov 30 15:48:59 carotte gsd-wacom[489199]: Error reading events from display: Broken pipe
Nov 30 15:48:59 carotte gsd-power[489186]: Error reading events from display: Broken pipe
Nov 30 15:48:59 carotte gsd-keyboard[489180]: Error reading events from display: Broken pipe
Nov 30 15:48:59 carotte xdg-desktop-por[489449]: Error reading events from display: Broken pipe
Nov 30 15:48:59 carotte gnome-calendar[490374]: Error reading events from display: Broken pipe
Nov 30 15:48:59 carotte gsd-media-keys[489183]: Error reading events from display: Broken pipe
Nov 30 15:48:59 carotte systemd[1650]: [email-masked]: Main process exited, code=killed, status=6/ABRT
[...]

Cheers,
Julien

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing-debug
  APT policy: (600, 'testing-debug'), (600, 'testing'), (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'stable-security'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.0.0-4-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gnome-shell depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.40.0-3
ii  gir1.2-accountsservice-1.0                   22.08.8-1+b1
ii  gir1.2-adw-1                                 1.2.0-1
ii  gir1.2-atk-1.0                               2.46.0-4
ii  gir1.2-atspi-2.0                             2.46.0-4
ii  gir1.2-freedesktop                           1.74.0-2
ii  gir1.2-gcr-3                                 3.41.1-1+b1
ii  gir1.2-gdesktopenums-3.0                     43.0-1
ii  gir1.2-gdkpixbuf-2.0                         2.42.10+dfsg-1
ii  gir1.2-gdm-1.0                               43.0-1
ii  gir1.2-geoclue-2.0                           2.6.0-2
ii  gir1.2-glib-2.0                              1.74.0-2
ii  gir1.2-gnomebluetooth-3.0                    42.4-1
ii  gir1.2-gnomedesktop-3.0                      43-2
ii  gir1.2-graphene-1.0                          1.10.8-1
ii  gir1.2-gstreamer-1.0                         1.20.4-1
ii  gir1.2-gtk-3.0                               3.24.34-5
ii  gir1.2-gtk-4.0                               4.8.2+ds-3
ii  gir1.2-gweather-4.0                          4.2.0-1
ii  gir1.2-ibus-1.0                              1.5.27-4
ii  gir1.2-mutter-11                             43.0-2
ii  gir1.2-nm-1.0                                1.40.2-1
ii  gir1.2-nma-1.0                               1.10.4-1
ii  gir1.2-pango-1.0                             1.50.10+ds-1
ii  gir1.2-polkit-1.0                            122-1
ii  gir1.2-rsvg-2.0                              2.54.5+dfsg-1
ii  gir1.2-soup-3.0                              3.2.1-2
ii  gir1.2-upowerglib-1.0                        0.99.20-1+b1
ii  gir1.2-webkit2-4.1                           2.38.2-1+b1
ii  gnome-backgrounds                            43-1
ii  gnome-settings-daemon                        43.0-3
ii  gnome-shell-common                           43.1-2
ii  gsettings-desktop-schemas                    43.0-1
ii  gstreamer1.0-pipewire                        0.3.60-2
ii  libatk-bridge2.0-0                           2.46.0-4
ii  libatk1.0-0                                  2.46.0-4
ii  libc6                                        2.36-5
ii  libcairo2                                    1.16.0-6
ii  libecal-2.0-2                                3.46.1-1+b1
ii  libedataserver-1.2-27                        3.46.1-1+b1
ii  libgcr-base-3-1                              3.41.1-1+b1
ii  libgdk-pixbuf-2.0-0                          2.42.10+dfsg-1
ii  libgirepository-1.0-1                        1.74.0-2
ii  libgjs0g                                     1.74.1-1
ii  libgles2                                     1.5.0-1
ii  libglib2.0-0                                 2.74.1-2
ii  libglib2.0-bin                               2.74.1-2
ii  libgnome-autoar-0-0                          0.4.3-1
ii  libgnome-desktop-3-20                        43-2
ii  libgraphene-1.0-0                            1.10.8-1
ii  libgtk-3-0                                   3.24.34-5
ii  libgtk-4-1                                   4.8.2+ds-3
ii  libical3                                     3.0.16-1+b1
ii  libjson-glib-1.0-0                           1.6.6-1
ii  libmutter-11-0                               43.0-2
ii  libnm0                                       1.40.2-1
ii  libpango-1.0-0                               1.50.10+ds-1
ii  libpangocairo-1.0-0                          1.50.10+ds-1
ii  libpolkit-agent-1-0                          122-1
ii  libpolkit-gobject-1-0                        122-1
ii  libpulse-mainloop-glib0                      16.1+dfsg1-2+b1
ii  libpulse0                                    16.1+dfsg1-2+b1
ii  libsecret-1-0                                0.20.5-3
ii  libsystemd0                                  252.1-1
ii  libwayland-server0                           1.21.0-1
ii  libx11-6                                     2:1.8.1-2
ii  libxfixes3                                   1:6.0.0-2
ii  python3                                      3.10.6-1

Versions of packages gnome-shell recommends:
ii  bolt                   0.9.3-1
ii  chrome-gnome-shell     10.1-5
ii  evolution-data-server  3.46.1-1+b1
ii  gdm3                   43.0-1
ii  gkbd-capplet           3.28.1-1
ii  gnome-control-center   1:43.0-2
ii  gnome-menus            3.36.0-1
ii  gnome-remote-desktop   43.1-1
ii  gnome-user-docs        43.0-1
ii  ibus                   1.5.27-4
ii  iio-sensor-proxy       3.0-2
ii  power-profiles-daemon  0.12-1+b1
ii  switcheroo-control     2.6-1+b1
ii  unzip                  6.0-27

Versions of packages gnome-shell suggests:
ii  gir1.2-malcontent-0          0.11.0-3
pn  gir1.2-telepathyglib-0.12    <none>
pn  gir1.2-telepathylogger-0.2   <none>
ii  gnome-shell-extension-prefs  43.1-2

Versions of packages gnome-session depends on:
ii  gnome-session-bin                                      43.0-1
ii  gnome-session-common                                   43.0-1
ii  gnome-settings-daemon                                  43.0-3
ii  xdg-desktop-portal-gnome [xdg-desktop-portal-backend]  43.1-1
ii  xdg-desktop-portal-gtk [xdg-desktop-portal-backend]    1.14.0-1

Versions of packages gnome-session suggests:
ii  desktop-base   11.0.3
ii  gnome-keyring  42.1-1+b1

Versions of packages gnome-settings-daemon depends on:
ii  gnome-settings-daemon-common  43.0-3
ii  gsettings-desktop-schemas     43.0-1
ii  libasound2                    1.2.7.2-1
ii  libc6                         2.36-5
ii  libcairo2                     1.16.0-6
ii  libcanberra-gtk3-0            0.30-10
ii  libcanberra0                  0.30-10
ii  libcolord2                    1.4.6-1
ii  libcups2                      2.4.2-1+b2
ii  libfontconfig1                2.13.1-4.5
ii  libgcr-base-3-1               3.41.1-1+b1
ii  libgdk-pixbuf-2.0-0           2.42.10+dfsg-1
ii  libgeoclue-2-0                2.6.0-2
ii  libgeocode-glib-2-0           3.26.3-3
ii  libglib2.0-0                  2.74.1-2
ii  libgnome-desktop-3-20         43-2
ii  libgtk-3-0                    3.24.34-5
ii  libgudev-1.0-0                237-2
ii  libgweather-4-0               4.2.0-1
ii  libmm-glib0                   1.20.0-1
ii  libnm0                        1.40.2-1
ii  libnotify4                    0.8.1-1
ii  libnspr4                      2:4.35-1
ii  libnss3                       2:3.85-1
ii  libpam-systemd [logind]       252.1-1
ii  libpango-1.0-0                1.50.10+ds-1
ii  libpangocairo-1.0-0           1.50.10+ds-1
ii  libpolkit-gobject-1-0         122-1
ii  libpulse-mainloop-glib0       16.1+dfsg1-2+b1
ii  libpulse0                     16.1+dfsg1-2+b1
ii  libspa-0.2-bluetooth          0.3.60-2
ii  libupower-glib3               0.99.20-1+b1
ii  libwacom9                     2.5.0-1
ii  libwayland-client0            1.21.0-1
ii  libx11-6                      2:1.8.1-2
ii  libxext6                      2:1.3.4-1+b1
ii  libxfixes3                    1:6.0.0-2
ii  libxi6                        2:1.8-1+b1
ii  pipewire-pulse                0.3.60-2
ii  pulseaudio                    16.1+dfsg1-2+b1
ii  pulseaudio-module-bluetooth   16.1+dfsg1-2+b1
ii  wireplumber                   0.4.12-1+b1

Versions of packages gnome-settings-daemon recommends:
ii  iio-sensor-proxy      3.0-2
ii  libspa-0.2-bluetooth  0.3.60-2
ii  pipewire-pulse        0.3.60-2
ii  pkexec                122-1
ii  wireplumber           0.4.12-1+b1
ii  x11-xserver-utils     7.7+9+b1

Versions of packages gnome-settings-daemon suggests:
pn  usbguard  <none>

Versions of packages libgjs0g depends on:
ii  libc6                                                       2.36-5
ii  libcairo-gobject2                                           1.16.0-6
ii  libcairo2                                                   1.16.0-6
ii  libffi8                                                     3.4.4-1
ii  libgcc-s1                                                   12.2.0-9
ii  libgirepository-1.0-1 [libgirepository-1.0-1-with-libffi8]  1.74.0-2
ii  libglib2.0-0                                                2.74.1-2
ii  libmozjs-102-0                                              102.5.0-1
ii  libreadline8                                                8.2-1.1
ii  libstdc++6                                                  12.2.0-9
ii  libx11-6                                                    2:1.8.1-2

Versions of packages libmutter-11-0 depends on:
ii  adwaita-icon-theme         43-1
ii  gsettings-desktop-schemas  43.0-1
ii  libatk1.0-0                2.46.0-4
ii  libc6                      2.36-5
ii  libcairo-gobject2          1.16.0-6
ii  libcairo2                  1.16.0-6
ii  libcanberra0               0.30-10
ii  libcolord2                 1.4.6-1
ii  libdrm2                    2.4.114-1
ii  libegl1                    1.5.0-1
ii  libfontconfig1             2.13.1-4.5
ii  libfribidi0                1.0.8-2.1
ii  libgbm1                    22.2.0-1
ii  libgdk-pixbuf-2.0-0        2.42.10+dfsg-1
ii  libgl1                     1.5.0-1
ii  libglib2.0-0               2.74.1-2
ii  libgnome-desktop-3-20      43-2
ii  libgraphene-1.0-0          1.10.8-1
ii  libgtk-3-0                 3.24.34-5
ii  libgudev-1.0-0             237-2
ii  libice6                    2:1.0.10-1
ii  libinput10                 1.21.0-1
ii  libjson-glib-1.0-0         1.6.6-1
ii  liblcms2-2                 2.13.1-1+b1
ii  libpango-1.0-0             1.50.10+ds-1
ii  libpangocairo-1.0-0        1.50.10+ds-1
ii  libpangoft2-1.0-0          1.50.10+ds-1
ii  libpipewire-0.3-0          0.3.60-2
ii  libsm6                     2:1.2.3-1
ii  libstartup-notification0   0.12-6+b1
ii  libsystemd0                252.1-1
ii  libudev1                   252.1-1
ii  libwacom9                  2.5.0-1
ii  libwayland-server0         1.21.0-1
ii  libx11-6                   2:1.8.1-2
ii  libx11-xcb1                2:1.8.1-2
ii  libxau6                    1:1.0.9-1
ii  libxcb-randr0              1.15-1
ii  libxcb-res0                1.15-1
ii  libxcb1                    1.15-1
ii  libxcomposite1             1:0.4.5-1
ii  libxcursor1                1:1.2.1-1
ii  libxdamage1                1:1.1.5-2
ii  libxext6                   2:1.3.4-1+b1
ii  libxfixes3                 1:6.0.0-2
ii  libxi6                     2:1.8-1+b1
ii  libxinerama1               2:1.1.4-3
ii  libxkbcommon-x11-0         1.4.1-1
ii  libxkbcommon0              1.4.1-1
ii  libxkbfile1                1:1.1.0-1
ii  libxrandr2                 2:1.5.2-2+b1
ii  libxtst6                   2:1.2.3-1.1
ii  mutter-common              43.0-2

Versions of packages gnome-shell is related to:
ii  libegl-mesa0 [libegl-vendor]  22.2.0-1
ii  libgl1-mesa-dri               22.2.0-1
ii  libglx-mesa0 [libglx-vendor]  22.2.0-1

-- no debconf information