nm-openvpn-service crashed with SIGSEGV in strlen()

Bug #345768 reported by Olaf Lenz
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
network-manager-openvpn (Ubuntu)
Invalid
Medium
Unassigned
Nominated for Lucid by Olaf Lenz

Bug Description

Binary package hint: network-manager-openvpn

Using networkmanager on an up-to-date (Kubuntu) Jaunty installation on an AMD64 laptop, connected to the net via wlan.

When I tried to open an OpenVPN connection via the NetworkManager plasmoid of Kubuntu, this crash occured.

Excerpt from /var/log/daemon.log:
Mar 20 08:53:00 qwghlm NetworkManager: <info> Starting VPN service 'org.freedesktop.NetworkManager.openvpn'...
Mar 20 08:53:00 qwghlm NetworkManager: <info> VPN service 'org.freedesktop.NetworkManager.openvpn' started (org.freedesktop.NetworkManager.openvpn), PID 30159
Mar 20 08:53:00 qwghlm NetworkManager: <info> VPN service 'org.freedesktop.NetworkManager.openvpn' just appeared, activating connections
Mar 20 08:53:00 qwghlm NetworkManager: <info> VPN plugin state changed: 3
Mar 20 08:53:00 qwghlm NetworkManager: <info> VPN connection 'New VPN Connection' (Connect) reply received.
Mar 20 08:53:00 qwghlm nm-openvpn[30164]: OpenVPN 2.1_rc11 x86_64-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] built on Mar 9 2009
Mar 20 08:53:01 qwghlm NetworkManager: <WARN> vpn_service_watch_cb(): VPN service 'org.freedesktop.NetworkManager.openvpn' died with signal 11
Mar 20 08:53:01 qwghlm NetworkManager: <WARN> connection_state_changed(): The name org.freedesktop.NetworkManager.openvpn was not provided by any .service files
Mar 20 08:53:01 qwghlm NetworkManager: <info> (wlan0): writing resolv.conf to /sbin/resolvconf
Mar 20 08:53:01 qwghlm NetworkManager: <info> Policy set 'Guest_key' (wlan0) as default for routing and DNS.
Mar 20 08:53:01 qwghlm NetworkManager: <info> VPN service 'org.freedesktop.NetworkManager.openvpn' disappeared,cancelling connections
Mar 20 08:54:08 qwghlm acpid: client has disconnected

Excerpt from /var/log/messages:
Mar 20 08:53:00 qwghlm kernel: [ 3544.435688] nm-openvpn-serv[30159]: segfault at 0 ip 00007ff6dbd8cc60 sp 00007fffe5265cc8 error 4 in libc-2.9.so[7ff6dbd0c000+168000]

ProblemType: Crash
Architecture: amd64
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/lib/network-manager-openvpn/nm-openvpn-service
Package: network-manager-openvpn 0.7.1~20090213+bzr14-0ubuntu1
ProcAttrCurrent: unconfined
ProcCmdline: /usr/lib/network-manager-openvpn/nm-openvpn-service
ProcEnviron: PATH=(custom, no user)
Signal: 11
SourcePackage: network-manager-openvpn
StacktraceTop:
 strlen () from /lib/libc.so.6
 ?? ()
 ?? ()
 g_main_context_dispatch ()
 ?? () from /usr/lib/libglib-2.0.so.0
Title: nm-openvpn-service crashed with SIGSEGV in strlen()
Uname: Linux 2.6.28-11-generic x86_64
UserGroups:

Revision history for this message
Olaf Lenz (olenz) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:strlen () at ../sysdeps/x86_64/strlen.S:48
handle_management_socket (
nm_openvpn_socket_data_cb (source=0xf390e0,
IA__g_main_context_dispatch (context=0xf2fe50)
g_main_context_iterate (context=0xf2fe50, block=1,

Revision history for this message
Apport retracing service (apport) wrote : Symbolic threaded stack trace
Revision history for this message
Apport retracing service (apport) wrote : Stack trace with source code
Changed in network-manager-openvpn:
importance: Undecided → Medium
Revision history for this message
Olaf Lenz (olenz) wrote :

I want to add, that I didn't enter any password data into the NetWorkManager Plasmoid dialog, but expected to be asked for the password at a later stage. Maybe this was the cause for the crash?

Revision history for this message
Olaf Lenz (olenz) wrote :

I just want to confirm: The bug still happens in a newly installed karmic RC.

Revision history for this message
Justin Huff (jjhuff) wrote :

Olaf,

Looks like the missing password is the key. I added the PW and I'm now crash free!

Revision history for this message
Olaf Lenz (olenz) wrote :

Ok, nice catch.
Not a very nice bug, though - I don't like to store my PW on the disk...

Revision history for this message
dino99 (9d9) wrote :

This version is outdated and no more supported

Changed in network-manager-openvpn (Ubuntu):
status: New → Invalid
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.