NetworkManager daemon segfaults on start in read_one_ip_address_or_route
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
After the update to 13.10 my network didn't come back up. After a bit of investigation I found the following problem:
root@Drazi# gdb --args NetworkManager --no-daemon
(gdb) r
Starting program: /usr/sbin/
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_
[New Thread 0x7ffff2706700 (LWP 11458)]
NetworkManager[
NetworkManager[
NetworkManager[
[New Thread 0x7ffff1f05700 (LWP 11459)]
NetworkManager[
NetworkManager[
NetworkManager[
[New Thread 0x7ffff1704700 (LWP 11460)]
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
(NetworkManager
(NetworkManager
(NetworkManager
(NetworkManager
NetworkManager[
NetworkManager[
(NetworkManager
NetworkManager[
(NetworkManager
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
NetworkManager[
Program received signal SIGSEGV, Segmentation fault.
0x00000000004aec93 in read_one_
293 reader.c: No such file or directory.
(gdb) bt
#0 0x00000000004aec93 in read_one_
#1 ip_address_
#2 0x00000000004ae34d in read_one_
#3 0x00007ffff7b91c58 in nm_setting_
#4 0x00000000004af11e in read_setting (setting_
#5 nm_keyfile_
#6 0x00000000004ad0eb in nm_keyfile_
#7 0x00000000004a9cec in _internal_
#8 0x00000000004aa5ac in read_connections (config=<optimized out>) at plugin.c:118
#9 get_connections (config=<optimized out>) at plugin.c:382
#10 0x000000000049e6e1 in load_connections (self=0x72b320) at nm-settings.c:176
#11 0x00000000004a0314 in nm_settings_
#12 0x00000000004a04aa in get_property (object=<optimized out>, prop_id=1, value=0x751740, pspec=0x72b210) at nm-settings.c:1811
#13 0x00007ffff5d1585b in g_object_
#14 0x000000000049d84b in notify (object=0x72b320, pspec=0x72b210) at nm-settings.c:392
#15 0x00007ffff5d0d188 in g_closure_invoke () from /usr/lib/
#16 0x00007ffff5d1e337 in ?? () from /usr/lib/
#17 0x00007ffff5d26829 in g_signal_
#18 0x00007ffff5d26ae2 in g_signal_emit () from /usr/lib/
#19 0x00007ffff5d11505 in ?? () from /usr/lib/
#20 0x00007ffff5d13abb in g_object_notify () from /usr/lib/
#21 0x000000000049e67b in unmanaged_
#22 0x00000000004a11a8 in nm_settings_new (config_
#23 0x0000000000424d82 in main (argc=1, argv=0x7fffffff
(gdb) disas $rip,+1
Dump of assembler code from 0x4aec93 to 0x4aec94:
=> 0x00000000004aec93 <ip_address_
End of assembler dump.
(gdb) p/x $rax
$2 = 0xa703f2e2a45f3400
(gdb) info locals
plen_str = <optimized out>
value = 0x76a150 ""
plen = 4156233204
metric = 32767
gateway_str = <optimized out>
metric_str = <optimized out>
current = 0x76a150 ""
result = <optimized out>
address_str = 0x0
error = 0xa703f2e2a45f3400 <Address 0xa703f2e2a45f3400 out of bounds>
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: network-manager 0.9.8.0-0ubuntu22
ProcVersionSign
Uname: Linux 3.11.0-12-generic x86_64
NonfreeKernelMo
ApportVersion: 2.12.5-0ubuntu2
Architecture: amd64
Date: Fri Oct 18 15:26:36 2013
IfupdownConfig:
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
InstallationDate: Installed on 2012-11-07 (344 days ago)
InstallationMedia: Kubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.1)
IpRoute:
default via 192.168.11.1 dev eth0
192.168.11.0/24 dev eth0 proto kernel scope link src 192.168.11.15
MarkForUpload: True
NetworkManager.
[main]
NetworkingEnab
WirelessEnable
WWANEnabled=true
WimaxEnabled=true
SourcePackage: network-manager
UpgradeStatus: Upgraded to saucy on 2013-10-18 (0 days ago)
nmcli-con:
Error: command ['nmcli', '-f', 'all', 'con'] failed with exit code 9:
** (process:11048): WARNING **: Could not initialize NMClient /org/freedeskto
Error: nmcli (0.9.8.0) and NetworkManager (unknown) versions don't match. Force execution using --nocheck, but the results are unpredictable.
nmcli-dev: Error: command ['nmcli', '-f', 'all', 'dev'] failed with exit code 8: Error: NetworkManager is not running.
nmcli-nm:
RUNNING VERSION STATE NET-ENABLED WIFI-HARDWARE WIFI WWAN-HARDWARE WWAN
not running unknown unknown unknown unknown unknown unknown unknown
The lines
addresses=
routes=
in [ipv4] lead to the crash.
I tried to attach a file, but Launchpad ignores me...