Network-Manager-OpenVPN crashes after the latest update

Bug #147941 reported by Darren Albers
8
Affects Status Importance Assigned to Milestone
network-manager-openvpn (Ubuntu)
Fix Released
Medium
Philipp Kern

Bug Description

Binary package hint: network-manager-openvpn

Network-Manager-OpenVPN crashes with the latest update, the previous version did not, here is my connection log:
Oct 1 23:06:10 dpalap nm-openvpn[3956]: OpenVPN 2.0.9 i486-pc-linux-gnu [SSL] [LZO] [EPOLL] built on May 21 2007
Oct 1 23:06:10 dpalap nm-openvpn[3956]: LZO compressionme initialized
Oct 1 23:06:10 dpalap nm-openvpn[3956]: UDPv4 link local: [undef]
Oct 1 23:06:10 dpalap nm-openvpn[3956]: UDPv4 link remote: x.x.x.x:xxx
Oct 1 23:06:10 dpalap nm-openvpn[3956]: [albers.dnsalias.net] Peer Connection Initiated with x.x.x.x.
Oct 1 23:06:12 dpalap nm-openvpn[3956]: TUN/TAP device tun0 opened
Oct 1 23:06:12 dpalap nm-openvpn[3956]: ifconfig tun0 x.x.x.x pointopoint x.x.x.x mtu 1500
Oct 1 23:06:12 dpalap kernel: [ 4415.868000] tun0: Disabled Privacy Extensions
Oct 1 23:06:12 dpalap nm-openvpn[3956]: /usr/lib/network-manager-openvpn/nm-openvpn-service-openvpn-helper tun0 1500 1542 x.x.x.x x.x.x.x init
Oct 1 23:06:15 dpalap nm-openvpn[3956]: script failed: shell command exited with error status: 139
Oct 1 23:06:15 dpalap nm-openvpn[3956]: Exiting
Oct 1 23:06:16 dpalap NetworkManager: <WARN> nm_vpn_service_process_signal(): VPN failed for service 'org.freedesktop.NetworkManager.openvpn', signal 'ConnectFailed', with message 'The VPN login failed because the VPN program could not connect to the VPN server.'.
Oct 1 23:06:16 dpalap NetworkManager: <info> VPN service 'org.freedesktop.NetworkManager.openvpn' signaled state change 3 -> 6.
Oct 1 23:06:16 dpalap NetworkManager: <WARN> nm_vpn_service_stop_connection(): (VPN Service org.freedesktop.NetworkManager.openvpn): could not stop connection 'Test' because service was 6.
Oct 1 23:06:16 dpalap NetworkManager: <debug> [1191294376.067594] nm_dbus_signal_filter(): NetworkManagerInfo triggered update of VPN connection 'Test'

The old version worked fine. APPORT did catch a crash but I am wary of uploading it since it may have contained my private key password...

Revision history for this message
Philipp Kern (pkern) wrote :

Thanks for reporting this issue.

Could you please trigger the crash, let it collect information but do not report it to the bug tracker. This will leave a file in /var/crash which should not contain sensitive data (it's a textfile so you could easily look over it). I desperately need more information on this issue. I did a few patches which improved the expirience for me, but I don't know yet what causes your crash.

Changed in network-manager-openvpn:
assignee: nobody → pkern
importance: Undecided → Medium
Revision history for this message
COLIN Stéphane (bigbob-fun) wrote :

Look like it is a well know bug :

bigbob@bigbob-laptop:~$ apt-listbugs list network-manager-openvpn
Lecture des champs des paquets... Fait
Lecture de l'état des paquets... Fait
Récupération des rapports de bogue... Fait
Analyse des informations Trouvé/Corrigé... Fait
Bogues de gravité serious sur network-manager-openvpn (0.3.2svn2342-1ubuntu3 -> ) <pending>
 #441188 - network-manager-openvpn - FTBFS: configure: error: Package requirements (NetworkManager >= 0.4.1) were not met
Résumé :
 network-manager-openvpn(1 bogue)

Hope it will be fixed quickly, since I always use VPN connection in real life :-)

A++

Revision history for this message
Philipp Kern (pkern) wrote :

That's something different, Stéphane.

Revision history for this message
Darren Albers (dalbers) wrote :

Philipp, I will do it this afternoon. Thanks!

Revision history for this message
Zach (uid000) wrote :

I'm attaching the crash report generated this morning after the update.

Revision history for this message
Darren Albers (dalbers) wrote :

Philipp,

Actually the crash was still sitting in /var/crash so here it is. Hopefully this will help.

Thanks!
Darren

Revision history for this message
Philipp Kern (pkern) wrote :

Thanks for both reports, currently retracing them.

Revision history for this message
Philipp Kern (pkern) wrote :

Ok, I think I got the problem. I will prepare an upload in a few hours (the offending patch is 06_pull_dns_domain.diff).

Revision history for this message
Philipp Kern (pkern) wrote :

A fixed package is on its way to the publisher. Please test the new version and report if it still causes problems. The problem was some incorrect string handling when no search domain was sent by the server.

Changed in network-manager-openvpn:
status: New → Fix Committed
Revision history for this message
Philipp Kern (pkern) wrote :

network-manager-openvpn (0.3.2svn2342-1ubuntu4) gutsy; urgency=low

  * Fixed a null pointer dereference (LP: #147941) and fixed a leak
    on the way.

 -- Philipp Kern <email address hidden> Tue, 02 Oct 2007 15:37:32 +0200

Changed in network-manager-openvpn:
status: Fix Committed → Fix Released
Revision history for this message
COLIN Stéphane (bigbob-fun) wrote :

Thanks Philipp,

Just updated network-manager-openvpn now and all seem to come back to the right way, since I'm now connected to my office properly.

A++

Revision history for this message
Zach (uid000) wrote :

Definitely seems to be working now.

Revision history for this message
Philipp Kern (pkern) wrote :

Fine. Sorry for the inconveniences caused.

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.