Bug#818437: gnome-shell: crashes when unplugging external screen (bugs with VGA and HDMI)

Raphaël Beamonte raphael.beamonte at gmail.com
Thu Mar 17 01:55:40 UTC 2016


Package: gnome-shell
Version: 3.18.1-1
Severity: important

Dear Maintainer,

Each time I unplug an external screen from my computer, whether this screen was
plugged using VGA or HDMI, gnome-shell crashes immediately, putting me back to
TTY1. The only solution then is to restart gdm3 using '/etc/init.d/gdm3
restart'.

This bug sort of looks like Bug#818357, but not exactly as it first does not
concern a dock. I don't have anything printed in the console. And my system
does not freeze.

Looking at 'dmesg', I can see the following line each time it happens:
[  269.643683] traps: gnome-shell[5493] trap int3 ip:7fab50a0a87b
sp:7ffe148df7e0 error:0

Doing 'journalctl -b -a', I can see the following that seem to relate to the
current error:
Mar 16 19:12:38 duck gnome-session[5485]: (gnome-settings-daemon:5538): Gdk-
ERROR **: The program 'gnome-settings-daemon' received an X Window System
error.
Mar 16 19:12:38 duck gnome-session[5485]: This probably reflects a bug in the
program.
Mar 16 19:12:38 duck gnome-session[5485]: The error was 'BadRROutput (invalid
Output parameter)'.
Mar 16 19:12:38 duck gnome-session[5485]:   (Details: serial 226 error_code 147
request_code 140 (RANDR) minor_code 9)
Mar 16 19:12:38 duck gnome-session[5485]:   (Note to programmers: normally, X
errors are reported asynchronously;
Mar 16 19:12:38 duck gnome-session[5485]:    that is, you will receive the
error a while after causing it.
Mar 16 19:12:38 duck gnome-session[5485]:    To debug your program, run it with
the GDK_SYNCHRONIZE environment
Mar 16 19:12:38 duck gnome-session[5485]:    variable to change this behavior.
You can then get a meaningful
Mar 16 19:12:38 duck gnome-session[5485]:    backtrace from your debugger if
you break on the gdk_x_error() function.)
Mar 16 19:12:38 duck gnome-session[5485]: gnome-session-binary[5485]: WARNING:
Application 'gnome-settings-daemon.desktop' killed by signal 5
Mar 16 19:12:38 duck gnome-session-binary[5485]: WARNING: Application 'gnome-
settings-daemon.desktop' killed by signal 5
Mar 16 19:12:38 duck kernel: traps: gnome-settings-[5538] trap int3
ip:7fbf2245187b sp:7fff3dbc5950 error:0
Mar 16 19:12:38 duck kernel: snd_hda_codec_hdmi hdaudioC0D0: HDMI: ELD buf size
is 0, force 128
Mar 16 19:12:38 duck kernel: snd_hda_codec_hdmi hdaudioC0D0: HDMI: invalid ELD
data byte 0
Mar 16 19:12:38 duck kernel: gnome-settings-[5568]: segfault at 10 ip
00007fe13761e427 sp 00007fff6491ccb0 error 4 in
libgdk-3.so.0.1800.8[7fe1375be00

This bug makes things difficult, as each time I need to use an external screen,
I know that when I'll unplug gnome will crashes.

I can provide more data on demand, as the bug is easily reproduced (I just need
to unplug my external screen...).

Thanks,
Raphaël



-- System Information:
Debian Release: stretch/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.3.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_CA.utf8, LC_CTYPE=en_CA.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gnome-shell depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.24.0-2
ii  evolution-data-server                        3.18.5-1
ii  gir1.2-accountsservice-1.0                   0.6.40-3
ii  gir1.2-atspi-2.0                             2.18.3-4
ii  gir1.2-caribou-1.0                           0.4.19-1
ii  gir1.2-clutter-1.0                           1.24.2-1
ii  gir1.2-freedesktop                           1.46.0-4
ii  gir1.2-gcr-3                                 3.18.0-1
ii  gir1.2-gdesktopenums-3.0                     3.18.1-1
ii  gir1.2-gdm3                                  3.18.0-2
ii  gir1.2-gkbd-3.0                              3.6.0-1
ii  gir1.2-glib-2.0                              1.46.0-4
ii  gir1.2-gnomebluetooth-1.0                    3.18.2-1
ii  gir1.2-gnomedesktop-3.0                      3.18.2-1
ii  gir1.2-gtk-3.0                               3.18.8-1
ii  gir1.2-gweather-3.0                          3.18.1-1
ii  gir1.2-ibus-1.0                              1.5.11-1
ii  gir1.2-mutter-3.0                            3.18.3-1
ii  gir1.2-networkmanager-1.0                    1.1.91-1
ii  gir1.2-nmgtk-1.0                             1.1.90-3
ii  gir1.2-pango-1.0                             1.38.1-1
ii  gir1.2-polkit-1.0                            0.105-14.1
ii  gir1.2-soup-2.4                              2.52.2-1
ii  gir1.2-telepathyglib-0.12                    0.24.1-1.1
ii  gir1.2-telepathylogger-0.2                   0.8.2-1
ii  gir1.2-upowerglib-1.0                        0.99.4-2
ii  gjs                                          1.43.3-2
ii  gnome-backgrounds                            3.18.0-1
ii  gnome-icon-theme-symbolic                    3.12.0-1
ii  gnome-settings-daemon                        3.18.2-1
ii  gnome-shell-common                           3.18.1-1
ii  gsettings-desktop-schemas                    3.18.1-1
ii  libatk-bridge2.0-0                           2.18.1-2
ii  libatk1.0-0                                  2.18.0-1
ii  libc6                                        2.21-9
ii  libcairo2                                    1.14.6-1
ii  libcanberra-gtk3-0                           0.30-2.1
ii  libcanberra0                                 0.30-2.1
ii  libclutter-1.0-0                             1.24.2-1
ii  libcogl-pango20                              1.22.0-2
ii  libcogl20                                    1.22.0-2
ii  libcroco3                                    0.6.11-1
ii  libdbus-glib-1-2                             0.106-1
ii  libecal-1.2-19                               3.18.5-1
ii  libedataserver-1.2-21                        3.18.5-1
ii  libgcr-base-3-1                              3.18.0-1
ii  libgdk-pixbuf2.0-0                           2.32.3-1.2
ii  libgirepository-1.0-1                        1.46.0-4
ii  libgjs0e [libgjs0-libmozjs-24-0]             1.43.3-2
ii  libglib2.0-0                                 2.46.2-3
ii  libgstreamer1.0-0                            1.6.3-1
ii  libgtk-3-0                                   3.18.8-1
ii  libical1a                                    1.0.1-0.1
ii  libjson-glib-1.0-0                           1.0.4-2
ii  libmozjs-24-0                                24.2.0-3
ii  libmutter0g                                  3.18.3-1
ii  libnm-glib4                                  1.1.91-1
ii  libnm-util2                                  1.1.91-1
ii  libpango-1.0-0                               1.38.1-1
ii  libpangocairo-1.0-0                          1.38.1-1
ii  libpolkit-agent-1-0                          0.105-14.1
ii  libpolkit-gobject-1-0                        0.105-14.1
ii  libpulse-mainloop-glib0                      8.0-1
ii  libpulse0                                    8.0-1
ii  libsecret-1-0                                0.18.3-1
ii  libstartup-notification0                     0.12-4
ii  libsystemd0                                  229-2
ii  libtelepathy-glib0                           0.24.1-1.1
ii  libx11-6                                     2:1.6.3-1
ii  libxfixes3                                   1:5.0.1-2+b2
ii  mutter                                       3.18.3-1
ii  python3                                      3.5.1-2
ii  telepathy-mission-control-5                  1:5.16.3-2

Versions of packages gnome-shell recommends:
ii  gdm3                        3.18.0-2
ii  gkbd-capplet                3.6.0-1
ii  gnome-contacts              3.18.1-1
ii  gnome-control-center        1:3.18.2-1
ii  gnome-themes-standard-data  3.18.0-2
ii  gnome-user-guide            3.18.1-1
ii  iio-sensor-proxy            1.1-1
ii  unzip                       6.0-20

gnome-shell suggests no packages.



More information about the pkg-gnome-maintainers mailing list