Bug#945375: gnome-control-center: Segmentation fault when selecting display on secondary GPU.
Good to know. Thank you for your work! -- Mladen Mijatov Head of R&D, Way2CU Key ID: 4096R/83EFD5A0 2013-08-18 --- Begin Message --- Control: tags -1 + patch upstream fixed-upstream Hello Mladen Mijatov, dear Maintainer, the first frames would be translated by addr2line to following [1]. This looks like the crash is caused by an invalid pointer pself/self in function cc_display_mode_dbus_is_supported_scale [112]. This pointer is retrieved by cc_display_monitor_get_mode in [399]. That led me to this upstream bug [2] which got already fixed in [3]. Either of the upstream tags 3.34.2 or 3.35.2 contains that patch. Kind regards, Bernhard [1] #apt install systemd-coredump gnome binutils gdb gnome-control-center-dbgsym libglib2.0-0-dbgsym libgtk-3-0-dbgsym cat backtrace.txt | tr '()[]' ' ' | while read -ra line; do if [[ ${line[1]:0:1} == "+" ]] ; then if [[ ${line[0]:0:1} == "/" ]] ; then F=${line[0]}; else F=$(which ${line[0]}); fi; echo ${line[2]} at $(addr2line --exe=$F ${line[1]}) from ${line[0]} ${line[1]}; else echo ${line[2]} in ${line[1]} from ${line[0]}; fi; done 0x56214d26c2de at ./obj-x86_64-linux-gnu/../panels/display/cc-display-config-dbus.c:112 from gnome-control-center +0xa82de 0x56214d26c425 at ./obj-x86_64-linux-gnu/../panels/display/cc-display-config-dbus.c:1217 from gnome-control-center +0xa8425 0x56214d269206 at ./obj-x86_64-linux-gnu/../panels/display/cc-display-settings.c:399 from gnome-control-center +0xa5206 0x56214d269b73 in cc_display_settings_set_selected_output+0x13 from gnome-control-center 0x56214d262970 at ./obj-x86_64-linux-gnu/../panels/display/cc-display-panel.c:733 from gnome-control-center +0x9e970 0x56214d263780 at ./obj-x86_64-linux-gnu/../panels/display/cc-display-panel.c:546 from gnome-control-center +0x9f780 0x7fb21bc370e6 at ../../../gobject/gclosure.c:294 from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 +0x140e6 ... [2] https://gitlab.gnome.org/GNOME/gnome-control-center/issues/675 [3] https://gitlab.gnome.org/GNOME/gnome-control-center/commit/0fa4d11477076c9d06af218795cd8c6194fa5dff [112] https://sources.debian.org/src/gnome-control-center/1:3.34.1-1/panels/display/cc-display-config-dbus.c/#L112 [1217] https://sources.debian.org/src/gnome-control-center/1:3.34.1-1/panels/display/cc-display-config-dbus.c/#L1217 [399] https://sources.debian.org/src/gnome-control-center/1:3.34.1-1/panels/display/cc-display-settings.c/#L399 --- End Message ---
Bug#945375: gnome-control-center: Segmentation fault when selecting display on secondary GPU.
Control: tags -1 + patch upstream fixed-upstream Hello Mladen Mijatov, dear Maintainer, the first frames would be translated by addr2line to following [1]. This looks like the crash is caused by an invalid pointer pself/self in function cc_display_mode_dbus_is_supported_scale [112]. This pointer is retrieved by cc_display_monitor_get_mode in [399]. That led me to this upstream bug [2] which got already fixed in [3]. Either of the upstream tags 3.34.2 or 3.35.2 contains that patch. Kind regards, Bernhard [1] #apt install systemd-coredump gnome binutils gdb gnome-control-center-dbgsym libglib2.0-0-dbgsym libgtk-3-0-dbgsym cat backtrace.txt | tr '()[]' ' ' | while read -ra line; do if [[ ${line[1]:0:1} == "+" ]] ; then if [[ ${line[0]:0:1} == "/" ]] ; then F=${line[0]}; else F=$(which ${line[0]}); fi; echo ${line[2]} at $(addr2line --exe=$F ${line[1]}) from ${line[0]} ${line[1]}; else echo ${line[2]} in ${line[1]} from ${line[0]}; fi; done 0x56214d26c2de at ./obj-x86_64-linux-gnu/../panels/display/cc-display-config-dbus.c:112 from gnome-control-center +0xa82de 0x56214d26c425 at ./obj-x86_64-linux-gnu/../panels/display/cc-display-config-dbus.c:1217 from gnome-control-center +0xa8425 0x56214d269206 at ./obj-x86_64-linux-gnu/../panels/display/cc-display-settings.c:399 from gnome-control-center +0xa5206 0x56214d269b73 in cc_display_settings_set_selected_output+0x13 from gnome-control-center 0x56214d262970 at ./obj-x86_64-linux-gnu/../panels/display/cc-display-panel.c:733 from gnome-control-center +0x9e970 0x56214d263780 at ./obj-x86_64-linux-gnu/../panels/display/cc-display-panel.c:546 from gnome-control-center +0x9f780 0x7fb21bc370e6 at ../../../gobject/gclosure.c:294 from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 +0x140e6 ... [2] https://gitlab.gnome.org/GNOME/gnome-control-center/issues/675 [3] https://gitlab.gnome.org/GNOME/gnome-control-center/commit/0fa4d11477076c9d06af218795cd8c6194fa5dff [112] https://sources.debian.org/src/gnome-control-center/1:3.34.1-1/panels/display/cc-display-config-dbus.c/#L112 [1217] https://sources.debian.org/src/gnome-control-center/1:3.34.1-1/panels/display/cc-display-config-dbus.c/#L1217 [399] https://sources.debian.org/src/gnome-control-center/1:3.34.1-1/panels/display/cc-display-settings.c/#L399
Bug#945375: gnome-control-center: Segmentation fault when selecting display on secondary GPU.
Hello Mladen Mijatov, if you still get this crash, maybe if you start it like below there would be more information about the crash. catchsegv gnome-control-center Alternatively you could install systemd-coredump and look at the end of 'journalctl --no-pager' if there is some debug information of the crash. Kind regards, Bernhard
Bug#945375: gnome-control-center: Segmentation fault when selecting display on secondary GPU.
Package: gnome-control-center Version: 1:3.34.1-1 Severity: important As explained in the subject, upon selecting display which is connected to the secondary GPU whole application crashes with "segmentation fault". Bellow is the output from terminal with `--verbose` flag: ~ $ gnome-control-center --verbose 22:41:03.0357 cc-object-storage:DEBUG: Finished creating D-Bus proxy for CcObjectStorage::dbus- proxy(org.gnome.SettingsDaemon.Color,/org/gnome/SettingsDaemon/Color,org.gnome.SettingsDaemon.Color) 22:41:03.0358 cc-object-storage:DEBUG: Adding object GDBusProxy (CcObjectStorage::dbus- proxy(org.gnome.SettingsDaemon.Color,/org/gnome/SettingsDaemon/Color,org.gnome.SettingsDaemon.Color) → 0x5589b8b01480) to the storage 22:41:03.0358 display-cc-panel:DEBUG: setting adjustment -1.000 to -1:-0 22:41:03.0358 display-cc-panel:DEBUG: setting adjustment -1.000 to -1:-0 22:41:03.0359 cc-object-storage:DEBUG: Finished creating D-Bus proxy for CcObjectStorage::dbus- proxy(org.gnome.SettingsDaemon.Color,/org/gnome/SettingsDaemon/Color,org.freedesktop.DBus.Properties) 22:41:03.0359 cc-object-storage:DEBUG: Adding object GDBusProxy (CcObjectStorage::dbus- proxy(org.gnome.SettingsDaemon.Color,/org/gnome/SettingsDaemon/Color,org.freedesktop.DBus.Properties) → 0x5589b80a5630) to the storage 22:41:03.0359 cc-object-storage:DEBUG: Finished creating D-Bus proxy for CcObjectStorage::dbus- proxy(org.gnome.Shell,/org/gnome/Shell,org.gnome.Shell) 22:41:03.0359 cc-object-storage:DEBUG: Adding object GDBusProxy (CcObjectStorage::dbus-proxy(org.gnome.Shell,/org/gnome/Shell,org.gnome.Shell) → 0x5589b80a56c0) to the storage 22:41:03.0360 display-cc-panel:DEBUG: SensorProxy vanished 22:41:03.0360 display-cc-panel:DEBUG: Has no accelerometer 22:41:03.0377 display-cc-panel:DEBUG: Resetting current config! Segmentation fault -- System Information: Debian Release: bullseye/sid APT prefers testing APT policy: (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.2.0-3-amd64 (SMP w/4 CPU cores) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages gnome-control-center depends on: ii accountsservice0.6.55-1 ii apg2.2.3.dfsg.1-5+b1 ii colord 1.4.3-4 ii desktop-base 10.0.3 ii desktop-file-utils 0.24-1 ii gnome-control-center-data 1:3.34.1-1 ii gnome-desktop3-data3.34.1-1 ii gnome-settings-daemon 3.34.1-1+b1 ii gsettings-desktop-schemas 3.34.0-2 ii libaccountsservice00.6.55-1 ii libatk1.0-02.34.1-1 ii libc6 2.29-3 ii libcairo2 1.16.0-4 ii libcheese-gtk253.34.0-1+b1 ii libcheese8 3.34.0-1+b1 ii libcolord-gtk1 0.1.26-2 ii libcolord2 1.4.3-4 ii libcups2 2.3.0-6 ii libfontconfig1 2.13.1-2+b1 ii libgdk-pixbuf2.0-0 2.40.0+dfsg-1 ii libglib2.0-0 2.62.2-3 ii libgnome-bluetooth13 3.34.0-1 ii libgnome-desktop-3-18 3.34.1-1 ii libgoa-1.0-0b 3.34.1-1 ii libgoa-backend-1.0-1 3.34.1-1 ii libgsound0 1.0.2-4 ii libgtk-3-0 3.24.12-1 ii libgtop-2.0-11 2.40.0-2 ii libgudev-1.0-0 233-1 ii libibus-1.0-5 1.5.19-4+deb10u1 ii libkrb5-3 1.17-6 ii libmm-glib01.10.4-0.1 ii libnm0 1.20.6-1 ii libnma01.8.24-1 ii libpango-1.0-0 1.42.4-7 ii libpangocairo-1.0-01.42.4-7 ii libpolkit-gobject-1-0 0.105-26 ii libpulse-mainloop-glib013.0-3 ii libpulse0 13.0-3 ii libpwquality1 1.4.2-1 ii libsecret-1-0 0.19.1-1 ii libsmbclient 2:4.11.1+dfsg-3 ii libsoup2.4-1 2.68.2-1 ii libudisks2-0 2.8.4-1 ii libupower-glib30.99.11-1 ii libwacom2 1.1-1 ii libwayland-server0 1.17.0-1 ii libx11-6 2:1.6.8-1 ii libxi6 2:1.7.9-1 ii libxml22.9.4+dfsg1-8 Versions of packages gnome-control-center recommends: ii cracklib-runtime 2.9.6-3 ii cups-pk-helper0.2.6-1+b1 ii gkbd-capplet 3.26.1-1 ii gnome-online-accounts 3.34.1-1 ii gnome-user-docs 3.34.0-2 ii gnome-user-share 3.34.0-2 ii iso-codes 4.4-1 ii libcanberra-pulse 0.30-7 ii libnss-myhostname 243-8 ii mousetweaks