Bug#932405: gnome-shell: sometimes crashes when system services are restarted (probably bluetooth.service)

Simon McVittie smcv at debian.org
Thu Jul 18 21:23:17 BST 2019


Package: libgnome-bluetooth13
Version: 3.28.2-3
Severity: important
Affects: gnome-shell

gnome-shell sometimes crashes when needrestart is allowed to restart
system services. Based on the backtrace I suspect that restarting
bluetooth.service is probably the trigger, but I can't reproduce the
crash by just restarting bluetooth.service.

I've included information on gnome-shell's dependencies in case I was
wrong about the cause.

Notice frame 3 in particular:

> #3  0x00007f2be42dc70d in adapter_notify_cb
>     (adapter=0x55cf28588a00, pspec=<optimized out>, client=0x55cf28fdc300 [ClutterTextBuffer])
>     at ../lib/bluetooth-client.c:542

I think this means the BluetoothClient that was meant to receive the
signal has been freed (this code would probably benefit from more
g_signal_connect_object()?) and the same address has been reused for
a ClutterTextBuffer.

#0  0x00007f2c2136b840 in g_type_check_instance_cast (type_instance=0x20, iface_type=0x55cf26dcfe30 [GtkTreeModel])
    at ../../../gobject/gtype.c:4052
#1  0x00007f2be42dc63d in iter_search
    (store=0x20, iter=iter at entry=0x7ffdf0ca1880, parent=parent at entry=0x0, func=func at entry=0x7f2be42dc4b0 <compare_path>, user_data=0x7f2c08007730) at ../lib/bluetooth-client.c:110
#2  0x00007f2be42dc6a1 in get_iter_from_proxy
    (store=<optimized out>, iter=iter at entry=0x7ffdf0ca1880, proxy=<optimized out>) at ../lib/bluetooth-client.c:183
#3  0x00007f2be42dc70d in adapter_notify_cb
    (adapter=0x55cf28588a00, pspec=<optimized out>, client=0x55cf28fdc300 [ClutterTextBuffer])
    at ../lib/bluetooth-client.c:542
#7  0x00007f2c21363b6f in <emit signal notify:g-name-owner on instance 0x55cf28588a00 [Adapter1Proxy]>
    (instance=instance at entry=0x55cf28588a00, signal_id=<optimized out>, detail=<optimized out>)
    at ../../../gobject/gsignal.c:3447
    #4  0x00007f2c21346e8d in g_closure_invoke
    (closure=0x55cf28f11890, return_value=0x0, n_param_values=2, param_values=0x7ffdf0ca1ab0, invocation_hint=0x7ffdf0ca1a30) at ../../../gobject/gclosure.c:810
    #5  0x00007f2c2135a555 in signal_emit_unlocked_R
    (node=node at entry=0x55cf26394840, detail=detail at entry=100, instance=instance at entry=0x55cf28588a00, emission_return=emission_return at entry=0x0, instance_and_params=instance_and_params at entry=0x7ffdf0ca1ab0)
    at ../../../gobject/gsignal.c:3635
    #6  0x00007f2c213634ae in g_signal_emit_valist
    (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args at entry=0x7ffdf0ca1c80) at ../../../gobject/gsignal.c:3391
#8  0x00007f2c2134b564 in g_object_dispatch_properties_changed
    (object=0x55cf28588a00 [Adapter1Proxy], n_pspecs=<optimized out>, pspecs=<optimized out>)
    at ../../../gobject/gobject.c:1088
#9  0x00007f2c2134d9f1 in g_object_notify_by_spec_internal
    (pspec=<optimized out>, object=0x55cf28588a00 [Adapter1Proxy]) at ../../../gobject/gobject.c:1181
#10 0x00007f2c2134d9f1 in g_object_notify
    (object=0x55cf28588a00 [Adapter1Proxy], property_name=property_name at entry=0x7f2c214f75f0 "g-name-owner")
    at ../../../gobject/gobject.c:1229
#11 0x00007f2c21498c6b in on_name_owner_changed
    (connection=<optimized out>, sender_name=<optimized out>, object_path=<optimized out>, interface_name=<optimized out>, signal_name=<optimized out>, parameters=<optimized out>, user_data=0x55cf28add960)
    at ../../../gio/gdbusproxy.c:1356
#12 0x00007f2c21487f04 in emit_signal_instance_in_idle_cb (data=0x7f2c0c2b2ac0)
    at ../../../gio/gdbusconnection.c:3743
#13 0x00007f2c21260898 in g_main_dispatch (context=0x55cf26392e10) at ../../../glib/gmain.c:3189
#14 0x00007f2c21260898 in g_main_context_dispatch (context=context at entry=0x55cf26392e10)
    at ../../../glib/gmain.c:3854
#15 0x00007f2c21260c88 in g_main_context_iterate
    (context=0x55cf26392e10, block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>)
    at ../../../glib/gmain.c:3927
#16 0x00007f2c21260f82 in g_main_loop_run (loop=0x55cf26686350) at ../../../glib/gmain.c:4123
#17 0x00007f2c2073df8c in meta_run () at core/main.c:689
#18 0x000055cf24e46782 in main (argc=<optimized out>, argv=<optimized out>) at ../src/main.c:501

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-debug'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-5-amd64 (SMP w/2 CPU cores)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libgnome-bluetooth13 depends on:
ii  libc6               2.28-10
ii  libcanberra-gtk3-0  0.30-7
ii  libcanberra0        0.30-7
ii  libglib2.0-0        2.60.5-1
ii  libgtk-3-0          3.24.10-1
ii  libnotify4          0.7.7-4
ii  libudev1            241-7

libgnome-bluetooth13 recommends no packages.

libgnome-bluetooth13 suggests no packages.

-- no debconf information

Versions of packages gnome-shell depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.30.1-2
ii  evolution-data-server                        3.30.5-1
ii  gir1.2-accountsservice-1.0                   0.6.45-2
ii  gir1.2-atspi-2.0                             2.30.0-7
ii  gir1.2-freedesktop                           1.58.3-2
ii  gir1.2-gcr-3                                 3.28.1-1
ii  gir1.2-gdesktopenums-3.0                     3.28.1-1
ii  gir1.2-gdm-1.0                               3.30.2-3
ii  gir1.2-geoclue-2.0                           2.5.3-1
ii  gir1.2-glib-2.0                              1.58.3-2
ii  gir1.2-gnomebluetooth-1.0                    3.28.2-3
ii  gir1.2-gnomedesktop-3.0                      3.30.2.1-2
ii  gir1.2-gtk-3.0                               3.24.10-1
ii  gir1.2-gweather-3.0                          3.28.3-1
ii  gir1.2-ibus-1.0                              1.5.19-4+b1
ii  gir1.2-mutter-3                              3.30.2-7
ii  gir1.2-nm-1.0                                1.18.0-3
ii  gir1.2-nma-1.0                               1.8.22-2
ii  gir1.2-pango-1.0                             1.42.4-6
ii  gir1.2-polkit-1.0                            0.105-26
ii  gir1.2-rsvg-2.0                              2.44.10-2.1
ii  gir1.2-soup-2.4                              2.64.2-2
ii  gir1.2-upowerglib-1.0                        0.99.10-1
ii  gjs                                          1.54.3-1
ii  gnome-backgrounds                            3.30.0-1
ii  gnome-settings-daemon                        3.30.2-3local1
ii  gnome-shell-common                           3.30.2-9
ii  gsettings-desktop-schemas                    3.28.1-1
ii  libatk-bridge2.0-0                           2.30.0-5
ii  libatk1.0-0                                  2.30.0-2
ii  libc6                                        2.28-10
ii  libcairo2                                    1.16.0-4
ii  libcanberra-gtk3-0                           0.30-7
ii  libcanberra0                                 0.30-7
ii  libcroco3                                    0.6.12-3
ii  libecal-1.2-19                               3.30.5-1
ii  libedataserver-1.2-23                        3.30.5-1
ii  libgcr-base-3-1                              3.28.1-1
ii  libgdk-pixbuf2.0-0                           2.38.1+dfsg-1
ii  libgirepository-1.0-1                        1.58.3-2
ii  libgjs0g                                     1.54.3-1
ii  libglib2.0-0                                 2.60.5-1
ii  libglib2.0-bin                               2.60.5-1
ii  libgstreamer1.0-0                            1.16.0-2
ii  libgtk-3-0                                   3.24.10-1
ii  libical3                                     3.0.5-1
ii  libjson-glib-1.0-0                           1.4.4-2
ii  libmutter-3-0                                3.30.2-7
ii  libnm0                                       1.18.0-3
ii  libpango-1.0-0                               1.42.4-6
ii  libpangocairo-1.0-0                          1.42.4-6
ii  libpolkit-agent-1-0                          0.105-26
ii  libpolkit-gobject-1-0                        0.105-26
ii  libpulse-mainloop-glib0                      12.2-4
ii  libpulse0                                    12.2-4
ii  libsecret-1-0                                0.18.7-1
ii  libstartup-notification0                     0.12-6
ii  libsystemd0                                  241-7
ii  libx11-6                                     2:1.6.7-1
ii  libxfixes3                                   1:5.0.3-1
ii  mutter                                       3.30.2-7
ii  python3                                      3.7.3-1

Versions of packages gnome-shell recommends:
ii  bolt                  0.7-2
ii  chrome-gnome-shell    10.1-5
ii  gdm3                  3.30.2-3
ii  gkbd-capplet          3.26.1-1
ii  gnome-control-center  1:3.30.3-1
ii  gnome-user-docs       3.30.2-1
ii  iio-sensor-proxy      2.4-2
pn  switcheroo-control    <none>
ii  unzip                 6.0-24

Versions of packages gnome-shell suggests:
ii  gir1.2-telepathyglib-0.12   0.24.1-2
ii  gir1.2-telepathylogger-0.2  0.8.2-3

-- no debconf information



More information about the pkg-gnome-maintainers mailing list