[Pkg-utopia-maintainers] Bug#663144: network-manager: NM segfaults (at every restart) after adding a second mobile network
Mathieu Desnoyers
mathieu.desnoyers at efficios.com
Thu Mar 8 20:53:36 UTC 2012
Package: network-manager
Version: 0.9.2.0-2
Severity: grave
Tags: upstream
Justification: renders package unusable
Dear Maintainer,
After adding a 2nd mobile network, the nm-applet disappeared, and
refuses to ever show up again.
After investigation, I noticed that when restarting NetworkManager by
hand (as root), I get assertions after each mobile network loaded:
NetworkManager[5757]: nm_system_iface_flush_routes: assertion `ifindex > 0' failed
NetworkManager[5757]: nm_system_iface_flush_addresses: assertion `ifindex > 0' failed
and a segfault at the end. In detail:
# ps aux |grep NetworkManager
< not there >
# NetworkManager --no-daemon
NetworkManager[5757]: <info> NetworkManager (version 0.9.2.0) is starting...
NetworkManager[5757]: <info> Read config file /etc/NetworkManager/NetworkManager.conf
NetworkManager[5757]: <info> VPN: loaded org.freedesktop.NetworkManager.vpnc
NetworkManager[5757]: <info> VPN: loaded org.freedesktop.NetworkManager.openvpn
NetworkManager[5757]: <info> VPN: loaded org.freedesktop.NetworkManager.pptp
NetworkManager[5757]: SCPlugin-Ifupdown: init!
NetworkManager[5757]: SCPlugin-Ifupdown: update_system_hostname
NetworkManager[5757]: SCPluginIfupdown: guessed connection type (eth0) = 802-3-ethernet
NetworkManager[5757]: SCPlugin-Ifupdown:
update_connection_setting_from_if_block: name:eth0, type:802-3-ethernet, id:Ifupdown (eth0), uuid: [...]
NetworkManager[5757]: SCPlugin-Ifupdown: adding eth0 to iface_connections
NetworkManager[5757]: SCPlugin-Ifupdown: adding iface eth0 to well_known_interfaces
NetworkManager[5757]: SCPlugin-Ifupdown: autoconnect
NetworkManager[5757]: SCPluginIfupdown: management mode: unmanaged
NetworkManager[5757]: SCPlugin-Ifupdown: devices added (path: /sys/devices/pci0000:00/0000:00:19.0/net/eth0, iface: eth0)
NetworkManager[5757]: SCPluginIfupdown: locking wired connection setting
NetworkManager[5757]: SCPlugin-Ifupdown: devices added (path: /sys/devices/pci0000:00/0000:00:1c.4/0000:02:00.0/net/wlan0, iface: wlan0)
NetworkManager[5757]: SCPlugin-Ifupdown: device added (path: /sys/devices/pci0000:00/0000:00:1c.4/0000:02:00.0/net/wlan0, iface: wlan0): no ifupdown configuration found.
NetworkManager[5757]: SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/lo, iface: lo)
NetworkManager[5757]: SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/lo, iface: lo): no ifupdown configuration found.
NetworkManager[5757]: SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/virbr1, iface: virbr1)
NetworkManager[5757]: SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/virbr1, iface: virbr1): no ifupdown configuration found.
NetworkManager[5757]: SCPlugin-Ifupdown: end _init.
NetworkManager[5757]: <info> Loaded plugin ifupdown: (C) 2008 Canonical Ltd. To report bugs please use the NetworkManager mailing list.
NetworkManager[5757]: <info> Loaded plugin keyfile: (c) 2007 - 2010 Red Hat, Inc. To report bugs please use the NetworkManager mailing list.
NetworkManager[5757]: Ifupdown: get unmanaged devices count: 1
NetworkManager[5757]: SCPlugin-Ifupdown: (27157296) ... get_connections.
NetworkManager[5757]: SCPlugin-Ifupdown: (27157296) ... get_connections (managed=false): return empty list.
NetworkManager[5757]: keyfile: parsing [ name edit out ] ...
NetworkManager[5757]: keyfile: read connection '[ name edited out ]'
[ skipping the other 78 repeats for other networks.... ]
NetworkManager[5757]: Ifupdown: get unmanaged devices count: 1
NetworkManager[5757]: <info> modem-manager is now available
NetworkManager[5757]: <info> monitoring kernel firmware directory '/lib/firmware'.
NetworkManager[5757]: <info> found WiFi radio killswitch rfkill3 (at /sys/devices/pci0000:00/0000:00:1c.4/0000:02:00.0/ieee80211/phy0/rfkill3) (driver (unknown))
NetworkManager[5757]: <info> found WWAN radio killswitch rfkill2 (at /sys/devices/platform/thinkpad_acpi/rfkill/rfkill2) (driver thinkpad_acpi)
NetworkManager[5757]: <info> WiFi enabled by radio killswitch; enabled by state file
NetworkManager[5757]: <info> WWAN enabled by radio killswitch; enabled by state file
NetworkManager[5757]: <info> WiMAX enabled by radio killswitch; enabled by state file
NetworkManager[5757]: <info> Networking is enabled by state file
NetworkManager[5757]: <info> (eth0): carrier is ON
NetworkManager[5757]: <info> (eth0): new Ethernet device (driver: 'e1000e' ifindex: 2)
NetworkManager[5757]: <info> (eth0): exported as /org/freedesktop/NetworkManager/Devices/0
NetworkManager[5757]: <info> (wlan0): driver supports SSID scans (scan_capa 0x01).
NetworkManager[5757]: <info> (wlan0): new 802.11 WiFi device (driver: 'iwlwifi' ifindex: 3)
NetworkManager[5757]: <info> (wlan0): exported as /org/freedesktop/NetworkManager/Devices/1
NetworkManager[5757]: <info> (wlan0): now managed
NetworkManager[5757]: <info> (wlan0): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
NetworkManager[5757]: <info> (wlan0): preparing device.
NetworkManager[5757]: <info> (wlan0): deactivating device (reason 'managed') [2]
NetworkManager[5757]: <warn> /sys/devices/virtual/net/virbr1: couldn't determine device driver; ignoring...
/sbin/ifup: interface lo already configured
NetworkManager[5757]: <info> (wlan0): supplicant interface state: starting -> ready
NetworkManager[5757]: <info> (wlan0): device state change: unavailable -> disconnected (reason 'supplicant-available') [20 30 42]
NetworkManager[5757]: <warn> (34:7E:39:5B:AE:6A): failed to look up interface index
NetworkManager[5757]: <info> BT device Compun900 (34:7E:39:5B:AE:6A) added (DUN)
NetworkManager[5757]: <info> (34:7E:39:5B:AE:6A): new Bluetooth device (driver: 'bluez' ifindex: 0)
NetworkManager[5757]: <info> (34:7E:39:5B:AE:6A): exported as /org/freedesktop/NetworkManager/Devices/2
NetworkManager[5757]: <info> (34:7E:39:5B:AE:6A): now managed
NetworkManager[5757]: <info> (34:7E:39:5B:AE:6A): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
NetworkManager[5757]: <info> (34:7E:39:5B:AE:6A): deactivating device (reason 'managed') [2]
NetworkManager[5757]: nm_system_iface_flush_routes: assertion `ifindex > 0' failed
NetworkManager[5757]: nm_system_iface_flush_addresses: assertion `ifindex > 0' failed
NetworkManager[5757]: <warn> (40:98:4E:04:85:69): failed to look up interface index
NetworkManager[5757]: <info> BT device Nokia N9 (40:98:4E:04:85:69) added (DUN)
NetworkManager[5757]: <info> (40:98:4E:04:85:69): new Bluetooth device (driver: 'bluez' ifindex: 0)
NetworkManager[5757]: <info> (40:98:4E:04:85:69): exported as /org/freedesktop/NetworkManager/Devices/3
NetworkManager[5757]: <info> (40:98:4E:04:85:69): now managed
NetworkManager[5757]: <info> (40:98:4E:04:85:69): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
NetworkManager[5757]: <info> (40:98:4E:04:85:69): deactivating device (reason 'managed') [2]
NetworkManager[5757]: nm_system_iface_flush_routes: assertion `ifindex > 0' failed
NetworkManager[5757]: nm_system_iface_flush_addresses: assertion `ifindex > 0' failed
NetworkManager[5757]: <info> (wlan0): supplicant interface state: ready -> inactive
NetworkManager[5757]: <info> Auto-activating connection 'Auto compuwifi'.
NetworkManager[5757]: <info> Activation (wlan0) starting connection 'Auto compuwifi'
NetworkManager[5757]: <info> (wlan0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
NetworkManager[5757]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
NetworkManager[5757]: <info> (34:7E:39:5B:AE:6A): device state change: unavailable -> disconnected (reason 'none') [20 30 0]
NetworkManager[5757]: <info> (40:98:4E:04:85:69): device state change: unavailable -> disconnected (reason 'none') [20 30 0]
NetworkManager[5757]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
NetworkManager[5757]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
NetworkManager[5757]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
NetworkManager[5757]: <info> Auto-activating connection 'Fido Default'.
NetworkManager[5757]: <info> Activation (34:7E:39:5B:AE:6A) starting connection 'Fido Default'
NetworkManager[5757]: <info> (34:7E:39:5B:AE:6A): device state change: disconnected -> prepare (reason 'none') [30 40 0]
NetworkManager[5757]: <info> Activation (34:7E:39:5B:AE:6A) Stage 1 of 5 (Device Prepare) scheduled...
NetworkManager[5757]: <info> Auto-activating connection 'Fido Default'.
NetworkManager[5757]: <warn> caught signal 11. Generating backtrace...
NetworkManager: ******************* START **********************************
NetworkManager: [Thread debugging using libthread_db enabled]
NetworkManager: Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
NetworkManager: [New Thread 0x7fd9f26b4700 (LWP 5758)]
41 ../sysdeps/unix/sysv/linux/waitpid.c: No such file or directory.
NetworkManager: 0x00007fd9f60f4c1d in __libc_waitpid (pid=5776, stat_loc=<optimized out>, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:41
NetworkManager: ******************* END **********************************
I expect that the NM should handle having more than one mobile network
without crashing.
Thanks,
Mathieu
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages network-manager depends on:
ii adduser 3.113+nmu1
ii dbus 1.4.18-1
ii isc-dhcp-client 4.1.1-P1-17
ii libc6 2.13-27
ii libdbus-1-3 1.4.18-1
ii libdbus-glib-1-2 0.98-1
ii libgcrypt11 1.5.0-3
ii libglib2.0-0 2.30.2-6
ii libgnutls26 2.12.16-1
ii libgudev-1.0-0 175-3.1
ii libnl-3-200 3.2.3-2
ii libnl-route-3-200 3.2.3-2
ii libnm-glib4 0.9.2.0-2
ii libnm-util2 0.9.2.0-2
ii libpolkit-gobject-1-0 0.104-2
ii libuuid1 2.20.1-1.2
ii lsb-base 3.2-28.1
ii udev 175-3.1
ii wpasupplicant 0.7.3-6
Versions of packages network-manager recommends:
ii crda 1.1.2-1
ii dnsmasq-base 2.59-4
ii iptables 1.4.12.2-1
ii modemmanager 0.5-1
ii policykit-1 0.104-2
ii ppp 2.4.5-5
Versions of packages network-manager suggests:
ii avahi-autoipd 0.6.30-6
-- no debconf information
More information about the Pkg-utopia-maintainers
mailing list