nm-connection-editor crashed with SIGSEGV in g_closure_invoke()

Bug #1295439 reported by Robert Bruce Park
350
This bug affects 70 people
Affects Status Importance Assigned to Milestone
network-manager-applet (Ubuntu)
Confirmed
High
Mathieu Trudel-Lapierre

Bug Description

I exported my VPN config from my other computer, and then attempted to import that config on this system. It crashed both times I tried.

ProblemType: Crash
DistroRelease: Ubuntu 14.04
Package: network-manager-gnome 0.9.8.8-0ubuntu3
ProcVersionSignature: Ubuntu 3.13.0-18.38-generic 3.13.6
Uname: Linux 3.13.0-18-generic x86_64
ApportVersion: 2.13.3-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Mar 20 17:06:26 2014
ExecutablePath: /usr/bin/nm-connection-editor
IfupdownConfig:
 # interfaces(5) file used by ifup(8) and ifdown(8)
 auto lo
 iface lo inet loopback
InstallationDate: Installed on 2014-03-20 (0 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
IpRoute:
 default via 192.168.0.1 dev wlan0 proto static
 192.168.0.0/24 dev wlan0 proto kernel scope link src 192.168.0.19 metric 9
NetworkManager.state:
 [main]
 NetworkingEnabled=true
 WirelessEnabled=true
 WWANEnabled=true
 WimaxEnabled=true
ProcCmdline: /usr/bin/nm-connection-editor --show --type vpn
ProcEnviron:
 LANGUAGE=en_CA:en
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
SegvAnalysis:
 Segfault happened at: 0x252feb0: add %eax,(%rax)
 PC (0x0252feb0) in non-executable VMA region: 0x02386000-0x02866000 rw-p [heap]
 source "%eax" ok
 destination "(%rax)" (0x0252feb0) ok
SegvReason: executing writable VMA [heap]
Signal: 11
SourcePackage: network-manager-applet
StacktraceTop:
 ?? ()
 ?? ()
 ?? ()
 g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
 ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
Title: nm-connection-editor crashed with SIGSEGV in g_closure_invoke()
UpgradeStatus: Upgraded to trusty on 2014-03-20 (0 days ago)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
nmcli-con:
 NAME UUID TYPE TIMESTAMP TIMESTAMP-REAL AUTOCONNECT READONLY DBUS-PATH
 Wired connection 1 5ce4c2ae-2998-4497-b391-474472c20c59 802-3-ethernet 1395348855 Thu 20 Mar 2014 01:54:15 PM PDT yes no /org/freedesktop/NetworkManager/Settings/1
 It Hurts When IP 9fc09318-c09f-43b4-97ea-6b7eb4e8100a 802-11-wireless 1395360255 Thu 20 Mar 2014 05:04:15 PM PDT yes no /org/freedesktop/NetworkManager/Settings/0
nmcli-dev:
 DEVICE TYPE STATE DBUS-PATH
 eth0 802-3-ethernet unavailable /org/freedesktop/NetworkManager/Devices/1
 wlan0 802-11-wireless connected /org/freedesktop/NetworkManager/Devices/0
nmcli-nm:
 RUNNING VERSION STATE NET-ENABLED WIFI-HARDWARE WIFI WWAN-HARDWARE WWAN
 running 0.9.8.8 connected enabled enabled enabled enabled disabled

Revision history for this message
Robert Bruce Park (robru) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceSource:
 #0 0x000000000252feb0 in ?? ()
 #1 0x0000000000428408 in ?? ()
 #2 0x000000000042d85d in ?? ()
 #3 0x00007fe17e2143b8 in ?? ()
 #4 0x0000000000000000 in ?? ()
StacktraceTop:
 ?? ()
 ?? ()
 ?? ()
 ?? ()
 ?? ()

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in network-manager-applet (Ubuntu):
status: New → Invalid
Revision history for this message
Apport retracing service (apport) wrote : Crash report cannot be processed

Thank you for your report!

However, processing it in order to get sufficient information for the
developers failed (it does not generate a useful symbolic stack trace). This
might be caused by some outdated packages which were installed on your system
at the time of the report:

outdated debug symbol package for libnm-gtk0: package version 0.9.8.8-0ubuntu3 dbgsym version 0.9.8.0-1ubuntu5.1
outdated debug symbol package for network-manager-gnome: package version 0.9.8.8-0ubuntu3 dbgsym version 0.9.8.0-1ubuntu5.1

Please upgrade your system to the latest package versions. If you still
encounter the crash, please file a new report.

Thank you for your understanding, and sorry for the inconvenience!

tags: removed: need-amd64-retrace
information type: Private → Public
Changed in network-manager-applet (Ubuntu):
assignee: nobody → Mathieu Trudel-Lapierre (mathieu-tl)
Revision history for this message
rolseth (steve-rippde) wrote :

Same error on import of .ovpn file. I have updated to current releases tonight and error persists.

Revision history for this message
Felipe van Schaik Willig (felipevsw) wrote :

Same error when importing my company's .ovpn saved config file. Before the import I dist-upgraded.
Why is this marked as invalid?

Changed in network-manager-applet (Ubuntu):
status: Invalid → New
Revision history for this message
Felipe van Schaik Willig (felipevsw) wrote :

I changed the status from Invalid to New because this issue is not invalid. Forgive me if I overstepped boundaries, but less than a month away from the release, this issue will make the new version unusable for me (and I bet for a lot of people as well).

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in network-manager-applet (Ubuntu):
status: New → Confirmed
Revision history for this message
Faris Chebib (octaflop) wrote :

Can confirm that importing an .ovpn which works on 13.10 just crashed my window.

Revision history for this message
Hereinoz (davrosjos) wrote :

The VPN can be set up using the manual process, entering the locations of the certificate files, etc. It is just the import process which is not working.

Revision history for this message
Felipe van Schaik Willig (felipevsw) wrote :

Even using the manual process instead of the import one, it's still a little messy for me. I can't select more than one certificate file. After I select the first one, the next one I select make the previous selection "disappear", so I have to select it again, but then the other one disappear, and so on... I still can't configure it.

Revision history for this message
Francesco Astegiano (francesco-astegiano-7) wrote :

Also affecting 14.04 gnome beta 2 both using nm-connection-editor and network-manager-applet, it just crashes as soon as the ovpn file is imported.

Manual configuration also doesn't work, it goes into loop when importing p12 file with error
(nm-connection-editor:8645): Gtk-CRITICAL **: gtk_file_chooser_select_filename: assertion 'filename != NULL' failed

Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

It renders essential functionality of the package (or a dependent one) broken.

Changed in network-manager-applet (Ubuntu):
importance: Undecided → High
Revision history for this message
Leon (leonbo) wrote :

I'm having the same issue. Importing a previously export .ovpn file crashes the applet. Manually recreating the configuration is impossible because when you selectie a .p12 file the gui becomes unresponsive.

Revision history for this message
neilpryde (neilpryde) wrote :

Exactly the same behaviour. After selecting the first p12 file, the cpu load goes up to 100% for the nm process.

Revision history for this message
Jonathan MIlls (jonmills-b) wrote :

This bug affects me also. I have a clean 14.04 install. Five different OpenVPN profiles, all that worked in 13.10. The window crashes during import. We also run an OpenVPN Access Server -- like the commercial variety SSL VPN. This exports ovpn profiles with inline base64-encoded certs. nm-connection-editor chokes on this also.

Revision history for this message
Kamal Lakis (kamlakis) wrote :

same problem here on importing both openvpn configuration (.ovpn) and vpnc configuration (.pcf)

please note that both packages network-manager-openvpn and network-manager-vpnc was installed and those configurations was working fine with previous versions of ubutnu

Revision history for this message
Traxpoint (traxpoint) wrote :

After reading in a config.ovpn it crashes.
dmesg out:
nm-connection-e[9712]: segfault at a8fc50 ip 0000000000a8fc50 sp 00007fffd02726c8 error 15

Revision history for this message
Mathew Yanovsky (mathew-yanovsky) wrote :

Similar problem after trying to set up OpenVPN connection manually: after selecting .p12 key file as a 'User certificate:'. CPU load goes to 100% and NetworkManager responds poorly until the configuration window is closed. There is no way to save such a configuration.
Ubuntu 13.10:
network-manager 0.9.8.0-0ubuntu22
network-manager-gnome 0.9.8.0-1ubuntu5.1
network-manager-openvpn 0.9.8.2-1ubuntu2
network-manager-openvpn-gnome 0.9.8.2-1ubuntu2

Revision history for this message
Niclas Lockner (niclasl) wrote :

Output from Valgrind before the crash

Revision history for this message
Felix Bouleau (felixfelox) wrote :

I'm also having this problem - anything I can do to help? Running Xubuntu 14.04.

Revision history for this message
Carlos Tavares Jr (carlosmtavaresjr) wrote :

Same issue here. I already reverted back to ubuntu 12.04 lts as I need openvpn for my work. Any fix available?

Revision history for this message
Ole Jon Bjørkum (olejonbj) wrote :

Having the same problem on Ubuntu 14.04. Creating the connection manually through nm-connection-editor works fine, but importing makes it crash.

Revision history for this message
gumaflux (l-infs-g) wrote :

Same problem on Ubuntu 14.04, importing configuration causes Network Manager Applet to crash.

Revision history for this message
Leon (leonbo) wrote :

When selecting my .p12 file from nm-connection-editor I get a lot of these errors:

** (nm-connection-editor:10357): WARNING **: Invalid setting VPN: remote
** (nm-connection-editor:10357): WARNING **: Invalid setting VPN: remote
** (nm-connection-editor:10357): WARNING **: Invalid setting VPN: remote
** (nm-connection-editor:10357): WARNING **: Invalid setting VPN: remote
** (nm-connection-editor:10357): WARNING **: Invalid setting VPN: remote
** (nm-connection-editor:10357): WARNING **: Invalid setting VPN: remote
(nm-connection-editor:10357): Gtk-CRITICAL **: gtk_file_chooser_select_filename: assertion 'filename != NULL' failed
(nm-connection-editor:10357): Gtk-CRITICAL **: gtk_file_chooser_select_filename: assertion 'filename != NULL' failed

Causing the 100% cpu usage.

Revision history for this message
pheidrias (5-launchpad-net-pheidrias-info) wrote :

Cannot add profile, too. Interestingly, I was able to add a profile on my other PC some time before, when using Ubuntu GNOME 14.04 beta version!
So the bug may have come into game between beta and todays Ubuntu GNOME !

I do get
kernel: [33342.541455] nm-connection-e[17696]: segfault at 125a700 ip 000000000125a700 sp 00007fffacbee168 error 15
and the corresponding crash after some second after having selected a .pcf file (cisco).

When I try to connect to a manually setup VPN, it gives it a try, but fails after some seconds:

May 11 07:16:11 guntram-ThinkPad-T400 NetworkManager[830]: <info> Starting VPN service 'vpnc'...
May 11 07:16:11 guntram-ThinkPad-T400 NetworkManager[830]: <info> VPN service 'vpnc' started (org.freedesktop.NetworkManager.vpnc), PID 17746
May 11 07:16:11 guntram-ThinkPad-T400 NetworkManager[830]: <info> VPN service 'vpnc' appeared; activating connections
May 11 07:16:11 guntram-ThinkPad-T400 NetworkManager[830]: <info> VPN plugin state changed: init (1)
May 11 07:16:18 guntram-ThinkPad-T400 NetworkManager[830]: <info> VPN plugin state changed: starting (3)
May 11 07:16:18 guntram-ThinkPad-T400 NetworkManager[830]: <info> VPN connection 'VPN-Verbindung 1' (Connect) reply received.
May 11 07:16:18 guntram-ThinkPad-T400 NetworkManager[830]: SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/tun0, iface: tun0)
May 11 07:16:18 guntram-ThinkPad-T400 NetworkManager[830]: SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/tun0, iface: tun0): no ifupdown configuration found.
May 11 07:16:18 guntram-ThinkPad-T400 NetworkManager[830]: <warn> /sys/devices/virtual/net/tun0: couldn't determine device driver; ignoring...
May 11 07:16:34 guntram-ThinkPad-T400 NetworkManager[830]: SCPlugin-Ifupdown: devices removed (path: /sys/devices/virtual/net/tun0, iface: tun0)
May 11 07:16:34 guntram-ThinkPad-T400 NetworkManager[830]: <warn> VPN plugin failed: 1
May 11 07:16:34 guntram-ThinkPad-T400 NetworkManager[830]: <info> VPN plugin state changed: stopped (6)
May 11 07:16:34 guntram-ThinkPad-T400 NetworkManager[830]: <info> VPN plugin state change reason: 0
May 11 07:16:34 guntram-ThinkPad-T400 NetworkManager[830]: <info> Policy set 'Schmidts' (wlan0) as default for IPv4 routing and DNS.
May 11 07:16:34 guntram-ThinkPad-T400 NetworkManager[830]: <warn> error disconnecting VPN: Could not process the request because no VPN connection was active.
May 11 07:16:39 guntram-ThinkPad-T400 NetworkManager[830]: <info> VPN service 'vpnc' disappeared

Another "Fun Fact": The "working" version on my other PC cannot cope with saved passwords (would not connect - only when entering the password each time) - but I suppose that's another (Gnome Keyring feat. Heartbleed?) problem...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.