Subject: gnome-shell: WLAN status icon gets unresponsive after some suspend and resume cycles

From: Paul Menzel <[email-masked]>
Date: Thu, 28 Feb 2019 08:49:02 +0100

Package: gnome-shell
Version: 3.30.2-3
Severity: normal
Forwarded: https://gitlab.gnome.org/GNOME/gnome-shell/issues/903

Dear Debian folks,

After some suspend/resume cycles, sometimes the WLAN status icon is not 
updated anymore. For example, currently, it is the icon for the Wifi to
be connected, but the Wifi is actually not connected, and `nmcli`
confirms that. Even disabling the Wifi, the airplone mode icon appears, 
but the Wifi connected icon still remains.

The journal contains the messages below.

```
Feb 27 21:50:41.139683 ersatz gnome-shell[841]: Object 
NM.ActiveConnection (0x5559db1794a0), has been already deallocated — 
impossible to get any prop
erty from it. This might be caused by the object having been destroyed 
from C code using something such as destroy(), dispose(), or remove() 
vfuncs.
Feb 27 21:50:41.140060 ersatz gnome-shell[841]: JS ERROR: TypeError: 
connection.get_setting_ip4_config is not a function
 
_isHotSpotMaster@resource:///org/gnome/shell/ui/status/network.js:1339:25
 
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
 
getIndicatorIcon@resource:///org/gnome/shell/ui/status/network.js:1352:13
 
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
 
_updateIcon@resource:///org/gnome/shell/ui/status/network.js:2051:52
 
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
 
_syncNMState@resource:///org/gnome/shell/ui/status/network.js:1946:9
 
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
Feb 27 21:50:41.140420 ersatz org.gnome.Shell.desktop[841]: == Stack 
trace for context 0x5559db4881d0 ==
Feb 27 21:50:41.140420 ersatz org.gnome.Shell.desktop[841]: #0 
5559dd41dd68 i   resource:///org/gnome/shell/ui/status/network.js:1335 
(7fbb33ce58b0 @ 56)
Feb 27 21:50:41.140420 ersatz org.gnome.Shell.desktop[841]: #1 
7ffcd5348350 b   resource:///org/gnome/gjs/modules/_legacy.js:82 
(7fbb643b0b80 @ 71)
Feb 27 21:50:41.140420 ersatz org.gnome.Shell.desktop[841]: #2 
5559dd41dcd0 i   resource:///org/gnome/shell/ui/status/network.js:1352 
(7fbb33ce5940 @ 113)
Feb 27 21:50:41.140420 ersatz org.gnome.Shell.desktop[841]: #3 
7ffcd53492c0 b   resource:///org/gnome/gjs/modules/_legacy.js:82 
(7fbb643b0b80 @ 71)
Feb 27 21:50:41.140420 ersatz org.gnome.Shell.desktop[841]: #4 
5559dd41dc30 i   resource:///org/gnome/shell/ui/status/network.js:2051 
(7fbb33ce8af0 @ 216)
Feb 27 21:50:41.140420 ersatz org.gnome.Shell.desktop[841]: #5 
7ffcd534a230 b   resource:///org/gnome/gjs/modules/_legacy.js:82 
(7fbb643b0b80 @ 71)
Feb 27 21:50:41.140420 ersatz org.gnome.Shell.desktop[841]: #6 
5559dd41dbb0 i   resource:///org/gnome/shell/ui/status/network.js:1946 
(7fbb33ce8700 @ 80)
Feb 27 21:50:41.140420 ersatz org.gnome.Shell.desktop[841]: #7 
7ffcd534b1b0 b   resource:///org/gnome/gjs/modules/_legacy.js:82 
(7fbb643b0b80 @ 71)
Feb 27 21:50:41.140420 ersatz org.gnome.Shell.desktop[841]: #8 
5559dd41daf0 i   self-hosted:979 (7fbb643f01f0 @ 440)
Feb 27 21:50:41.217273 ersatz wpa_supplicant[500]: nl80211: deinit 
ifname=wlp2s0 disabled_11b_rates=0

```

I reported this issue upstream as [1].

Kind regards,

Paul

[1]: https://gitlab.gnome.org/GNOME/gnome-shell/issues/903
      "Object NM.ActiveConnection (0x560dd5e44d80), has been already 
deallocated"

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

Kernel: Linux 4.20.0-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

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-1
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.2-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-1
ii  gir1.2-gtk-3.0                               3.24.5-1
ii  gir1.2-gweather-3.0                          3.28.2-2
ii  gir1.2-ibus-1.0                              1.5.19-4
ii  gir1.2-mutter-3                              3.30.2-6
ii  gir1.2-nm-1.0                                1.14.6-2
ii  gir1.2-nma-1.0                               1.8.20-1
ii  gir1.2-pango-1.0                             1.42.4-6
ii  gir1.2-polkit-1.0                            0.105-25
ii  gir1.2-rsvg-2.0                              2.44.10-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-3
ii  gnome-shell-common                           3.30.2-3
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-7
ii  libcairo2                                    1.16.0-3
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.0+dfsg-7
ii  libgirepository-1.0-1                        1.58.3-2
ii  libgjs0g                                     1.54.3-1
ii  libglib2.0-0                                 2.58.3-1
ii  libglib2.0-bin                               2.58.3-1
ii  libgstreamer1.0-0                            1.14.4-1
ii  libgtk-3-0                                   3.24.5-1
ii  libical3                                     3.0.4-3
ii  libjson-glib-1.0-0                           1.4.4-2
ii  libmutter-3-0                                3.30.2-6
ii  libnm0                                       1.14.6-2
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-25
ii  libpolkit-gobject-1-0                        0.105-25
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-1
ii  libx11-6                                     2:1.6.7-1
ii  libxfixes3                                   1:5.0.3-1
ii  mutter                                       3.30.2-6
ii  python3                                      3.7.2-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
ii  switcheroo-control    1.2-2
ii  unzip                 6.0-22

Versions of packages gnome-shell suggests:
pn  gir1.2-telepathyglib-0.12   <none>
pn  gir1.2-telepathylogger-0.2  <none>

-- no debconf information