NetworkManager crashed with SIGSEGV in _dbus_string_init_const()

Bug #1031274 reported by Ricardo J. Moreira Teixeira
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

After getting connected, or by eth0 or by wlan0, to my router, I try to establish a openVPN.
At first it establishes then it gives the error (taken from syslog):

Jul 31 12:27:15 rteixeira-laptop NetworkManager[5224]: <info> VPN connection 'xxxxxxxxxxx' (IP Config Get) complete.
Jul 31 12:27:15 rteixeira-laptop NetworkManager[5224]: <info> Policy set 'Auto Ethernet' (eth0) as default for IPv4 routing and DNS.
Jul 31 12:27:15 rteixeira-laptop NetworkManager[5224]: <info> DNS: starting dnsmasq...
Jul 31 12:27:15 rteixeira-laptop dnsmasq[6137]: cannot access directory /etc/NetworkManager/dnsmasq.d: No such file or directory
Jul 31 12:27:15 rteixeira-laptop dnsmasq[6137]: FAILED to start up
Jul 31 12:27:15 rteixeira-laptop kernel: [ 757.341874] NetworkManager[5224]: segfault at 726f7071 ip b719c616 sp bf965714 error 4 in libc-2.15.so[b711a000+19f000]
Jul 31 12:27:15 rteixeira-laptop NetworkManager[6141]: <info> NetworkManager (version 0.9.5.96) is starting...

ProblemType: Crash
DistroRelease: Ubuntu 12.10
Package: network-manager 0.9.6.0~git201207271115.edb85e9-0ubuntu1
ProcVersionSignature: Ubuntu 3.5.0-6.6-generic 3.5.0
Uname: Linux 3.5.0-6-generic i686
ApportVersion: 2.4-0ubuntu6
Architecture: i386
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
CrashCounter: 1
Date: Tue Jul 31 12:22:41 2012
ExecutablePath: /usr/sbin/NetworkManager
IfupdownConfig:
 auto lo
 iface lo inet loopback
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta i386 (20110330)
NetworkManager.state:
 [main]
 NetworkingEnabled=true
 WirelessEnabled=true
 WWANEnabled=true
ProcCmdline: NetworkManager
ProcEnviron:
 LANGUAGE=en_US:en
 TERM=linux
 PATH=(custom, no user)
 LANG=en_US.UTF-8
RfKill:

SegvAnalysis:
 Segfault happened at: 0xb7116616: movdqu (%edi),%xmm1
 PC (0xb7116616) ok
 source "(%edi)" (0x726f7069) not located in a known VMA region (needed readable region)!
 destination "%xmm1" ok
SegvReason: reading unknown VMA
Signal: 11
SourcePackage: network-manager
StacktraceTop:
 ?? () from /lib/i386-linux-gnu/libc.so.6
 ?? () from /lib/i386-linux-gnu/libdbus-1.so.3
 ?? () from /lib/i386-linux-gnu/libdbus-1.so.3
 dbus_message_iter_append_basic () from /lib/i386-linux-gnu/libdbus-1.so.3
 dbus_message_append_args_valist () from /lib/i386-linux-gnu/libdbus-1.so.3
Title: NetworkManager crashed with SIGSEGV in dbus_message_iter_append_basic()
UpgradeStatus: Upgraded to quantal on 2012-07-30 (0 days ago)
UserGroups:

nmcli-dev:
 DEVICE TYPE STATE DBUS-PATH
 eth0 802-3-ethernet connected /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.5.96 connected enabled enabled enabled enabled disabled

Revision history for this message
Ricardo J. Moreira Teixeira (tchambalaia-gmail) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 _dbus_string_init_const (str=0xbfc2fe4c, value=0x726f7069 <Address 0x726f7069 out of bounds>) at ../../dbus/dbus-string.c:216
 _dbus_check_is_valid_utf8 (name=0x726f7069 <Address 0x726f7069 out of bounds>) at ../../dbus/dbus-marshal-validate.c:1225
 dbus_message_iter_append_basic (value=0x9e750c8, type=115, iter=0xbfc2ff0c) at ../../dbus/dbus-message.c:2534
 dbus_message_iter_append_basic (iter=0xbfc2ff0c, type=115, value=0x9e750c8) at ../../dbus/dbus-message.c:2514
 dbus_message_append_args_valist (message=0x9e7f418, first_arg_type=115, var_args=0xbfc2ffdc "") at ../../dbus/dbus-message.c:1702

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceSource.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in network-manager (Ubuntu):
importance: Undecided → Medium
summary: - NetworkManager crashed with SIGSEGV in dbus_message_iter_append_basic()
+ NetworkManager crashed with SIGSEGV in _dbus_string_init_const()
tags: removed: need-i386-retrace
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

What are the dns settings provided by your connection and by the VPN?

Changed in network-manager (Ubuntu):
status: New → Incomplete
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

I think this should be fixed with a recent upload of network-manager:

 network-manager (0.9.6.0~git201207271115.edb85e9-0ubuntu4) quantal; urgency=low
 .
   * debian/tests/nm, debian/tests/dnsmasq: run ifblacklist_migrate.sh while
     setting up the tests; so that we have some devices we can manage and use
     to get proper data for the tests.
   * debian/patches/dnsmasq-dbus-updates.patch: don't crash when building the
     dbus message for updating dnsmasq's nameservers. (LP: #1031274)

See https://launchpad.net/ubuntu/+source/network-manager/0.9.6.0~git201207271115.edb85e9-0ubuntu4.

Sorry for the inconvenience. Since this should cover your issue, I'll mark this bug as Fix Released. Please feel free to reopen or file a new bug if there are any further issues.

visibility: private → public
Changed in network-manager (Ubuntu):
status: Incomplete → Fix Released
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.