Bug#945375: gnome-control-center: Segmentation fault when selecting display on secondary GPU.
Bernhard Übelacker
bernhardu at mailbox.org
Tue Dec 10 01:39:51 GMT 2019
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
More information about the pkg-gnome-maintainers
mailing list