Bug#690094: gnome-shell: SEGV in shell_network_agent_set_password for VPN

Andy Isaacson adi at hexapodia.org
Tue Oct 9 22:14:41 UTC 2012


Package: gnome-shell
Version: 3.4.2-2
Severity: important

Dear Maintainer,

gnome-shell segfaults and restarts when I try to establish my VPN connection
from the networking menu.  I choose my preconfigured VPN settings from the
list and get the "Connect to VPN 'mycompany'" dialog, with pre-filled fields
"VPN host", "Automatically start connecting", GROUP: "MycompanyVPN", Username:
"adi".  I enter my password and hit enter to Login, and gnome-shell restarts.

The following shows up in /var/log/daemon.log:

Oct  9 11:51:08 adit420s NetworkManager[3907]: <info> (wlan0): IP6 addrconf timed out or failed.
Oct  9 11:51:08 adit420s NetworkManager[3907]: <info> Activation (wlan0) Stage 4 of 5 (IPv6 Configure Timeout) scheduled...
Oct  9 11:51:08 adit420s NetworkManager[3907]: <info> Activation (wlan0) Stage 4 of 5 (IPv6 Configure Timeout) started...
Oct  9 11:51:08 adit420s NetworkManager[3907]: <info> Activation (wlan0) Stage 4 of 5 (IPv6 Configure Timeout) complete.
Oct  9 11:51:17 adit420s NetworkManager[3907]: <warn> nl_recvmsgs() error: (-33) Dump inconsistency detected, interrupted
Oct  9 11:54:16 adit420s NetworkManager[3907]: <info> Starting VPN service 'openconnect'...
Oct  9 11:54:16 adit420s NetworkManager[3907]: <info> VPN service 'openconnect' started (org.freedesktop.NetworkManager.openconnect), PID 5889
Oct  9 11:54:16 adit420s NetworkManager[3907]: <info> VPN service 'openconnect' appeared; activating connections
Oct  9 11:54:16 adit420s NetworkManager[3907]: <info> VPN plugin state changed: init (1)
Oct  9 11:54:16 adit420s NetworkManager[3907]:    SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/vpn0, iface: vpn0)
Oct  9 11:54:16 adit420s NetworkManager[3907]:    SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/vpn0, iface: vpn0): no ifupdown configuration found.
Oct  9 11:54:22 adit420s NetworkManager[3907]: get_secrets: assertion `secrets_idx < SECRETS_REQ_LAST' failed
Oct  9 11:54:22 adit420s x-session-manager[5024]: WARNING: Application 'gnome-shell.desktop' killed by signal 11

With gdb from tty1 I got the following backtrace:

(gdb) where
#0  shell_network_agent_set_password (self=0x24c6e30, request_id=0x2970d00 "/org/freedesktop/NetworkManager/Settings/3/vpn", setting_key=0x296afe0 "cookie",
    setting_value=0x2264980 "870062103 at 23834624@1349820018 at 1C523D6DC8D71C399F5148C72A77A24107214EAC") at shell-network-agent.c:413
#1  0x00007fc8db44d7bc in ffi_call_unix64 () at ../src/x86/unix64.S:75
#2  0x00007fc8db44d237 in ffi_call (cif=0x40a5938, fn=0x7fc8dde02080 <shell_network_agent_set_password>, rvalue=0x7fff8dec9c80, avalue=0x7fff8dec99e0) at ../src/x86/ffi64.c:486
#3  0x00007fc8dd227baf in ?? () from /usr/lib/libgjs.so.0
#4  0x00007fc8dd228bc0 in ?? () from /usr/lib/libgjs.so.0
#5  0x00007fc8dcd780b6 in ?? () from /usr/lib/libmozjs185.so.1.0
#6  0x00007fc8dcd61c7f in ?? () from /usr/lib/libmozjs185.so.1.0
#7  0x00007fc8dcd75f9f in ?? () from /usr/lib/libmozjs185.so.1.0
#8  0x00007fc8dcd77f9a in ?? () from /usr/lib/libmozjs185.so.1.0
#9  0x00007fc8dcd46c2c in ?? () from /usr/lib/libmozjs185.so.1.0
#10 0x00007fc8dcd6beae in ?? () from /usr/lib/libmozjs185.so.1.0
#11 0x00007fc8dcd75f9f in ?? () from /usr/lib/libmozjs185.so.1.0
#12 0x00007fc8dcd77f9a in ?? () from /usr/lib/libmozjs185.so.1.0
#13 0x00007fc8dcd46434 in ?? () from /usr/lib/libmozjs185.so.1.0
#14 0x00007fc8dcd77d5b in ?? () from /usr/lib/libmozjs185.so.1.0
#15 0x00007fc8dcd78474 in ?? () from /usr/lib/libmozjs185.so.1.0
#16 0x00007fc8dcced8e4 in JS_CallFunctionValue () from /usr/lib/libmozjs185.so.1.0
#17 0x00007fc8dd226ba6 in ?? () from /usr/lib/libgjs.so.0
#18 0x00007fc8db44d769 in ffi_closure_unix64_inner (closure=0x7fc8de260010, rvalue=0x7fff8decb2a0, reg_args=0x7fff8decb1f0, argp=0x7fff8decb2c0 "\002") at ../src/x86/ffi64.c:629
#19 0x00007fc8db44d924 in ffi_closure_unix64 () at ../src/x86/unix64.S:228
#20 0x00007fc8d5d40537 in g_simple_async_result_complete () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#21 0x00007fc8d5d40639 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#22 0x00007fc8d4807355 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007fc8d4807688 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007fc8d4807a82 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007fc8dd497f27 in meta_run () at core/main.c:555
#26 0x0000000000401e77 in main (argc=1, argv=0x7fff8decb598) at main.c:334
(gdb) down
#0  shell_network_agent_set_password (self=0x24c6e30, request_id=0x2970d00 "/org/freedesktop/NetworkManager/Settings/3/vpn", setting_key=0x296afe0 "cookie",
    setting_value=0x2264980 "870062103 at 23834624@1349820018 at 1C523D6DC8D71C399F5148C72A77A24107214EAC") at shell-network-agent.c:413
413       if (!request->is_vpn)
(gdb) l
408       g_return_if_fail (SHELL_IS_NETWORK_AGENT (self));
409
410       priv = self->priv;
411       request = g_hash_table_lookup (priv->requests, request_id);
412
413       if (!request->is_vpn)
414         {
415           value = g_slice_new0 (GValue);
416           g_value_init (value, G_TYPE_STRING);
417           g_value_set_string (value, setting_value);

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

Kernel: Linux 3.5.6 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gnome-shell depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.12.1-2
ii  gconf-service                                3.2.5-1+build1
ii  gir1.2-accountsservice-1.0                   0.6.21-6
ii  gir1.2-atk-1.0                               2.4.0-2
ii  gir1.2-caribou-1.0                           0.4.4-1
ii  gir1.2-clutter-1.0                           1.10.8-2
ii  gir1.2-cogl-1.0                              1.10.2-6
ii  gir1.2-coglpango-1.0                         1.10.2-6
ii  gir1.2-folks-0.6                             0.6.9-1+b1
ii  gir1.2-freedesktop                           1.32.1-1
ii  gir1.2-gconf-2.0                             3.2.5-1+build1
ii  gir1.2-gcr-3                                 3.4.1-3
ii  gir1.2-gdesktopenums-3.0                     3.4.2-1
ii  gir1.2-gdkpixbuf-2.0                         2.26.1-1
ii  gir1.2-gee-1.0                               0.6.4-2
ii  gir1.2-gkbd-3.0                              3.4.0.2-1
ii  gir1.2-glib-2.0                              1.32.1-1
ii  gir1.2-gmenu-3.0                             3.4.2-3
ii  gir1.2-gnomebluetooth-1.0                    3.4.2-1
ii  gir1.2-gtk-3.0                               3.4.2-4
ii  gir1.2-json-1.0                              0.14.2-1
ii  gir1.2-mutter-3.0                            3.4.1-5
ii  gir1.2-networkmanager-1.0                    0.9.4.0-6
ii  gir1.2-pango-1.0                             1.30.0-1
ii  gir1.2-polkit-1.0                            0.105-1
ii  gir1.2-soup-2.4                              2.38.1-2
ii  gir1.2-telepathyglib-0.12                    0.18.2-2
ii  gir1.2-telepathylogger-0.2                   0.4.0-1
ii  gir1.2-upowerglib-1.0                        0.9.17-1
ii  gjs                                          1.32.0-2
ii  gnome-bluetooth                              3.4.2-1
ii  gnome-icon-theme-symbolic                    3.4.0-2
ii  gnome-settings-daemon                        3.4.2+git20120925.a4c817-1
ii  gnome-shell-common                           3.4.2-2
ii  gnome-themes-standard                        3.4.2-2
ii  gsettings-desktop-schemas                    3.4.2-1
ii  libatk1.0-0                                  2.4.0-2
ii  libc6                                        2.13-35
ii  libcairo-gobject2                            1.12.2-2
ii  libcairo2                                    1.12.2-2
ii  libcanberra0                                 0.28-5
ii  libclutter-1.0-0                             1.10.8-2
ii  libcogl-pango0                               1.10.2-6
ii  libcogl9                                     1.10.2-6
ii  libcroco3                                    0.6.6-1
ii  libdbus-1-3                                  1.6.8-1
ii  libdbus-glib-1-2                             0.100-1
ii  libebook-1.2-13                              3.4.3-1
ii  libecal-1.2-11                               3.4.3-1
ii  libedataserver-1.2-16                        3.4.3-1
ii  libedataserverui-3.0-1                       3.4.3-1
ii  libffi5                                      3.0.10-3
ii  libfolks25                                   0.6.9-1+b1
ii  libgck-1-0                                   3.4.1-3
ii  libgconf-2-4                                 3.2.5-1+build1
ii  libgcr-3-1                                   3.4.1-3
ii  libgdk-pixbuf2.0-0                           2.26.1-1
ii  libgee2                                      0.6.4-2
ii  libgirepository-1.0-1                        1.32.1-1
ii  libgjs0b [libgjs0-libmozjs185-1.0]           1.32.0-2
ii  libgl1-mesa-glx [libgl1]                     8.0.4-2
ii  libglib2.0-0                                 2.33.12+really2.32.4-2
ii  libgnome-keyring0                            3.4.1-1
ii  libgnome-menu-3-0                            3.4.2-3
ii  libgstreamer0.10-0                           0.10.36-1
ii  libgtk-3-0                                   3.4.2-4
ii  libical0                                     0.48-2
ii  libjson-glib-1.0-0                           0.14.2-1
ii  libmozjs185-1.0                              1.8.5-1.0.0+dfsg-3.1
ii  libmutter0                                   3.4.1-5
ii  libnm-glib4                                  0.9.4.0-6
ii  libnm-util2                                  0.9.4.0-6
ii  libnspr4                                     2:4.9.2-1
ii  libnspr4-0d                                  2:4.9.2-1
ii  libp11-kit0                                  0.12-3
ii  libpango1.0-0                                1.30.0-1
ii  libpolkit-agent-1-0                          0.105-1
ii  libpolkit-gobject-1-0                        0.105-1
ii  libpulse-mainloop-glib0                      2.0-6
ii  libpulse0                                    2.0-6
ii  libsoup2.4-1                                 2.38.1-2
ii  libstartup-notification0                     0.12-1
ii  libtelepathy-glib0                           0.18.2-2
ii  libtelepathy-logger2                         0.4.0-1
ii  libx11-6                                     2:1.5.0-1
ii  libxcomposite1                               1:0.4.3-2
ii  libxdamage1                                  1:1.1.3-2
ii  libxext6                                     2:1.3.1-2
ii  libxfixes3                                   1:5.0-4
ii  libxi6                                       2:1.6.1-1
ii  libxml2                                      2.8.0+dfsg1-6
ii  python                                       2.7.3-2
ii  telepathy-mission-control-5                  1:5.12.3-1

Versions of packages gnome-shell recommends:
ii  gnome-contacts          3.4.1-1+b1
ii  gnome-control-center    1:3.4.2-2.1
ii  gnome-session-fallback  3.4.2.1-3
ii  gnome-user-guide        3.4.2-1+build1

gnome-shell suggests no packages.

-- no debconf information



More information about the pkg-gnome-maintainers mailing list