NetworkManager[4888]: segfault on wireless up in intrepid

Bug #303476 reported by Marc MERLIN
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I start networkmanager
I rmmod, insmod my iwl3945 driver and connect to a WPA network with a script I already had.

Quite frankly, networkmanager has become a real pain in the ass for me in intrepid. In hardy it would at least let me manage things by hand, and it would follow along, giving me an ifdown when I unplugged an ethernet cable on my eth interface that I managed myself.
Now, in unmanaged mode it does nothing, to the point that I'm going to have to remove it and re-install ifplugd unless you tell me otherwise, and if I try to let it manage interfaces that I do need to handle by hand sometimes, including wireless, it either kills the connection I just brought up, or it segvs.
Maybe it works for some, but boy is it a real pain for the rest of us :(

NetworkManager: supplicant_interface_acquire: assertion `mgr_state == NM_SUPPLICANT_MANAGER_STATE_IDLE' failed
NetworkManager: <info> Trying to start the supplicant...
NetworkManager: <info> (eth1): supplicant manager is now in state 1 (from 0).
NetworkManager: <info> (eth1): device state change: 2 -> 3
NetworkManager: <info> (eth1): now unmanaged
NetworkManager: <info> (eth1): device state change: 3 -> 1
NetworkManager: <info> (eth1): cleaning up...
NetworkManager: <WARN> nm_supplicant_interface_add_cb(): Unexpected supplicant error getting interface: wpa_supplicant couldn't grab this interface.
[New Thread 0xb79b2a30 (LWP 8187)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb79b2a30 (LWP 8187)]
0xb7a952c3 in strlen () from /lib/tls/i686/cmov/libc.so.6
(gdb)
(gdb) bt
#0 0xb7a952c3 in strlen () from /lib/tls/i686/cmov/libc.so.6
#1 0xb7e8a90d in ?? () from /lib/libdbus-1.so.3
#2 0xb7e7663e in ?? () from /lib/libdbus-1.so.3
#3 0xb7e7b219 in dbus_message_iter_append_basic () from /lib/libdbus-1.so.3
#4 0xb7ead12a in ?? () from /usr/lib/libdbus-glib-1.so.2
#5 0xb7eab395 in ?? () from /usr/lib/libdbus-glib-1.so.2
#6 0xb7ea6a43 in ?? () from /usr/lib/libdbus-glib-1.so.2
#7 0xb7ea6ce8 in dbus_g_proxy_call_no_reply () from /usr/lib/libdbus-glib-1.so.2
#8 0x08090f8d in ?? ()
#9 0xb7e30d18 in g_object_unref () from /usr/lib/libgobject-2.0.so.0
#10 0x0808e73f in ?? ()
#11 0xb7ea59f9 in ?? () from /usr/lib/libdbus-glib-1.so.2
#12 0xb7e87c70 in ?? () from /lib/libdbus-1.so.3
#13 0xb7e87cc2 in ?? () from /lib/libdbus-1.so.3
#14 0xb7e7f23a in ?? () from /lib/libdbus-1.so.3
#15 0xb7e6f0ee in ?? () from /lib/libdbus-1.so.3
#16 0xb7e6fddc in dbus_connection_dispatch () from /lib/libdbus-1.so.3
#17 0xb7ea15fd in ?? () from /usr/lib/libdbus-glib-1.so.2
#18 0xb7da56f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#19 0xb7da8da3 in ?? () from /usr/lib/libglib-2.0.so.0
#20 0xb7da92c2 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#21 0x0806d33b in main ()

Full syslog of the same operation:
Nov 29 08:31:02 gandalf NetworkManager: <info> starting...
Nov 29 08:31:02 gandalf NetworkManager: <info> Found radio killswitch /org/freedesktop/Hal/devices/ipw_wlan_switch
Nov 29 08:31:02 gandalf NetworkManager: <info> eth0: driver is 'tg3'.
Nov 29 08:31:02 gandalf NetworkManager: <info> Found new Ethernet device 'eth0'.
Nov 29 08:31:02 gandalf NetworkManager: <info> (eth0): exported as /org/freedesktop/Hal/devices/net_00_16_36_ff_80_85
Nov 29 08:31:02 gandalf NetworkManager: <info> eth1: driver is 'iwl3945'.
Nov 29 08:31:02 gandalf NetworkManager: <info> eth1: driver supports SSID scans (scan_capa 0x01).
Nov 29 08:31:02 gandalf NetworkManager: <info> Found new 802.11 WiFi device 'eth1'.
Nov 29 08:31:02 gandalf NetworkManager: <info> (eth1): exported as /org/freedesktop/Hal/devices/net_00_19_d2_c0_54_4c_0
Nov 29 08:31:02 gandalf NetworkManager: <info> Unmanaged Device found; state CONNECTED forced. (see http://bugs.launchpad.net/bugs/191889)
Nov 29 08:31:02 gandalf NetworkManager: <info> Unmanaged Device found; state CONNECTED forced. (see http://bugs.launchpad.net/bugs/191889)
Nov 29 08:31:02 gandalf NetworkManager: <WARN> killswitch_getpower_reply(): Error getting killswitch power: hal-ipw-killswitch-linux returned 255.
Nov 29 08:31:06 gandalf NetworkManager: <info> (eth0): device state change: 1 -> 2
Nov 29 08:31:06 gandalf NetworkManager: <info> (eth0): preparing device.
Nov 29 08:31:06 gandalf NetworkManager: <info> (eth0): deactivating device (reason: 2).
Nov 29 08:31:06 gandalf NetworkManager: <info> Unmanaged Device found; state CONNECTED forced. (see http://bugs.launchpad.net/bugs/191889)
Nov 29 08:31:06 gandalf NetworkManager: <info> (eth1): device state change: 1 -> 2
Nov 29 08:31:06 gandalf NetworkManager: <info> (eth1): preparing device.
Nov 29 08:31:06 gandalf NetworkManager: <info> (eth1): deactivating device (reason: 2).
Nov 29 08:31:06 gandalf NetworkManager: <WARN> check_one_route(): (eth1) error -34 returned from rtnl_route_del(): Sucess
Nov 29 08:31:06 gandalf avahi-daemon[9754]: Withdrawing address record for 192.168.205.2 on eth1.
Nov 29 08:31:06 gandalf avahi-daemon[9754]: Leaving mDNS multicast group on interface eth1.IPv4 with address 192.168.205.2.
Nov 29 08:31:06 gandalf kernel: eth1: authenticate with AP 00:1d:7e:10:68:88
Nov 29 08:31:06 gandalf avahi-daemon[9754]: Interface eth1.IPv4 no longer relevant for mDNS.
Nov 29 08:31:06 gandalf kernel: eth1: authenticated
Nov 29 08:31:06 gandalf kernel: eth1: associate with AP 00:1d:7e:10:68:88
Nov 29 08:31:06 gandalf NetworkManager: <info> (eth1): device state change: 2 -> 3
Nov 29 08:31:06 gandalf kernel: eth1: RX AssocResp from 00:1d:7e:10:68:88 (capab=0x411 status=0 aid=3)
Nov 29 08:31:06 gandalf kernel: eth1: associated
Nov 29 08:31:06 gandalf kernel: eth1: disassociating by local choice (reason=3)
Nov 29 08:31:06 gandalf NetworkManager: <info> (eth1): supplicant interface state change: 1 -> 2.
Nov 29 08:31:19 gandalf kernel: eth1: authenticate with AP 00:1d:7e:10:68:88
Nov 29 08:31:19 gandalf kernel: eth1: authenticated
Nov 29 08:31:19 gandalf kernel: eth1: associate with AP 00:1d:7e:10:68:88
Nov 29 08:31:19 gandalf kernel: eth1: RX ReassocResp from 00:1d:7e:10:68:88 (capab=0x411 status=0 aid=3)
Nov 29 08:31:19 gandalf kernel: eth1: associated
Nov 29 08:31:19 gandalf kernel: eth1: disassociating by local choice (reason=3)
Nov 29 08:31:29 gandalf kernel: eth1: No STA entry for own AP 00:00:00:00:00:00
Nov 29 08:31:29 gandalf avahi-daemon[9754]: Withdrawing address record for fe80::219:d2ff:fec0:544c on eth1.
Nov 29 08:31:29 gandalf NetworkManager: <info> (eth1): supplicant manager is now in state 0 (from 1).
Nov 29 08:31:29 gandalf NetworkManager: <info> (eth1): device state change: 3 -> 2
Nov 29 08:31:29 gandalf NetworkManager: <info> (eth1): deactivating device (reason: 10).
Nov 29 08:31:29 gandalf NetworkManager: supplicant_interface_acquire: assertion `mgr_state == NM_SUPPLICANT_MANAGER_STATE_IDLE' failed
Nov 29 08:31:29 gandalf NetworkManager: <info> Trying to start the supplicant...
Nov 29 08:31:29 gandalf NetworkManager: <info> (eth1): supplicant manager is now in state 1 (from 0).
Nov 29 08:31:29 gandalf NetworkManager: <info> (eth1): device state change: 2 -> 3
Nov 29 08:31:29 gandalf nm-system-settings: SCPlugin-Ifupdown: devices removed (udi: /org/freedesktop/Hal/devices/net_00_19_d2_c0_54_4c_0)
Nov 29 08:31:29 gandalf NetworkManager: <info> (eth1): now unmanaged
Nov 29 08:31:29 gandalf NetworkManager: <info> (eth1): device state change: 3 -> 1
Nov 29 08:31:29 gandalf NetworkManager: <info> (eth1): cleaning up...
Nov 29 08:31:29 gandalf NetworkManager: <WARN> nm_supplicant_interface_add_cb(): Unexpected supplicant error getting interface: wpa_supplicant couldn't grab this interface.
Nov 29 08:31:29 gandalf kernel: NetworkManager[10010]: segfault at 0 ip b7a172c3 sp bfb01cdc error 4 in libc-2.8.90.so[b79a0000+158000]
Nov 29 08:31:29 gandalf kernel: iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, 1.2.26kds
Nov 29 08:31:29 gandalf kernel: iwl3945: Copyright(c) 2003-2008 Intel Corporation
Nov 29 08:31:29 gandalf kernel: iwl3945 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
Nov 29 08:31:29 gandalf kernel: iwl3945 0000:03:00.0: setting latency timer to 64
Nov 29 08:31:29 gandalf kernel: iwl3945: Detected Intel Wireless WiFi Link 3945ABG
Nov 29 08:31:29 gandalf kernel: iwl3945: Tunable channels: 11 802.11bg, 13 802.11a channels

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. However, your crash report is either missing or challenging to deal with as a ".crash" file. Please follow these instructions to have apport report a new bug about your crash that can be dealt with by the automatic retracer.

If you are running the Ubuntu Stable Release you might need to enable apport in /etc/default/apport and restart.

If you are using Ubuntu with the Gnome desktop environment - launch nautilus and navigate to your /var/crash directory and double click on the crash report you wish to submit.

If you are using Kubuntu or Xubuntu you can file the crash using /usr/share/apport/apport-qt --crash-file=/var/crash/_my_crash_report.crash in a terminal - where _my_crash_report.crash is the crash you would like to report.

I'm closing this bug report since the process outlined above will automatically open a new bug report which can then dealt with more efficiently. Thanks in advance for your cooperation and understanding.

Changed in network-manager (Ubuntu):
status: New → Invalid
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.