[Pkg-utopia-maintainers] Bug#707204: network-manager: Segfault after wired connection established
Joerg Dietrich
joerg at dietrich.net
Wed May 8 07:56:49 UTC 2013
Package: network-manager
Version: 0.9.8.0-4
Severity: important
Dear Maintainer,
* What led up to the situation?
After establishing a wired DHCP connection, NetworkManager segfaults. This does not happen for a wireless WPA2 DHCP connection.
* What exactly did you do (or not do) that was effective (or
ineffective)?
rebooted, restarted the network-manager several times.
* What was the outcome of this action?
No change.
Backtrace from the debug package:
NetworkManager[1221]: <info> Policy set 'Wired connection 1' (eth0) as default for IPv4 routing and DNS.
NetworkManager[1221]: <info> Activation (eth0) successful, device activated.
NetworkManager[1221]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) starting DHCPv6 as requested by IPv6 router...
NetworkManager[1221]: nm_setting_ip6_config_get_dhcp_hostname: assertion `NM_IS_SETTING_IP6_CONFIG (setting)' failed
NetworkManager[1221]: <warn> Failed to read /etc/machine-id to generate DHCPv6 DUID: (4) Failed to open file '/etc/machine-id': No such file or directory
NetworkManager[1221]: <info> Activation (eth0) Beginning DHCPv6 transaction (timeout in 45 seconds)
Program received signal SIGSEGV, Segmentation fault.
nm_dhcp_dhclient_escape_duid (duid=duid at entry=0x0)
at nm-dhcp-dhclient-utils.c:267
267 nm-dhcp-dhclient-utils.c: No such file or directory.
(gdb) bt full
#0 nm_dhcp_dhclient_escape_duid (duid=duid at entry=0x0)
at nm-dhcp-dhclient-utils.c:267
escaped = 0x7bd010 "/var/lib/NetworkManager/dhclient6-12fadcd1-2881-4c29-b313-2af8368ff220-eth0.lease"
s = <optimized out>
d = <optimized out>
#1 0x0000000000483796 in dhclient_start (client=<optimized out>,
mode_opt=0x4d2163 "-S", duid=0x0, release=0) at nm-dhcp-dhclient.c:503
priv = 0x78c550
argv = 0x0
pid = -1
error = 0x0
iface = 0x7bf870 "eth0"
uuid = 0x7d0fe0 "12fadcd1-2881-4c29-b313-2af8368ff220"
system_bus_address = <optimized out>
binary_name = <optimized out>
cmd_str = <optimized out>
pid_file = 0x7d12b0 "/var/run/dhclient6-eth0.pid"
system_bus_address_env = 0x0
ipv6 = 1
success = <optimized out>
log_domain = <optimized out>
escaped = <optimized out>
---Type <return> to continue, or q <return> to quit---
__PRETTY_FUNCTION__ = "dhclient_start"
#2 0x000000000047f0a4 in nm_dhcp_client_start_ip6 (self=self at entry=0x78c4d0,
s_ip6=s_ip6 at entry=0x0, dhcp_anycast_addr=dhcp_anycast_addr at entry=0x0,
hostname=hostname at entry=0x7a5f70 "shiraz", info_only=info_only at entry=1)
at nm-dhcp-client.c:485
priv = 0x78c4f0
escaped = <optimized out>
__PRETTY_FUNCTION__ = "nm_dhcp_client_start_ip6"
#3 0x0000000000481758 in client_start (self=self at entry=0x79ad90,
iface=iface at entry=0x7af500 "eth0", hwaddr=hwaddr at entry=0x7fffec002d30,
uuid=uuid at entry=0x7b4d50 "12fadcd1-2881-4c29-b313-2af8368ff220",
ipv6=ipv6 at entry=1, s_ip4=s_ip4 at entry=0x0, s_ip6=s_ip6 at entry=0x0,
timeout=timeout at entry=0, dhcp_anycast_addr=dhcp_anycast_addr at entry=0x0,
hostname=0x7a5f70 "shiraz", info_only=info_only at entry=1)
at nm-dhcp-manager.c:430
priv = 0x79adb0
client = 0x78c4d0
success = 0
__PRETTY_FUNCTION__ = "client_start"
#4 0x00000000004821b5 in nm_dhcp_manager_start_ip6 (self=0x79ad90,
iface=0x7af500 "eth0", hwaddr=hwaddr at entry=0x7fffec002d30,
uuid=uuid at entry=0x7b4d50 "12fadcd1-2881-4c29-b313-2af8368ff220",
s_ip6=s_ip6 at entry=0x0, timeout=0,
---Type <return> to continue, or q <return> to quit---
dhcp_anycast_addr=dhcp_anycast_addr at entry=0x0, info_only=1)
at nm-dhcp-manager.c:520
priv = 0x7a5f70
hostname = <optimized out>
__PRETTY_FUNCTION__ = "nm_dhcp_manager_start_ip6"
#5 0x000000000042b500 in dhcp6_start (self=self at entry=0x7b00b0,
connection=<optimized out>, connection at entry=0x7b3000, dhcp_opt=1,
reason=reason at entry=0x7fffffffdb0c) at nm-device.c:2499
priv = 0x7b00d0
ret = NM_ACT_STAGE_RETURN_FAILURE
anycast = 0x0
tmp = 0x7fffec002d30
hwaddr_len = 6
hwaddr = <optimized out>
__PRETTY_FUNCTION__ = "dhcp6_start"
#6 0x0000000000432791 in ip6_addrconf_complete (ip6_manager=0x7d15e0,
ifindex=<optimized out>, dhcp_opts=1, success=1, user_data=<optimized out>)
at nm-device.c:2581
self = 0x7b00b0
priv = 0x7b00d0
connection = 0x7b3000
ret = <optimized out>
reason = NM_DEVICE_STATE_REASON_NONE
---Type <return> to continue, or q <return> to quit---
__PRETTY_FUNCTION__ = "ip6_addrconf_complete"
#7 0x00007ffff5b9e6e0 in g_closure_invoke ()
from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
No symbol table info available.
#8 0x00007ffff5baf750 in ?? ()
from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
No symbol table info available.
#9 0x00007ffff5bb76bc in g_signal_emit_valist ()
from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
No symbol table info available.
#10 0x00007ffff5bb7852 in g_signal_emit ()
from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
No symbol table info available.
#11 0x000000000048809f in finish_addrconf (user_data=0x7bf6f0)
at nm-ip6-manager.c:457
info = 0x7bf6f0
device = 0x78d4a0
manager = 0x7d15e0
ifindex = 2
__PRETTY_FUNCTION__ = "finish_addrconf"
#12 0x00007ffff58df355 in g_main_context_dispatch ()
from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#13 0x00007ffff58df688 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#14 0x00007ffff58dfa82 in g_main_loop_run ()
from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#15 0x000000000042767d in main (argc=1, argv=0x7fffffffe6f8) at main.c:627
opt_ctx = <optimized out>
become_daemon = 0
g_fatal_warnings = 0
pidfile = 0x715bd0 "/var/run/NetworkManager/NetworkManager.pid"
state_file = 0x715db0 "/var/lib/NetworkManager/NetworkManager.state"
config_path = 0x0
plugins = 0x0
log_level = 0x0
log_domains = 0x0
connectivity_uri = 0x0
connectivity_interval = -1
connectivity_response = 0x0
wifi_enabled = <optimized out>
net_enabled = <optimized out>
wwan_enabled = <optimized out>
wimax_enabled = <optimized out>
success = 1
---Type <return> to continue, or q <return> to quit---
show_version = 0
policy = 0x7a15c0
vpn_manager = 0x721800
dns_mgr = 0x729830
dbus_mgr = 0x7168a0
sup_mgr = 0x76a350
dhcp_mgr = 0x79ad90
fw_mgr = 0x721d40
settings = 0x71ff30
config = 0x716650
monitor = <optimized out>
error = 0x0
wrote_pidfile = 0
options = {{long_name = 0x4c568c "version", short_name = 0 '\000',
flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x7fffffffe274,
description = 0x4c1eb0 "Print NetworkManager version and exit",
arg_description = 0x0}, {long_name = 0x4c26ad "no-daemon",
short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_NONE,
arg_data = 0x7fffffffe268,
description = 0x4c26b7 "Don't become a daemon",
arg_description = 0x0}, {long_name = 0x4c26cd "g-fatal-warnings",
short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_NONE,
arg_data = 0x7fffffffe26c,
---Type <return> to continue, or q <return> to quit---
description = 0x4c26de "Make all warnings fatal",
arg_description = 0x0}, {long_name = 0x4c26f6 "pid-file",
short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_FILENAME,
arg_data = 0x7fffffffe278,
description = 0x4c1ed8 "Specify the location of a PID file",
arg_description = 0x4c26ff "filename"}, {
long_name = 0x4c2708 "state-file", short_name = 0 '\000',
flags = 0, arg = G_OPTION_ARG_FILENAME, arg_data = 0x7fffffffe280,
description = 0x4c2713 "State file location",
arg_description = 0x4c2727 "/path/to/state.file"}, {
long_name = 0x4c2ba9 "config", short_name = 0 '\000', flags = 0,
arg = G_OPTION_ARG_FILENAME, arg_data = 0x7fffffffe288,
description = 0x4c273b "Config file location",
arg_description = 0x4c2750 "/path/to/config.file"}, {
long_name = 0x4c1be2 "plugins", short_name = 0 '\000', flags = 0,
arg = G_OPTION_ARG_STRING, arg_data = 0x7fffffffe290,
description = 0x4c1f00 "List of plugins separated by ','",
arg_description = 0x4c2765 "plugin1,plugin2"}, {
long_name = 0x4c2775 "log-level", short_name = 0 '\000',
flags = 0, arg = G_OPTION_ARG_STRING, arg_data = 0x7fffffffe298,
description = 0x4c1f28 "Log level: one of [ERR, WARN, INFO, DEBUG]", arg_description = 0x4c277f "INFO"}, {long_name = 0x4c2784 "log-domains",
short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_STRING,
---Type <return> to continue, or q <return> to quit---
arg_data = 0x7fffffffe2a0,
description = 0x4c1f58 "Log domains separated by ',': any combination of\n", ' ' <repeats 48 times>, "[NONE,HW,RFKILL,ETHER,WIFI,BT,MB,DHCP4,DHCP6,PPP,\n", ' ' <repeats 49 times>, "WIFI"...,
arg_description = 0x4c2790 "HW,RFKILL,WIFI"}, {
long_name = 0x4c279f "connectivity-uri", short_name = 0 '\000',
flags = 0, arg = G_OPTION_ARG_STRING, arg_data = 0x7fffffffe2a8,
description = 0x4c2100 "An http(s) address for checking internet connectivity", arg_description = 0x4c27b0 "http://example.com"}, {
long_name = 0x4c27c3 "connectivity-interval",
short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_INT,
arg_data = 0x7fffffffe270,
description = 0x4c2138 "The interval between connectivity checks (in seconds)", arg_description = 0x4d2e25 "60"}, {
long_name = 0x4c27d9 "connectivity-response",
short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_STRING,
arg_data = 0x7fffffffe2b0,
description = 0x4c2170 "The expected start of the response",
arg_description = 0x4c27ef "Bingo!"}, {long_name = 0x0,
short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_NONE,
arg_data = 0x0, description = 0x0, arg_description = 0x0}}
__PRETTY_FUNCTION__ = "main"
(gdb)
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.8-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages network-manager depends on:
ii adduser 3.113+nmu3
ii dbus 1.6.8-1
ii dpkg 1.16.10
ii isc-dhcp-client 4.2.4-6
ii libc6 2.13-38
ii libdbus-1-3 1.6.8-1
ii libdbus-glib-1-2 0.100.2-1
ii libgcrypt11 1.5.0-5
ii libglib2.0-0 2.33.12+really2.32.4-5
ii libgnutls26 2.12.20-6
ii libgudev-1.0-0 175-7.2
ii libnl-3-200 3.2.7-4
ii libnl-genl-3-200 3.2.7-4
ii libnl-route-3-200 3.2.7-4
ii libnm-glib4 0.9.8.0-4
ii libnm-util2 0.9.8.0-4
ii libpolkit-gobject-1-0 0.105-3
ii libuuid1 2.20.1-5.3
ii lsb-base 4.1+Debian9
ii udev 175-7.2
ii wpasupplicant 1.0-3+b2
Versions of packages network-manager recommends:
ii crda 1.1.2-1
ii dnsmasq-base 2.66-1
ii iptables 1.4.18-1
ii modemmanager 0.5.2.0-2
ii policykit-1 0.105-3
ii ppp 2.4.5-5.1+b1
Versions of packages network-manager suggests:
ii avahi-autoipd 0.6.31-2
-- Configuration Files:
/etc/polkit-1/localauthority/10-vendor.d/org.freedesktop.NetworkManager.pkla [Errno 13] Permission denied: u'/etc/polkit-1/localauthority/10-vendor.d/org.freedesktop.NetworkManager.pkla'
-- no debconf information
More information about the Pkg-utopia-maintainers
mailing list