Bug#815313: network-manager-gnome: nm-applet crashes after connecting to OpenConnect VPN

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#815313: network-manager-gnome: nm-applet crashes after connecting to OpenConnect VPN

Mike Kupfer
Package: network-manager-gnome
Version: 1.1.90-3
Severity: normal

Dear Maintainer,

I have an account on an OpenConnect (AnyConnect) VPN.  I can
successfully connect to the VPN, but when I do, nm-applet dies.  It
leaves behind a core file with the following stack trace:

#0  0x00007fc701ef3507 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007fc701ef48da in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007fc702720b75 in g_assertion_message (
    domain=domain@entry=0x4334fc "nm-applet",
    file=file@entry=0x433288 "applet.c", line=line@entry=1227,
    func=func@entry=0x434d20 "applet_get_first_active_vpn_connection",
    message=message@entry=0x25f0560 "assertion failed: (s_con)")
    at /build/glib2.0-2.46.2/./glib/gtestutils.c:2429
#3  0x00007fc702720c0a in g_assertion_message_expr (
    domain=0x4334fc "nm-applet", file=0x433288 "applet.c", line=1227,
    func=0x434d20 "applet_get_first_active_vpn_connection",
    expr=<optimized out>) at /build/glib2.0-2.46.2/./glib/gtestutils.c:2444
#4  0x000000000041297f in ?? ()
#5  0x00000000004188fe in ?? ()
#6  0x00007fc7026fae8a in g_main_dispatch (context=0x24da480)
    at /build/glib2.0-2.46.2/./glib/gmain.c:3154
#7  g_main_context_dispatch (context=context@entry=0x24da480)
    at /build/glib2.0-2.46.2/./glib/gmain.c:3769
#8  0x00007fc7026fb230 in g_main_context_iterate (context=0x24da480,
    block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at /build/glib2.0-2.46.2/./glib/gmain.c:3840
#9  0x00007fc7026fb552 in g_main_loop_run (loop=0x24a0d70)
    at /build/glib2.0-2.46.2/./glib/gmain.c:4034
#10 0x0000000000411f22 in main ()

I see these messages in .xsession-errors, though I'm don't know if any
of them are relevant (other than the one about
applet_get_first_active_vpn_connection assertion failure):

  ** (nm-applet:6746): WARNING **: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
  [...]
  nm-applet:ERROR:applet.c:1227:applet_get_first_active_vpn_connection: assertion failed: (s_con)
  Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
  [...]
  ** Message: vpn: (openconnect,/etc/NetworkManager/VPN/nm-openconnect-service.name) cannot load legacy-only plugin

Hmm.  That last message ("cannot load legacy-only plugin") probably
explains why I can't edit the configuration for the VPN account...

This is with Xfce.

The workaround is to restart nm-applet.

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.3.0-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages network-manager-gnome depends on:
ii  dbus-x11                                     1.10.6-1
ii  dconf-gsettings-backend [gsettings-backend]  0.24.0-2
ii  gnome-icon-theme                             3.12.0-1
ii  libatk1.0-0                                  2.18.0-1
ii  libc6                                        2.21-8
ii  libcairo2                                    1.14.6-1
ii  libdbus-1-3                                  1.10.6-1
ii  libdbus-glib-1-2                             0.106-1
ii  libgdk-pixbuf2.0-0                           2.32.3-1.2
ii  libglib2.0-0                                 2.46.2-3
ii  libgtk-3-0                                   3.18.7-1
ii  libmm-glib0                                  1.4.12-1
ii  libnm0                                       1.1.90-6
ii  libnma0                                      1.1.90-3
ii  libnotify4                                   0.7.6-2
ii  libpango-1.0-0                               1.38.1-1
ii  libpangocairo-1.0-0                          1.38.1-1
ii  libsecret-1-0                                0.18.3-1
ii  mate-polkit [policykit-1-gnome]              1.12.0-1
ii  network-manager                              1.1.90-6
ii  policykit-1-gnome                            0.105-2

Versions of packages network-manager-gnome recommends:
ii  gnome-keyring                                   3.18.3-1
ii  iso-codes                                       3.65-1
ii  mate-notification-daemon [notification-daemon]  1.12.1-1
ii  mobile-broadband-provider-info                  20140317-1
ii  xfce4-notifyd [notification-daemon]             0.2.4-3+b1

Versions of packages network-manager-gnome suggests:
ii  network-manager-openconnect-gnome  1.0.2-1+b1
pn  network-manager-openvpn-gnome      <none>
pn  network-manager-pptp-gnome         <none>
pn  network-manager-vpnc-gnome         <none>

-- no debconf information

Reply | Threaded
Open this post in threaded view
|

Bug#815313: network-manager-gnome: nm-applet crashes after connecting to OpenConnect VPN

Mike Miller-2
On Sat, Feb 20, 2016 at 10:54:15 -0800, Mike Kupfer wrote:
> I have an account on an OpenConnect (AnyConnect) VPN.  I can
> successfully connect to the VPN, but when I do, nm-applet dies.  It
> leaves behind a core file with the following stack trace:

Still failing with 1.1.91-1?

So it looks like nm-applet intends to not work with 1.0.x VPN plugins,
but somehow it is loading the plugin anyway and hitting this assertion.
It would be interesting to find out how it's getting to that point and
fix the error.

Of course once I get around to uploading nm-openconnect 1.1.9x this
should no longer affect you (but potentially affect other old plugins).

--
mike

Reply | Threaded
Open this post in threaded view
|

Bug#815313: network-manager-gnome: nm-applet crashes after connecting to OpenConnect VPN

Mike Kupfer
Mike Miller wrote:

> Still failing with 1.1.91-1?

Nope, 1.1.91-1 works fine.  (Well, I can't configure OpenConnect, but I
guess that's to be expected until you update the plugin.  I can connect
using the OpenConnect VPN that I already had configured.)

thanks,
mike

Reply | Threaded
Open this post in threaded view
|

Bug#815313: network-manager-gnome: nm-applet crashes after connecting to OpenConnect VPN

Mike Miller-2
On Thu, Mar 03, 2016 at 19:49:09 -0800, Mike Kupfer wrote:
> Nope, 1.1.91-1 works fine.  (Well, I can't configure OpenConnect, but I
> guess that's to be expected until you update the plugin.  I can connect
> using the OpenConnect VPN that I already had configured.)

Also please take a look at #815668, looks like the same error to me.

--
mike

Reply | Threaded
Open this post in threaded view
|

Bug#815313: network-manager-gnome: nm-applet crashes after connecting to OpenConnect VPN

Mike Kupfer
Mike Miller wrote:

> Also please take a look at #815668, looks like the same error to me.

Agreed.

mike