Comment 4 for bug 259503

Revision history for this message
Alexander Sack (asac) wrote : Re: NetworkManager crashed with SIGSEGV in nm_device_get_act_request()

apport failed. I retraced locally and got:

(gdb) bt
#0 0x0000000000410dad in nm_device_get_act_request (self=0x147a060) at nm-device.c:346
#1 0x000000000041a02e in supplicant_iface_connection_state_cb_handler (user_data=<value optimized out>)
    at nm-device-wifi.c:2177
#2 0x00007faab721cea2 in IA__g_main_context_dispatch (context=0x14667c0) at /build/buildd/glib2.0-2.17.7/glib/gmain.c:2073
#3 0x00007faab722063d in g_main_context_iterate (context=0x14667c0, block=1, dispatch=1, self=<value optimized out>)
    at /build/buildd/glib2.0-2.17.7/glib/gmain.c:2706
#4 0x00007faab7220b6d in IA__g_main_loop_run (loop=0x14644b0) at /build/buildd/glib2.0-2.17.7/glib/gmain.c:2929
#5 0x000000000042611e in main (argc=1, argv=0x7fffc07ff0f8) at NetworkManager.c:339

(gdb) bt full
#0 0x0000000000410dad in nm_device_get_act_request (self=0x147a060) at nm-device.c:346
 __PRETTY_FUNCTION__ = "nm_device_get_act_request"
#1 0x000000000041a02e in supplicant_iface_connection_state_cb_handler (user_data=<value optimized out>)
    at nm-device-wifi.c:2177
 cb_data = (struct state_cb_data *) 0x1490c90
 self = (NMDeviceWifi *) 0x147a060
 dev = <value optimized out>
 new_state = 0
 old_state = 1
#2 0x00007faab721cea2 in IA__g_main_context_dispatch (context=0x14667c0) at /build/buildd/glib2.0-2.17.7/glib/gmain.c:2073
No locals.
#3 0x00007faab722063d in g_main_context_iterate (context=0x14667c0, block=1, dispatch=1, self=<value optimized out>)
    at /build/buildd/glib2.0-2.17.7/glib/gmain.c:2706
 max_priority = 200
 timeout = 0
 some_ready = 1
 nfds = 3
 allocated_nfds = <value optimized out>
 fds = (GPollFD *) 0x14735f0
 __PRETTY_FUNCTION__ = "g_main_context_iterate"
#4 0x00007faab7220b6d in IA__g_main_loop_run (loop=0x14644b0) at /build/buildd/glib2.0-2.17.7/glib/gmain.c:2929
 self = (GThread *) 0x145aaa0
 __PRETTY_FUNCTION__ = "IA__g_main_loop_run"
#5 0x000000000042611e in main (argc=1, argv=0x7fffc07ff0f8) at NetworkManager.c:339
 opt_ctx = <value optimized out>
 become_daemon = 1
 pidfile = 0x145a850 "/var/run/NetworkManager.pid"
 user_pidfile = 0x0
 success = <value optimized out>
 policy = (NMPolicy *) 0x1471db0
 vpn_manager = (NMVPNManager *) 0x14674a0
 named_mgr = <value optimized out>
 dbus_mgr = (NMDBusManager *) 0x145cd80
 sup_mgr = (NMSupplicantManager *) 0x145d040
 options = {{long_name = 0x44e526 "no-daemon", short_name = 0 '\0', flags = 0, arg = G_OPTION_ARG_NONE,
    arg_data = 0x7fffc07fefcc, description = 0x44e530 "Don't become a daemon", arg_description = 0x0}, {
    long_name = 0x44e546 "pid-file", short_name = 0 '\0', flags = 0, arg = G_OPTION_ARG_FILENAME,
    arg_data = 0x7fffc07fefc0, description = 0x44e040 "Specify the location of a PID file",
    arg_description = 0x44e54f "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"