[Pkg-utopia-maintainers] Bug#526952: Bug#526952: network-manager: dies on startup

Johannes Rohr jorohr at gmail.com
Wed May 6 12:15:43 UTC 2009


On Mon, May 04, 2009 at 09:10:50PM +0200, Michael Biebl wrote:

[...]

> Could you try and get me a proper backtrace (instructions are outlined in [1]).

O.k, now I have rebuilt dbus and NetworkManager with nostrip, disabled
NM on startup and run it interactively with gdb. Please find the
backtrace (generated with bt full) attached.

Thanks,

Johannes
-------------- next part --------------
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(gdb) run
Starting program: /usr/sbin/NetworkManager --no-daemon
[Thread debugging using libthread_db enabled]
NetworkManager: <info>  starting...
/sbin/ifup: interface lo already configured
NetworkManager: <info>  Found radio killswitch /org/freedesktop/Hal/devices/pci_8086_4227_rfkill_3945ABG_wlan
NetworkManager: <info>  Found radio killswitch /org/freedesktop/Hal/devices/iwl_wlan_switch
NetworkManager: nm_device_ethernet_new: assertion `driver != NULL' failed
NetworkManager: <info>  (eth1): new Ethernet device (driver: '8139too')
NetworkManager: <info>  (eth1): exported as /org/freedesktop/Hal/devices/net_00_21_91_fa_5f_66
NetworkManager: <info>  (eth0): new Ethernet device (driver: '8139too')
NetworkManager: <info>  (eth0): exported as /org/freedesktop/Hal/devices/net_00_1b_38_09_0b_65
NetworkManager: <info>  (wlan0): driver supports SSID scans (scan_capa 0x01).
NetworkManager: <info>  (wlan0): new 802.11 WiFi device (driver: 'iwl3945')
NetworkManager: <info>  (wlan0): exported as /org/freedesktop/Hal/devices/net_00_1b_77_8e_4d_85
NetworkManager: <info>  Trying to start the supplicant...
NetworkManager: <WARN>  killswitch_getpower_reply(): Error getting killswitch power: Method "GetPower" with signature "" on interface "org.freedesktop.Hal.Device.KillSwitch" doesn't exist
.
NetworkManager: <info>  (wlan0): supplicant manager state:  down -> idle
NetworkManager: <info>  (eth1): device state change: 1 -> 2
NetworkManager: <info>  (eth1): bringing up device.
NetworkManager: <info>  (eth1): preparing device.
NetworkManager: <info>  (eth1): deactivating device (reason: 2).
NetworkManager: <info>  (eth0): device state change: 1 -> 2
NetworkManager: <info>  (eth0): bringing up device.
NetworkManager: <info>  (eth0): preparing device.
NetworkManager: <info>  (eth0): deactivating device (reason: 2).
NetworkManager: <info>  (wlan0): device state change: 1 -> 2
NetworkManager: <info>  (wlan0): bringing up device.
-- Error received: No such device
-- Original message: type=0x13 length=32 flags=<REQUEST,ACK> sequence-nr=1241611345 pid=4199478
NetworkManager: <info>  (wlan0): deactivating device (reason: 2).
NetworkManager: <info>  (eth1): carrier now ON (device state 2)
NetworkManager: <info>  (eth1): device state change: 2 -> 3
NetworkManager: <info>  (wlan0): device state change: 2 -> 3
NetworkManager: <info>  Activation (eth1) starting connection 'Ifupdown (eth1)'
NetworkManager: <info>  (eth1): device state change: 3 -> 4
NetworkManager: <info>  Activation (eth1) Stage 1 of 5 (Device Prepare) scheduled...
NetworkManager: <info>  Activation (eth1) Stage 1 of 5 (Device Prepare) started...
NetworkManager: <info>  Activation (eth1) Stage 2 of 5 (Device Configure) scheduled...
NetworkManager: <info>  Activation (eth1) Stage 1 of 5 (Device Prepare) complete.
NetworkManager: <info>  Activation (eth1) Stage 2 of 5 (Device Configure) starting...
NetworkManager: <info>  (eth1): device state change: 4 -> 5
NetworkManager: <info>  Activation (eth1) Stage 2 of 5 (Device Configure) successful.
NetworkManager: <info>  Activation (eth1) Stage 3 of 5 (IP Configure Start) scheduled.
NetworkManager: <info>  Activation (eth1) Stage 2 of 5 (Device Configure) complete.
NetworkManager: <info>  Activation (eth1) Stage 3 of 5 (IP Configure Start) started...
NetworkManager: <info>  (eth1): device state change: 5 -> 7
NetworkManager: <info>  Activation (eth1) Beginning DHCP transaction.
NetworkManager: <info>  dhclient started with pid 5237
[New Thread 0xb78c8710 (LWP 5174)]
[New Thread 0xb78c7b90 (LWP 5238)]
NetworkManager: <info>  Activation (eth1) Stage 3 of 5 (IP Configure Start) complete.
NetworkManager: <WARN>  nm_supplicant_interface_add_cb(): Unexpected supplicant error getting interface: wpa_supplicant couldn't grab this interface.
Internet Systems Consortium DHCP Client V3.1.2
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

NetworkManager: <info>  DHCP: device eth1 state changed (null) -> preinit
Listening on LPF/eth1/00:21:91:fa:5f:66
Sending on   LPF/eth1/00:21:91:fa:5f:66
Sending on   Socket/fallback
NetworkManager: <info>  Wireless now disabled by radio killswitch
NetworkManager: <info>  (wlan0): device state change: 3 -> 2
NetworkManager: <info>  (wlan0): deactivating device (reason: 0).

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb78c8710 (LWP 5174)]
strlen () at ../sysdeps/i386/i486/strlen.S:69
69	../sysdeps/i386/i486/strlen.S: No such file or directory.
	in ../sysdeps/i386/i486/strlen.S
Current language:  auto; currently asm
(gdb) DHCPREQUEST on eth1 to 255.255.255.255 port 67
DHCPACK from 10.0.0.1
bound to 10.0.0.87 -- renewal in 111026 seconds.
(gdb) bt full
#0  strlen () at ../sysdeps/i386/i486/strlen.S:69
No locals.
#1  0xb7e9e13d in _dbus_marshal_write_basic (str=0x86dad38, insert_at=0, 
    type=111, value=0xbf990c40, byte_order=108, pos_after=0xbf990cbc)
    at dbus-marshal-basic.c:757
No locals.
#2  0xb7e89dbe in _dbus_type_writer_write_basic (writer=0xbf990cac, type=111, 
    value=0xbf990c40) at dbus-marshal-recursive.c:1588
	retval = <value optimized out>
#3  0xb7e8eaf9 in dbus_message_iter_append_basic (iter=0xbf990ca4, type=111, 
    value=0xbf990c40) at dbus-message.c:2247
	ret = <value optimized out>
	__FUNCTION__ = "dbus_message_iter_append_basic"
#4  0xb7ec08fa in marshal_object_path (iter=0xbf990ca4, value=0x86f5700)
    at dbus-gvalue.c:1528
	path = 0x0
#5  0xb7ebeb85 in _dbus_gvalue_marshal (iter=0xbf990ca4, value=0x86f5700)
    at dbus-gvalue.c:1929
	marshaller = (DBusGValueMarshalFunc) 0x1
#6  0xb7eba243 in dbus_g_proxy_marshal_args_to_message (
    proxy=<value optimized out>, method=0x80ab3a6 "removeInterface", 
    args=0x86f8080) at dbus-gproxy.c:2177
	gvalue = <value optimized out>
---Type <return> to continue, or q <return> to quit---
	message = (DBusMessage *) 0x86dacf8
	msgiter = {dummy1 = 0x86dacf8, dummy2 = 0x1e00000, 
  dummy3 = 3085041772, dummy4 = 141484152, dummy5 = 0, dummy6 = 141405496, 
  dummy7 = 0, dummy8 = 5, dummy9 = 141410712, dummy10 = 141410760, 
  dummy11 = -1209643393, pad1 = 141398592, pad2 = 0, pad3 = 0xb7eba1bd}
	i = 0
	__PRETTY_FUNCTION__ = "dbus_g_proxy_marshal_args_to_message"
#7  0xb7eba4e8 in dbus_g_proxy_call_no_reply (proxy=0x86f7a40, 
    method=0x80ab3a6 "removeInterface", first_arg_type=141398592)
    at dbus-gproxy.c:2695
	message = <value optimized out>
	args = 0xbf990d94 ""
	in_args = (GValueArray *) 0x86f8080
	__PRETTY_FUNCTION__ = "dbus_g_proxy_call_no_reply"
#8  0x08097b6d in nm_supplicant_interface_dispose (object=0x86e3730)
    at nm-supplicant-interface.c:297
	priv = (NMSupplicantInterfacePrivate *) 0x86e3740
	sm_state = 0
#9  0xb7e43c48 in IA__g_object_unref (_object=0x86e3730)
    at /build/buildd-glib2.0_2.20.1-2-i386-hGzT8z/glib2.0-2.20.1/gobject/gobject.c:2393
	object = (GObject *) 0x86e3730
	old_ref = <value optimized out>
---Type <return> to continue, or q <return> to quit---
	__PRETTY_FUNCTION__ = "IA__g_object_unref"
#10 0x08091f2d in nm_supplicant_manager_release_iface (self=0x86d6ca0, 
    iface=0x86e3730) at nm-supplicant-manager.c:320
	priv = (NMSupplicantManagerPrivate *) 0x86d6cb0
	elt = (GSList *) 0x86e65d0
	__PRETTY_FUNCTION__ = "nm_supplicant_manager_release_iface"
#11 0x08062dfc in supplicant_interface_release (self=0x86e8030)
    at nm-device-wifi.c:723
	priv = (NMDeviceWifiPrivate *) 0x86e80d0
	__PRETTY_FUNCTION__ = "supplicant_interface_release"
#12 0x08064adc in device_state_changed (device=0x86e8030, 
    new_state=NM_DEVICE_STATE_UNAVAILABLE, 
    old_state=NM_DEVICE_STATE_DISCONNECTED, 
    reason=NM_DEVICE_STATE_REASON_NONE, user_data=0x0) at nm-device-wifi.c:3498
	self = (NMDeviceWifi *) 0x86e8030
	priv = (NMDeviceWifiPrivate *) 0x86e80d0
#13 0x0808862a in _nm_marshal_VOID__UINT_UINT_UINT (closure=0x86e0e58, 
    return_value=0x0, n_param_values=4, param_values=0x86e3a48, 
    invocation_hint=0xbf99123c, marshal_data=0x8064a80) at nm-marshal.c:351
	data1 = (gpointer) 0x86e8030
	data2 = <value optimized out>
	__PRETTY_FUNCTION__ = "_nm_marshal_VOID__UINT_UINT_UINT"
#14 0xb7e41b6b in IA__g_closure_invoke (closure=0x86e0e58, return_value=0x0, 
---Type <return> to continue, or q <return> to quit---
    n_param_values=4, param_values=0x86e3a48, invocation_hint=0xbf99123c)
    at /build/buildd-glib2.0_2.20.1-2-i386-hGzT8z/glib2.0-2.20.1/gobject/gclosure.c:767
	marshal = (
    GClosureMarshal) 0x8088590 <_nm_marshal_VOID__UINT_UINT_UINT>
	marshal_data = (gpointer) 0x0
	__PRETTY_FUNCTION__ = "IA__g_closure_invoke"
#15 0xb7e55d0f in signal_emit_unlocked_R (node=0x86e20b8, detail=0, 
    instance=0x86e8030, emission_return=0x0, instance_and_params=0x86e3a48)
    at /build/buildd-glib2.0_2.20.1-2-i386-hGzT8z/glib2.0-2.20.1/gobject/gsignal.c:3247
	tmp = <value optimized out>
	handler = (Handler *) 0x86d7cc0
	accumulator = (SignalAccumulator *) 0x0
	emission = {next = 0xbf991884, instance = 0x86e8030, ihint = {
    signal_id = 27, detail = 0, run_type = G_SIGNAL_RUN_FIRST}, 
  state = EMISSION_RUN, chain_type = 4}
	class_closure = (GClosure *) 0x86e4710
	handler_list = (Handler *) 0x86d7cc0
	return_accu = (GValue *) 0x0
	accu = {g_type = 0, data = {{v_int = 0, v_uint = 0, v_long = 0, 
      v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, 
      v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, 
---Type <return> to continue, or q <return> to quit---
      v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}
	signal_id = 27
	max_sequential_handler_number = 121
	return_value_altered = 1
#16 0xb7e57179 in IA__g_signal_emit_valist (instance=0x86e8030, signal_id=27, 
    detail=0, var_args=0xbf991424 "\002")
    at /build/buildd-glib2.0_2.20.1-2-i386-hGzT8z/glib2.0-2.20.1/gobject/gsignal.c:2980
	signal_return_type = 4
	param_values = (GValue *) 0x86e3a5c
	node = (SignalNode *) 0x86e20b8
	i = 3
	n_params = 3
	__PRETTY_FUNCTION__ = "IA__g_signal_emit_valist"
#17 0xb7e57475 in IA__g_signal_emit_by_name (instance=0x86e8030, 
    detailed_signal=0x80a8348 "state-changed")
    at /build/buildd-glib2.0_2.20.1-2-i386-hGzT8z/glib2.0-2.20.1/gobject/gsignal.c:3074
	detail = 0
	signal_id = 27
	__PRETTY_FUNCTION__ = "IA__g_signal_emit_by_name"
#18 0x08059076 in nm_device_state_changed (device=0x86e8030, 
    state=NM_DEVICE_STATE_UNAVAILABLE, reason=NM_DEVICE_STATE_REASON_NONE)
---Type <return> to continue, or q <return> to quit---
    at nm-device.c:2435
	priv = (NMDevicePrivate *) 0x86e8048
	req = (NMActRequest *) 0x0
	no_firmware = 0
	__PRETTY_FUNCTION__ = "nm_device_state_changed"
#19 0x080624c1 in nm_device_wifi_set_enabled (self=0x86e8030, enabled=0)
    at nm-device-wifi.c:3643
	priv = <value optimized out>
	state = <value optimized out>
	__PRETTY_FUNCTION__ = "nm_device_wifi_set_enabled"
#20 0x08078f87 in manager_set_wireless_enabled (manager=<value optimized out>, 
    enabled=0) at nm-manager.c:1617
	priv = <value optimized out>
	iter = (GSList *) 0x86e6508
#21 0xb7e4f1cc in IA__g_cclosure_marshal_VOID__BOOLEAN (closure=0x86e1228, 
    return_value=0x0, n_param_values=2, param_values=0x86d6d18, 
    invocation_hint=0xbf99188c, marshal_data=0x8078fb0)
    at /build/buildd-glib2.0_2.20.1-2-i386-hGzT8z/glib2.0-2.20.1/gobject/gmarshal.c:111
	data1 = (gpointer) 0x86e0420
	data2 = <value optimized out>
	__PRETTY_FUNCTION__ = "IA__g_cclosure_marshal_VOID__BOOLEAN"
#22 0xb7e41b6b in IA__g_closure_invoke (closure=0x86e1228, return_value=0x0, 
---Type <return> to continue, or q <return> to quit---
    n_param_values=2, param_values=0x86d6d18, invocation_hint=0xbf99188c)
    at /build/buildd-glib2.0_2.20.1-2-i386-hGzT8z/glib2.0-2.20.1/gobject/gclosure.c:767
	marshal = (
    GClosureMarshal) 0x8057998 <g_cclosure_marshal_VOID__BOOLEAN at plt>
	marshal_data = (gpointer) 0x0
	__PRETTY_FUNCTION__ = "IA__g_closure_invoke"
#23 0xb7e55d0f in signal_emit_unlocked_R (node=0x86d3c00, detail=0, 
    instance=0x86e0420, emission_return=0x0, instance_and_params=0x86d6d18)
    at /build/buildd-glib2.0_2.20.1-2-i386-hGzT8z/glib2.0-2.20.1/gobject/gsignal.c:3247
	tmp = <value optimized out>
	handler = (Handler *) 0x86d7820
	accumulator = (SignalAccumulator *) 0x0
	emission = {next = 0x0, instance = 0x86e0420, ihint = {signal_id = 22, 
    detail = 0, run_type = G_SIGNAL_RUN_FIRST}, state = EMISSION_RUN, 
  chain_type = 4}
	class_closure = (GClosure *) 0x86dd808
	handler_list = (Handler *) 0x86d7820
	return_accu = (GValue *) 0x0
	accu = {g_type = 0, data = {{v_int = 0, v_uint = 0, v_long = 0, 
      v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, 
      v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, 
---Type <return> to continue, or q <return> to quit---
      v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}
	signal_id = 22
	max_sequential_handler_number = 121
	return_value_altered = 1
#24 0xb7e57179 in IA__g_signal_emit_valist (instance=0x86e0420, signal_id=22, 
    detail=0, 
    var_args=0xbf991a30 "\024\224??pOo\bX\032\231??\221?? \004n\b\001")
    at /build/buildd-glib2.0_2.20.1-2-i386-hGzT8z/glib2.0-2.20.1/gobject/gsignal.c:2980
	signal_return_type = 4
	param_values = (GValue *) 0x86d6d2c
	node = (SignalNode *) 0x86d3c00
	i = 1
	n_params = 1
	__PRETTY_FUNCTION__ = "IA__g_signal_emit_valist"
#25 0xb7e575d6 in IA__g_signal_emit (instance=0x86e0420, signal_id=22, 
    detail=0)
    at /build/buildd-glib2.0_2.20.1-2-i386-hGzT8z/glib2.0-2.20.1/gobject/gsignal.c:3037
No locals.
#26 0x0806d020 in killswitch_getpower_done (user_data=0x86e0420)
    at nm-hal-manager.c:1213
	self = (NMHalManager *) 0x86e0420
---Type <return> to continue, or q <return> to quit---
	priv = (NMHalManagerPrivate *) 0x86e0430
#27 0xb7eb91f9 in d_pending_call_free (data=0x86f4f70) at dbus-gproxy.c:1779
No locals.
#28 0xb7e9b4c4 in _dbus_data_slot_list_clear (list=0x86f9e94)
    at dbus-dataslot.c:333
	i = 0
#29 0xb7e9b512 in _dbus_data_slot_list_free (list=0x86f9e94)
    at dbus-dataslot.c:350
No locals.
#30 0xb7e92b2a in _dbus_pending_call_last_unref (pending=0x86f9e90)
    at dbus-pending-call.c:395
	connection = (DBusConnection *) 0x86d9a20
#31 0xb7e8293e in complete_pending_call_and_unlock (connection=0x86d9a20, 
    pending=0x86f9e90, message=0x86ea720) at dbus-connection.c:2213
No locals.
#32 0xb7e8362c in dbus_connection_dispatch (connection=0x86d9a20)
    at dbus-connection.c:4352
	message = (DBusMessage *) 0x86ea720
	link = <value optimized out>
	filter_list_copy = <value optimized out>
	message_link = (DBusList *) 0x86eb254
	result = <value optimized out>
	status = <value optimized out>
---Type <return> to continue, or q <return> to quit---
	__FUNCTION__ = "dbus_connection_dispatch"
#33 0xb7eb4b1d in message_queue_dispatch (source=0x86db4f8, callback=0, 
    user_data=0x0) at dbus-gmain.c:101
	connection = (DBusConnection *) 0x86d9a20
#34 0xb7dba848 in IA__g_main_context_dispatch (context=0x86d6590)
    at /build/buildd-glib2.0_2.20.1-2-i386-hGzT8z/glib2.0-2.20.1/glib/gmain.c:1814
No locals.
#35 0xb7dbddab in g_main_context_iterate (context=0x86d6590, block=1, 
    dispatch=1, self=0x86d4dc8)
    at /build/buildd-glib2.0_2.20.1-2-i386-hGzT8z/glib2.0-2.20.1/glib/gmain.c:2448
	max_priority = 0
	timeout = 0
	some_ready = 1
	nfds = 3
	allocated_nfds = <value optimized out>
	fds = (GPollFD *) 0x86dd2b8
	__PRETTY_FUNCTION__ = "g_main_context_iterate"
#36 0xb7dbe27a in IA__g_main_loop_run (loop=0x86d6610)
    at /build/buildd-glib2.0_2.20.1-2-i386-hGzT8z/glib2.0-2.20.1/glib/gmain.c:2656
	self = (GThread *) 0x86d4dc8
---Type <return> to continue, or q <return> to quit---
	__PRETTY_FUNCTION__ = "IA__g_main_loop_run"
#37 0x0807203c in main (argc=141415016, argv=0x2) at NetworkManager.c:396
	opt_ctx = <value optimized out>
	become_daemon = 0
	pidfile = 0x86d03c8 "/var/run/NetworkManager.pid"
	user_pidfile = 0x0
	success = 1
	policy = (NMPolicy *) 0x86d8cd8
	vpn_manager = (NMVPNManager *) 0x86d5030
	named_mgr = (NMNamedManager *) 0x86d79c0
	dbus_mgr = (NMDBusManager *) 0x86d6c28
	sup_mgr = (NMSupplicantManager *) 0x86d6ca0
	dhcp_mgr = (NMDHCPManager *) 0x86d7a00
	options = {{long_name = 0x80a2906 "no-daemon", short_name = 0 '\0', 
    flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0xbf9925b4, 
    description = 0x80a2910 "Don't become a daemon", arg_description = 0x0}, {
    long_name = 0x80a2926 "pid-file", short_name = 0 '\0', flags = 0, 
    arg = G_OPTION_ARG_FILENAME, arg_data = 0xbf9925b0, 
    description = 0x80a2370 "Specify the location of a PID file", 
    arg_description = 0x80a292f "filename"}, {long_name = 0x0, 
    short_name = 0 '\0', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x0, 
    description = 0x0, arg_description = 0x0}}
	__PRETTY_FUNCTION__ = "main"
(gdb) 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20090506/dc97e817/attachment.pgp>


More information about the Pkg-utopia-maintainers mailing list