Bug#1050512: gnome-shell: Crash when viewing video with mpv

Marc Glisse marc.glisse at normalesup.org
Fri Aug 25 15:55:45 BST 2023


Package: gnome-shell
Version: 44.3-5
Severity: important

Dear Maintainer,

when I play a video with mpv, after a bit of time (usually less than a minute),
I get a gray screen telling me that gnome shell has crashed and I need to log
out. Funny thing: if I press the windows key, I see all the windows in small
size, and the video is actually still playing. But as soon as I leave the
overview, the grey screen comes back. This is quite reproducible, I've had it 4
times today already with different videos.  This system is up-to-date
"testing", and the problem is recent (most likely the mutter/gnome-shell
updates from today).

You can find a more complete backtrace at
https://geometrica.saclay.inria.fr/team/Marc.Glisse/tmp/gnome-shell-0 ,
I am only pasting the basic one here

Thread 1 "gnome-shell" received signal SIGTRAP, Trace/breakpoint trap.
g_log_structured_array (log_level=<optimized out>, fields=0x7ffd87953a60, n_fields=4) at ../../../glib/gmessages.c:555
                                                                                                                                                                                                                                                                                                                                                                                                      Download failed: Invalid argument.  Continuing without source file ./debian/build/deb/../../../glib/gmessages.c.
555	../../../glib/gmessages.c: No such file or directory.
(gdb) bt
#0  g_log_structured_array (log_level=<optimized out>, fields=0x7ffd87953a60, n_fields=4) at ../../../glib/gmessages.c:555
#1  0x00007fe19fd36a8e in g_log_default_handler (log_domain=log_domain at entry=0x7fe19f99e48f "libmutter", log_level=log_level at entry=6, message=message at entry=0x561f847d66f0 "Received an X Window System error.\nThis probably reflects a bug in the program.\nThe error was 'BadMatch (invalid parameter attributes)'.\n  (Details: serial 149487 error_code 8 request_code 147 (unknow"..., unused_data=unused_data at entry=0x0) at ../../../glib/gmessages.c:3284
#2  0x00007fe19fd36d00 in g_logv (log_domain=0x7fe19f99e48f "libmutter", log_level=G_LOG_LEVEL_ERROR, format=<optimized out>, args=args at entry=0x7ffd87953bb0) at ../../../glib/gmessages.c:1391
#3  0x00007fe19fd36faf in g_log (log_domain=log_domain at entry=0x7fe19f99e48f "libmutter", log_level=log_level at entry=G_LOG_LEVEL_ERROR, format=format at entry=0x7fe19f9bc010 "Received an X Window System error.\nThis probably reflects a bug in the program.\nThe error was '%s'.\n  (Details: serial %ld error_code %d request_code %d (%s) minor_code %d)\n  (Note to programmers: nor"...) at ../../../glib/gmessages.c:1460
#4  0x00007fe19f916ffe in display_error_event (error=0x7ffd87953d30, x11_display=0x561f82ef19a0 [MetaX11Display]) at ../src/x11/meta-x11-errors.c:113
#5  meta_x_error (xdisplay=<optimized out>, error=0x7ffd87953d30) at ../src/x11/meta-x11-errors.c:136
#6  meta_x_error (xdisplay=<optimized out>, error=0x7ffd87953d30) at ../src/x11/meta-x11-errors.c:132
#7  0x00007fe19f2dd99b in _XError (dpy=dpy at entry=0x561f82268200, rep=rep at entry=0x7fe18808a0f0) at ../../src/XlibInt.c:1503
#8  0x00007fe19f2da607 in handle_error (dpy=0x561f82268200, err=0x7fe18808a0f0, in_XReply=<optimized out>) at ../../src/xcb_io.c:211
#9  0x00007fe19f2da6a5 in handle_response (dpy=dpy at entry=0x561f82268200, response=0x7fe18808a0f0, in_XReply=in_XReply at entry=0) at ../../src/xcb_io.c:403
#10 0x00007fe19f2db152 in _XEventsQueued (dpy=dpy at entry=0x561f82268200, mode=mode at entry=2) at ../../src/xcb_io.c:442
#11 0x00007fe19f2cc817 in XPending (dpy=0x561f82268200) at ../../src/Pending.c:55
#12 0x00007fe19fd2dec8 in g_main_context_check_unlocked (context=context at entry=0x561f821b58b0, max_priority=<optimized out>, max_priority at entry=2147483647, fds=fds at entry=0x561f90579290, n_fds=n_fds at entry=11) at ../../../glib/gmain.c:4171
#13 0x00007fe19fd2e51b in g_main_context_iterate_unlocked (context=0x561f821b58b0, block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at ../../../glib/gmain.c:4346
#14 0x00007fe19fd2eebf in g_main_loop_run (loop=0x561f845069a0) at ../../../glib/gmain.c:4551
#15 0x00007fe19f8d71a5 in meta_context_run_main_loop (context=context at entry=0x561f821b3c80 [MetaContextMain], error=error at entry=0x7ffd87954020) at ../src/core/meta-context.c:482
#16 0x0000561f81aeb99f in main (argc=<optimized out>, argv=<optimized out>) at ../src/main.c:683


In case it matters, on one of the videos, mpv shows

 (+) Video --vid=1 (*) (h264 1280x720 29.706fps)
 (+) Audio --aid=1 (*) (aac 2ch 44100Hz)
AO: [pipewire] 44100Hz stereo 2ch floatp
VO: [gpu] 1280x720 yuv420p


I have a nvidia gpu with the proprietary driver packaged by Debian.
I don't see anything relevant in Xorg.*.log*
dmesg shows for each crash something like

[25284.801604] rfkill: input handler enabled
[25284.877204] gnome-shell[25306]: segfault at 28 ip 00007f5bba4f5f14 sp 00007ffd36235540 error 4 in libmutter-clutter-12.so.0.0.0[7f5bba489000+8d000] likely on CPU 8 (core 0, socket 0)
[25284.877213] Code: 72 e1 03 00 48 8d 3d 4e 34 02 00 e8 e6 62 f9 ff 31 c0 eb 9c 66 90 41 56 41 55 49 89 cd 41 54 49 89 f4 55 48 89 d5 53 48 89 fb <4c> 8b 77 28 e8 d3 64 f9 ff 48 89 c6 48 8b 03 48 85 c0 74 05 48 39

(the rfkill line is probably a coincidence, there are identical lines
far from the crashes, but since there is one not long before each crash,
I am including it here)

Is there some other log you need to see?

-- System Information:
Debian Release: trixie/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'testing'), (500, 'stable'), (50, 'unstable-debug'), (50, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.4.0-3-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
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-4
ii  gir1.2-accountsservice-1.0                   22.08.8-6
ii  gir1.2-adw-1                                 1.3.4-1
ii  gir1.2-atk-1.0                               2.48.3-1
ii  gir1.2-atspi-2.0                             2.48.3-1
ii  gir1.2-freedesktop                           1.76.1-5
ii  gir1.2-gcr-3                                 3.41.1-3
ii  gir1.2-gdesktopenums-3.0                     44.0-2
ii  gir1.2-gdkpixbuf-2.0                         2.42.10+dfsg-1+b1
ii  gir1.2-gdm-1.0                               44.1-2
ii  gir1.2-geoclue-2.0                           2.7.0-3
ii  gir1.2-glib-2.0                              1.76.1-5
ii  gir1.2-gnomebg-4.0                           44.0-2
ii  gir1.2-gnomebluetooth-3.0                    42.6-1
ii  gir1.2-gnomedesktop-4.0                      44.0-2
ii  gir1.2-graphene-1.0                          1.10.8-1
ii  gir1.2-gstreamer-1.0                         1.22.5-1
ii  gir1.2-gtk-4.0                               4.10.5+ds-3
ii  gir1.2-gweather-4.0                          4.3.2-1
ii  gir1.2-ibus-1.0                              1.5.29~beta2-1
ii  gir1.2-mutter-12                             44.3-7
ii  gir1.2-nm-1.0                                1.44.0-1
ii  gir1.2-nma4-1.0                              1.10.6-1
ii  gir1.2-pango-1.0                             1.51.0+ds-2
ii  gir1.2-polkit-1.0                            123-1
ii  gir1.2-rsvg-2.0                              2.54.7+dfsg-2
ii  gir1.2-soup-3.0                              3.4.2-4
ii  gir1.2-upowerglib-1.0                        0.99.20-2
ii  gir1.2-webkit2-4.1                           2.40.5-1
ii  gnome-backgrounds                            44.0-2
ii  gnome-settings-daemon                        45~beta-1
ii  gnome-shell-common                           44.3-5
ii  gsettings-desktop-schemas                    44.0-2
ii  gstreamer1.0-pipewire                        0.3.78-1
ii  libatk-bridge2.0-0                           2.48.3-1
ii  libatk1.0-0                                  2.48.3-1
ii  libc6                                        2.37-7
ii  libcairo2                                    1.16.0-7
ii  libecal-2.0-2                                3.49.2-4
ii  libedataserver-1.2-27                        3.49.2-4
ii  libgcr-base-3-1                              3.41.1-3
ii  libgdk-pixbuf-2.0-0                          2.42.10+dfsg-1+b1
ii  libgirepository-1.0-1                        1.76.1-5
ii  libgjs0g                                     1.76.2-4
ii  libgles2                                     1.6.0-1
ii  libglib2.0-0                                 2.77.2-1
ii  libglib2.0-bin                               2.77.2-1
ii  libgnome-autoar-0-0                          0.4.4-2
ii  libgnome-desktop-4-2                         44.0-2
ii  libgraphene-1.0-0                            1.10.8-1
ii  libgtk-3-0                                   3.24.38-2
ii  libgtk-4-1                                   4.10.5+ds-3
ii  libical3                                     3.0.16-1+b1
ii  libjson-glib-1.0-0                           1.6.6-1
ii  libmutter-12-0                               44.3-7
ii  libnm0                                       1.44.0-1
ii  libpango-1.0-0                               1.51.0+ds-2
ii  libpolkit-agent-1-0                          123-1
ii  libpolkit-gobject-1-0                        123-1
ii  libpulse-mainloop-glib0                      16.1+dfsg1-2+b1
ii  libpulse0                                    16.1+dfsg1-2+b1
ii  libsecret-1-0                                0.21.0-1
ii  libsystemd0                                  254.1-2
ii  libx11-6                                     2:1.8.6-1
ii  libxfixes3                                   1:6.0.0-2
ii  python3                                      3.11.4-5+b1

Versions of packages gnome-shell recommends:
ii  bolt                   0.9.5-1
ii  chrome-gnome-shell     42.1-4
ii  evolution-data-server  3.49.2-4
ii  gdm3                   44.1-2
ii  gkbd-capplet           3.28.1-1
ii  gnome-control-center   1:44.3-3
ii  gnome-menus            3.36.0-1.1
ii  gnome-remote-desktop   44.2-6
ii  gnome-user-docs        44.3-2
ii  ibus                   1.5.29~beta2-1
ii  iio-sensor-proxy       3.5-1
ii  power-profiles-daemon  0.13-2
ii  switcheroo-control     2.6-1+b1
ii  unzip                  6.0-28

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

Versions of packages gnome-session depends on:
ii  adwaita-icon-theme [adwaita-icon-theme-full]           43-1
ii  fonts-cantarell                                        0.303.1-1
ii  gnome-session-bin                                      44.0-2
ii  gnome-session-common                                   44.0-2
ii  gnome-settings-daemon                                  45~beta-1
ii  xdg-desktop-portal-gnome [xdg-desktop-portal-backend]  43.1-2
ii  xdg-desktop-portal-gtk [xdg-desktop-portal-backend]    1.14.1-1

Versions of packages gnome-session suggests:
ii  desktop-base   12.0.6+nmu1
ii  gnome-keyring  42.1-1+b2

Versions of packages gnome-settings-daemon depends on:
ii  gnome-settings-daemon-common  45~beta-1
ii  gsettings-desktop-schemas     44.0-2
ii  libasound2                    1.2.9-1
ii  libc6                         2.37-7
ii  libcairo2                     1.16.0-7
ii  libcanberra-gtk3-0            0.30-10
ii  libcanberra0                  0.30-10
ii  libcolord2                    1.4.6-2.2
ii  libcups2                      2.4.2-5
ii  libfontconfig1                2.14.2-4
ii  libgcr-base-3-1               3.41.1-3
ii  libgdk-pixbuf-2.0-0           2.42.10+dfsg-1+b1
ii  libgeoclue-2-0                2.7.0-3
ii  libgeocode-glib-2-0           3.26.3-6
ii  libglib2.0-0                  2.77.2-1
ii  libgnome-desktop-3-20         44.0-2
ii  libgtk-3-0                    3.24.38-2
ii  libgudev-1.0-0                237-2
ii  libgweather-4-0               4.3.2-1
ii  libmm-glib0                   1.20.6-2
ii  libnm0                        1.44.0-1
ii  libnotify4                    0.8.2-1
ii  libnspr4                      2:4.35-1.1
ii  libnss3                       2:3.92-1
ii  libpam-systemd [logind]       254.1-2
ii  libpango-1.0-0                1.51.0+ds-2
ii  libpangocairo-1.0-0           1.51.0+ds-2
ii  libpolkit-gobject-1-0         123-1
ii  libpulse-mainloop-glib0       16.1+dfsg1-2+b1
ii  libpulse0                     16.1+dfsg1-2+b1
ii  libspa-0.2-bluetooth          0.3.78-1
ii  libupower-glib3               0.99.20-2
ii  libwacom9                     2.7.0-1
ii  libwayland-client0            1.22.0-2
ii  libx11-6                      2:1.8.6-1
ii  libxext6                      2:1.3.4-1+b1
ii  libxfixes3                    1:6.0.0-2
ii  libxi6                        2:1.8-1+b1
ii  pipewire-audio                0.3.78-1

Versions of packages gnome-settings-daemon recommends:
ii  iio-sensor-proxy   3.5-1
ii  pipewire-audio     0.3.78-1
ii  pkexec             123-1
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.37-7
ii  libcairo-gobject2                                           1.16.0-7
ii  libcairo2                                                   1.16.0-7
ii  libffi8                                                     3.4.4-1
ii  libgcc-s1                                                   13.2.0-2
ii  libgirepository-1.0-1 [libgirepository-1.0-1-with-libffi8]  1.76.1-5
ii  libglib2.0-0                                                2.77.2-1
ii  libmozjs-102-0                                              102.14.0-1
ii  libreadline8                                                8.2-1.3
ii  libstdc++6                                                  13.2.0-2
ii  libx11-6                                                    2:1.8.6-1

Versions of packages gnome-shell is related to:
ii  libegl-mesa0 [libegl-vendor]    23.1.6-1
ii  libgl1-mesa-dri                 23.1.6-1
ii  libglx-mesa0 [libglx-vendor]    23.1.6-1
ii  libglx-nvidia0 [libglx-vendor]  525.125.06-2
ii  nvidia-egl-icd [libegl-vendor]  525.125.06-2

-- no debconf information



More information about the pkg-gnome-maintainers mailing list