Bug#869391: gnome-control-center: Add input source dialog crashes when "Show All input sources" is enabled

Felipe Sateler fsateler at debian.org
Sun Jul 23 00:00:00 UTC 2017

Package: gnome-control-center
Version: 1:3.22.2-3
Severity: normal


I enabled all input sources in the tweak tool. Now I can't add input
sources. g-c-c crashes with the following backtrace below.

Inspecting with gdb suggests that the GList returned by 
gnome_xkb_info_get_layouts_for_language is invalid, as the data pointed
by one of the entries is not readable:

(gdb) p (char*)list->data
$2 = 0x938 <error: Cannot access memory at address 0x938>

#0  0x00007fab69ddc50a in __strcmp_sse2_unaligned () at ../sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S:31
#1  0x000000b9644f8a57 in add_rows_to_table (chooser=chooser at entry=0xb96614e870 [GtkDialog], info=info at entry=0xb9662e50d0, list=0xb965b80c00, list at entry=0xb965b826a0, type=type at entry=0xb9645a971b "xkb", default_id=0x7fab6e6de2f2 "us") at cc-input-chooser.c:730
#2  0x000000b9644f9cbe in get_locale_infos (chooser=0xb96614e870 [GtkDialog]) at cc-input-chooser.c:972
#3  0x000000b9644f9cbe in cc_input_chooser_new (main_window=0xb965e922a0 [CcWindow], is_login=is_login at entry=0, xkb_info=xkb_info at entry=0xb9660edb60 [GnomeXkbInfo], ibus_engines=ibus_engines at entry=0x0) at cc-input-chooser.c:1088
#4  0x000000b9644f4f58 in show_input_chooser (self=0xb965d00950 [CcRegionPanel]) at cc-region-panel.c:1146
#5  0x00007fab6a9311a4 in _g_closure_invoke_va (closure=closure at entry=0xb9660f30a0, return_value=return_value at entry=0x0, instance=instance at entry=0xb965eb0dc0, args=args at entry=0x7fffaa0c0ff0, n_params=<optimized out>, param_types=0x0) at ././gobject/gclosure.c:867
#6  0x00007fab6a94b8cd in g_signal_emit_valist (instance=0xb965eb0dc0, signal_id=<optimized out>, detail=0, var_args=var_args at entry=0x7fffaa0c0ff0) at ././gobject/gsignal.c:3300
#7  0x00007fab6a94bfbf in g_signal_emit (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>)
    at ././gobject/gsignal.c:3447
#8  0x00007fab6c0f3e7d in  () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#9  0x00007fab6c0f3ee5 in  () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#13 0x00007fab6a94bfbf in <emit signal ??? on instance 0xb965eb0dc0 [GtkButton]> (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>) at ././gobject/gsignal.c:3447
    #10 0x00007fab6a930f75 in g_closure_invoke (closure=closure at entry=0xb965a4d390, return_value=return_value at entry=0x0, n_param_values=1, param_values=param_values at entry=0x7fffaa0c12e0, invocation_hint=invocation_hint at entry=0x7fffaa0c1260)
    at ././gobject/gclosure.c:804
    #11 0x00007fab6a94295c in signal_emit_unlocked_R (node=node at entry=0xb965ad0a10, detail=detail at entry=0, instance=instance at entry=0xb965eb0dc0, emission_return=emission_return at entry=0x0, instance_and_params=instance_and_params at entry=0x7fffaa0c12e0)
    at ././gobject/gsignal.c:3565
    #12 0x00007fab6a94bbdc in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args at entry=0x7fffaa0c1490) at ././gobject/gsignal.c:3391
#14 0x00007fab6c0f22e0 in  () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#15 0x00007fab56da6038 in ffi_call_unix64 () at /usr/lib/x86_64-linux-gnu/libffi.so.6
#16 0x00007fab56da5a9a in ffi_call () at /usr/lib/x86_64-linux-gnu/libffi.so.6
#17 0x00007fab6a931c8a in g_cclosure_marshal_generic_va (closure=0xb9660cfb70, return_value=0x0, instance=<optimized out>, args_list=<optimized out>, marshal_data=<optimized out>, n_params=3, param_types=0xb965a01df0) at ././gobject/gclosure.c:1604
#18 0x00007fab6a9311a4 in _g_closure_invoke_va (closure=closure at entry=0xb9660cfb70, return_value=return_value at entry=0x0, instance=instance at entry=0xb9660d11b0, args=args at entry=0x7fffaa0c1a80, n_params=<optimized out>, param_types=0xb965a01df0)

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.11.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gnome-control-center depends on:
ii  accountsservice            0.6.43-1
ii  apg                        2.2.3.dfsg.1-4+b1
ii  colord                     1.3.3-2
ii  desktop-file-utils         0.23-2
ii  gnome-control-center-data  1:3.22.2-3
ii  gnome-desktop3-data        3.22.2-1
ii  gnome-settings-daemon      3.22.2-5
ii  gsettings-desktop-schemas  3.22.0-1
ii  libaccountsservice0        0.6.43-1
ii  libatk1.0-0                2.24.0-1
ii  libc6                      2.24-12
ii  libcairo-gobject2          1.14.10-1
ii  libcairo2                  1.14.10-1
ii  libcanberra-gtk3-0         0.30-3
ii  libcanberra0               0.30-3
ii  libcheese-gtk25            3.22.1-1+b1
ii  libcheese8                 3.22.1-1+b1
ii  libclutter-1.0-0           1.26.2+dfsg-1
ii  libclutter-gtk-1.0-0       1.8.2-2
ii  libcolord-gtk1             0.1.26-1.1
ii  libcolord2                 1.3.3-2
ii  libcups2                   2.2.4-3
ii  libfontconfig1             2.12.3-0.2
ii  libgdk-pixbuf2.0-0         2.36.5-2
ii  libglib2.0-0               2.52.3-1
ii  libgnome-bluetooth13       3.20.1-1
ii  libgnome-desktop-3-12      3.22.2-1
ii  libgoa-1.0-0b              3.22.5-1
ii  libgoa-backend-1.0-1       3.22.5-1
ii  libgrilo-0.3-0             0.3.3-2
ii  libgtk-3-0                 3.22.16-1
ii  libgtop-2.0-10             2.34.2-1
ii  libgudev-1.0-0             230-3
ii  libibus-1.0-5              1.5.14-3
ii  libkrb5-3                  1.15.1-1
ii  libmm-glib0                1.6.8-1
ii  libnm0                     1.8.2-1
ii  libnma0                    1.8.2-1
ii  libpango-1.0-0             1.40.6-1
ii  libpangocairo-1.0-0        1.40.6-1
ii  libpolkit-gobject-1-0      0.105-18
ii  libpulse-mainloop-glib0    10.0-2
ii  libpulse0                  10.0-2
ii  libpwquality1              1.3.0-1+b1
ii  libsmbclient               2:4.6.5+dfsg-7
ii  libsoup2.4-1               2.56.0-2
ii  libupower-glib3            0.99.4-4+b1
ii  libwacom2                  0.24-1
ii  libx11-6                   2:1.6.4-3
ii  libxi6                     2:1.7.9-1
ii  libxml2                    2.9.4+dfsg1-3

Versions of packages gnome-control-center recommends:
ii  cracklib-runtime              2.9.2-5+b1
ii  cups-pk-helper                0.2.6-1+b1
ii  gkbd-capplet        
ii  gnome-online-accounts         3.22.5-1
ii  gnome-user-guide              3.22.0-1
ii  gnome-user-share              3.18.3-1+b1
ii  iso-codes                     3.75-1
ii  libcanberra-pulse             0.30-3
ii  libnss-myhostname             234-2
ii  mousetweaks                   3.12.0-1+b1
ii  network-manager-gnome         1.8.2-1
ii  policykit-1                   0.105-18
ii  pulseaudio-module-bluetooth   10.0-2
ii  realmd                        0.16.3-1
ii  rygel                         0.32.1-3+b1
ii  rygel-tracker                 0.32.1-3+b1
ii  system-config-printer-common  1.5.9-2

Versions of packages gnome-control-center suggests:
ii  gstreamer1.0-pulseaudio  1.12.2-1
pn  libcanberra-gtk-module   <none>
ii  libcanberra-gtk3-module  0.30-3
ii  x11-xserver-utils        7.7+7+b1

-- no debconf information

More information about the pkg-gnome-maintainers mailing list