Re: 0.8.2 crashing (and wont start) when modprobe e1000e



On Tue, 2010-11-23 at 15:06 +0100, Will Stephenson wrote:
> On Friday 19 November 2010 23:30:01 Dan Williams wrote:
> > On Fri, 2010-11-12 at 15:05 +0100, Ma Begaj wrote:
> > > > Could you install debug packages and run NetworkManager from within gdb
> > > > to obtain better backtrace?
> > > > 
> > > > # gdb NetworkManager
> > > > (gdb) run --no-daemon
> > > > 
> > > > and when it crashes do
> > > > (gdb) t a a bt
> > > > 
> > > > Jirka
> > > 
> > > I run modprobe e1000e and this is gdb output:
> > > 
> > > NetworkManager[4998]: <info> (eth0): carrier is OFF
> > > NetworkManager[4998]: <info> (eth0): new Ethernet device (driver:
> > > 'e1000e' ifindex: 7)
> > > NetworkManager[4998]: <info> (eth0): exported as
> > > /org/freedesktop/NetworkManager/Devices/1
> > > NetworkManager[4998]: <info> (eth0): now managed
> > > NetworkManager[4998]: <info> (eth0): device state change: 1 -> 2 (reason
> > > 2) NetworkManager[4998]: <info> (eth0): bringing up device.
> > > NetworkManager[4998]: <info> (eth0): preparing device.
> > > NetworkManager[4998]: <info> (eth0): deactivating device (reason: 2).
> > > 
> > > Program received signal SIGSEGV, Segmentation fault.
> > > 0xb7a1f5f7 in strchr () from /lib/libc.so.6
> > > (gdb)
> > > (gdb) t a a bt
> > 
> > This is a lot better, but any chance you could:
> > 
> > debuginfo-install NetworkManager
> > 
> > for us so we can pinpoint the exact location?
> 
> Different system, same bug, debuginfo installed:
> 
> libgobject and libglib-2_0-0-2.27.3.  Any more info I can provide?

For anyone tracking this issue, Jirka Klimes found and pushed a fix for
this:

(master)
http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=4b022ed32bb3d729fd21d2e33483fda03c6a6333

(NM_0_8)
http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?h=NM_0_8&id=b8ff25eb43c9fa5eb534495a501c73169649d0a6

Dan

> 
> NetworkManager[25972]: <info> VPN: loaded 
> org.freedesktop.NetworkManager.openvpn
> NetworkManager[25972]: <info> VPN: loaded org.freedesktop.NetworkManager.vpnc
> NetworkManager[25972]: <info> VPN: loaded org.freedesktop.NetworkManager.pptp
> NetworkManager[25972]: <info> modem-manager is now available
> [New Thread 0xb767ab70 (LWP 25975)]
> NetworkManager[25972]: <info> monitoring kernel firmware directory 
> '/lib/firmware'.
> NetworkManager[25972]: <info> Loaded plugin ifcfg-suse: (C) 2008 Novell, Inc.  
> To report bugs please use the NetworkManager mailing list.
> NetworkManager[25972]: <info> Loaded plugin keyfile: (c) 2007 - 2010 Red Hat, 
> Inc.  To report bugs please use the NetworkManager mailing list.
> NetworkManager[25972]: <info> found WiFi radio killswitch rfkill2 (at 
> /sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0/ieee80211/phy0/rfkill2) 
> (driver <unknown>)
> NetworkManager[25972]: <info> WiFi enabled by radio killswitch; enabled by 
> state file
> NetworkManager[25972]: <info> WWAN enabled by radio killswitch; enabled by 
> state file
> NetworkManager[25972]: <info> WiMAX enabled by radio killswitch; enabled by 
> state file
> NetworkManager[25972]: <info> Networking is enabled by state file
> NetworkManager[25972]: <info> (eth0): carrier is ON
> NetworkManager[25972]: <info> (eth0): new Ethernet device (driver: 'e1000e' 
> ifindex: 2)
> NetworkManager[25972]: <info> (eth0): exported as 
> /org/freedesktop/NetworkManager/Devices/0
> NetworkManager[25972]: <info> (eth0): now managed
> NetworkManager[25972]: <info> (eth0): device state change: 1 -> 2 (reason 2)
> NetworkManager[25972]: <info> (eth0): preparing device.
> NetworkManager[25972]: <info> (eth0): deactivating device (reason: 2).
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0xb7a9adf3 in strchr () from /lib/libc.so.6
> (gdb) bt full
> #0  0xb7a9adf3 in strchr () from /lib/libc.so.6
> No symbol table info available.
> #1  0xb7cd66d0 in g_param_spec_pool_lookup (pool=0x810fa98, param_name=0x28 
> <Address 0x28 out of bounds>, owner_type=
>     135390752, walk_ancestors=1) at gparam.c:1052
>         pspec = 0xb7ebffa0
>         delim = <value optimized out>
>         __PRETTY_FUNCTION__ = "g_param_spec_pool_lookup"
> #2  0xb7cd0738 in g_object_set_valist (object=0x81383a8 [NMSettingConnection], 
> first_property_name=0x80e7357 "id", 
>     var_args=<value optimized out>) at gobject.c:1657
>         value = {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, v_int64 = 0, v_uint64 = 0, 
>               v_float = 0, v_double = 0, v_pointer = 0x0}}}
>         pspec = <value optimized out>
>         error = 0x0
>         nqueue = 0x8131090
>         name = 0x28 <Address 0x28 out of bounds>
>         __PRETTY_FUNCTION__ = "g_object_set_valist"
> #3  0xb7cd1688 in g_object_set (_object=0x81383a8, 
> first_property_name=0x80e7357 "id") at gobject.c:1800
>         object = 0x81383a8 [NMSettingConnection]
>         var_args = 0xbfffefc8 
> "\320\321\023\b\245\032\r\b\001N\r\b\276\343\016\b\001"
>         __PRETTY_FUNCTION__ = "g_object_set"
> #4  0x080d13a1 in constructor (type=135508864, n_construct_params=5, 
> construct_params=0x813c0c0)
>     at nm-default-wired-connection.c:160
>         object = 0x811b250 [NMDefaultWiredConnection]
>         priv = 0x811b288
>         s_con = 0x81383a8 [NMSettingConnection]
>         s_wired = <value optimized out>
>         id = 0x813d1d0 "Auto eth0"
>         uuid = 0x813d200 "a1c514f6-2894-44c5-bba2-b0450050311f"
> #5  0xb7ccf29e in g_object_newv (object_type=135508864, n_parameters=3, 
> parameters=0x813bf18) at gobject.c:1467
>         cparams = 0x813c0c0
>         oparams = 0x813c0f0
>         nqueue = 0x0
>         object = <value optimized out>
>         class = 0x811e6b8
>         unref_class = 0x0
> ---Type <return> to continue, or q <return> to quit---
>         slist = <value optimized out>
>         n_total_cparams = <value optimized out>
>         n_cparams = 5
>         n_oparams = <value optimized out>
>         n_cvalues = 2
>         cvalues = 0x813c0f0
>         clist = <value optimized out>
>         newly_constructed = <value optimized out>
>         i = <value optimized out>
>         __PRETTY_FUNCTION__ = "g_object_newv"
> #6  0xb7cd0417 in g_object_new_valist (object_type=135508864, 
> first_property_name=0x80ee365 "mac", 
>     var_args=<value optimized out>) at gobject.c:1583
>         class = 0x811e6b8
>         params = 0x813bf18
>         name = <value optimized out>
>         object = <value optimized out>
>         n_params = <value optimized out>
>         n_alloced_params = <value optimized out>
>         __PRETTY_FUNCTION__ = "g_object_new_valist"
> #7  0xb7cd0540 in g_object_new (object_type=135508864, 
> first_property_name=0x80ee365 "mac") at gobject.c:1301
>         var_args = 0xbffff1f8 "0\345\022\b0\226\r\b\240\240\023\b|\343\016\b"
>         __PRETTY_FUNCTION__ = "g_object_new"
> #8  0x080d153b in nm_default_wired_connection_new (mac=0x812e530, 
> device=0x813a0a0 [NMDeviceEthernet], read_only=0)
>     at nm-default-wired-connection.c:79
>         __PRETTY_FUNCTION__ = "nm_default_wired_connection_new"
> #9  0x080cdd4b in nm_sysconfig_settings_device_added (self=0x811b0e8 
> [NMSysconfigSettings], device=
>     0x813a0a0 [NMDeviceEthernet]) at nm-sysconfig-settings.c:1281
>         mac = 0x812e530
>         tmp = {ether_addr_octet = "\000\026\323\061\064X"}
>         wired = <value optimized out>
>         s_con = <value optimized out>
>         read_only = <value optimized out>
>         id = <value optimized out>
>         __PRETTY_FUNCTION__ = "nm_sysconfig_settings_device_added"
> #10 0x080947d6 in add_device (self=0x811d028 [NMManager], device=0x813a0a0 
> [NMDeviceEthernet]) at nm-manager.c:2163
>         priv = 0x811d038
> ---Type <return> to continue, or q <return> to quit---
>         iface = <value optimized out>
>         driver = <value optimized out>
>         type_desc = 0x0
>         path = 0x0
>         devcount = 1
>         unmanaged_specs = <value optimized out>
>         existing = 0x0
>         iter = {dummy1 = 0x810bcf0, dummy2 = 0x81123b8, dummy3 = 0x8081580, 
> dummy4 = 8, dummy5 = 135504032, dummy6 = 0x0}
>         value = 0x0
>         managed = 1
>         enabled = <value optimized out>
>         __PRETTY_FUNCTION__ = "add_device"
> #11 0x080a292a in _nm_marshal_VOID__POINTER_POINTER (closure=0x8134108, 
> return_value=0x0, n_param_values=3, param_values=
>     0x811b8d0, invocation_hint=0xbffff470, marshal_data=0x0) at nm-
> marshal.c:502
>         callback = 0x8095c40 <udev_device_added_cb>
>         cc = 0x8134108
>         data1 = <value optimized out>
>         data2 = <value optimized out>
>         __PRETTY_FUNCTION__ = "_nm_marshal_VOID__POINTER_POINTER"
> #12 0xb7cc99b4 in g_closure_invoke (closure=0x8134108, return_value=0x0, 
> n_param_values=3, param_values=0x811b8d0, 
>     invocation_hint=0xbffff470) at gclosure.c:766
>         marshal = 0x80a2890 <_nm_marshal_VOID__POINTER_POINTER>
>         marshal_data = 0x0
>         in_marshal = -1209258240
>         __PRETTY_FUNCTION__ = "g_closure_invoke"
> #13 0xb7cdd594 in signal_emit_unlocked_R (node=<value optimized out>, 
> detail=0, instance=0x81123b8, emission_return=0x0, 
>     instance_and_params=0x811b8d0) at gsignal.c:3252
>         tmp = <value optimized out>
>         handler = 0x812f3c0
>         accumulator = 0x0
>         emission = {next = 0x0, instance = 0x81123b8, ihint = {signal_id = 37, 
> detail = 0, run_type = G_SIGNAL_RUN_FIRST}, 
>           state = EMISSION_RUN, chain_type = 4}
>         class_closure = 0x81329e8
>         handler_list = 0x812f3c0
>         return_accu = 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, 
> ---Type <return> to continue, or q <return> to quit---
>               v_double = 0, v_pointer = 0x0}, {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}}}
>         signal_id = 37
>         max_sequential_handler_number = 72
>         return_value_altered = 1
> #14 0xb7ce69bf in g_signal_emit_valist (instance=0x81123b8, signal_id=37, 
> detail=0, var_args=
>     0xbffff624 
> "\001-\377\267x$\021\b\020q\023\b`=\023\bl\366\377\277\311\036\353\267\300\022\023\bX.
> \023\b\270#\021\b\300\022\023\b\177#\b\bx\"\021\bX.\023\b") at gsignal.c:2983
>         instance_and_params = 0x811b8d0
>         signal_return_type = 4
>         param_values = 0x811b8e4
>         node = 0x81328e0
>         i = <value optimized out>
>         n_params = 2
>         __PRETTY_FUNCTION__ = "g_signal_emit_valist"
> #15 0xb7ce6b53 in g_signal_emit (instance=0x81123b8, signal_id=37, detail=0) 
> at gsignal.c:3040
>         var_args = 
>     0xbffff61c 
> "x\"\021\b\200\025\b\b\001-\377\267x$\021\b\020q\023\b`=\023\bl\366\377\277\311\036\353\267\300\022\023\bX.
> \023\b\270#\021\b\300\022\023\b\177#\b\bx\"\021\bX.\023\b"
> #16 0x08081181 in net_add (self=0x81123b8 [NMUdevManager], device=0x8112278 
> [GUdevDevice]) at nm-udev-manager.c:435
>         etype = <value optimized out>
>         iface = <value optimized out>
>         devtype = <value optimized out>
>         __PRETTY_FUNCTION__ = "net_add"
> #17 0x0808237f in nm_udev_manager_query_devices (self=0x81123b8 
> [NMUdevManager]) at nm-udev-manager.c:455
>         priv = <value optimized out>
>         devices = 0x81312c0 = {0x8112278, 0x81122a0, 0x8112390, 0x8112478}
>         iter = 0x81312c0 = {0x8112278, 0x81122a0, 0x8112390, 0x8112478}
>         __PRETTY_FUNCTION__ = "nm_udev_manager_query_devices"
> #18 0x0809be3c in nm_manager_start (self=0x811d028 [NMManager]) at nm-
> manager.c:3973
>         priv = 0x811d038
>         i = <value optimized out>
>         __PRETTY_FUNCTION__ = "nm_manager_start"
> #19 0x08088d82 in main (argc=1, argv=0xbffffa14) at main.c:716
>         opt_ctx = <value optimized out>
>         become_daemon = 0
> ---Type <return> to continue, or q <return> to quit---
>         g_fatal_warnings = 0
>         pidfile = 0x8109898 "/var/run/NetworkManager.pid"
>         state_file = 0x8109650 "/var/lib/NetworkManager/NetworkManager.state"
>         dhcp = 0x0
>         config = 0x8109780 "/etc/NetworkManager/nm-system-settings.conf"
>         plugins = 0x810cb98 "ifcfg-suse,keyfile"
>         conf_plugins = 0x810cbf8 ""
>         log_level = 0x0
>         log_domains = 0x0
>         dns = 0x0
>         wifi_enabled = <value optimized out>
>         net_enabled = <value optimized out>
>         wwan_enabled = <value optimized out>
>         success = 0
>         policy = 0x8134278
>         vpn_manager = 0x8110460 [NMVPNManager]
>         dns_mgr = 0x811b058 [NMDnsManager]
>         dbus_mgr = 0x8111000 [NMDBusManager]
>         sup_mgr = 0x8112340 [NMSupplicantManager]
>         dhcp_mgr = 0x8112318 [NMDHCPManager]
>         error = 0x0
>         wrote_pidfile = 0
>         cfg_log_level = 0x0
>         cfg_log_domains = 0x0
>         options = {{long_name = 0x80dd265 "no-daemon", short_name = 0 '\000', 
> flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 
>     0xbffff948, description = 0x80dd26f "Don't become a daemon", 
> arg_description = 0x0}, {long_name = 
>     0x80dd285 "g-fatal-warnings", short_name = 0 '\000', flags = 0, arg = 
> G_OPTION_ARG_NONE, arg_data = 0xbffff944, 
>             description = 0x80dd296 "Make all warnings fatal", arg_description 
> = 0x0}, {long_name = 0x80dd2ae "pid-file", 
>             short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_FILENAME, 
> arg_data = 0xbffff940, description = 
>     0x80dcc04 "Specify the location of a PID file", arg_description = 
> 0x80dd2b7 "filename"}, {long_name = 
>     0x80dd2c0 "state-file", short_name = 0 '\000', flags = 0, arg = 
> G_OPTION_ARG_FILENAME, arg_data = 0xbffff93c, 
>             description = 0x80dd2cb "State file location", arg_description = 
> 0x80dd2df "/path/to/state.file"}, {long_name = 
>     0x80dd69c "config", short_name = 0 '\000', flags = 0, arg = 
> G_OPTION_ARG_FILENAME, arg_data = 0xbffff934, description = 
>     0x80dd2f3 "Config file location", arg_description = 0x80dd308 
> "/path/to/config.file"}, {long_name = 0x80dd202 "plugins", 
>             short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_STRING, 
> arg_data = 0xbffff930, description = 
>     0x80dcc28 "List of plugins separated by ','", arg_description = 0x80dd31d 
> "plugin1,plugin2"}, {long_name = 
> ---Type <return> to continue, or q <return> to quit---
>     0x80dd32d "log-level", short_name = 0 '\000', flags = 0, arg = 
> G_OPTION_ARG_STRING, arg_data = 0xbffff928, description = 
>     0x80dcc4c "Log level: one of [ERR, WARN, INFO, DEBUG]", arg_description = 
> 0x80dd337 "INFO"}, {long_name = 
>     0x80dd33c "log-domains", short_name = 0 '\000', flags = 0, arg = 
> G_OPTION_ARG_STRING, arg_data = 0xbffff924, 
>             description = 
>     0x80dcc78 "Log domains separated by ',': any combination of 
> [NONE,HW,RKILL,ETHER,WIFI,BT,MB,DHCP4,DHCP6,PPP,WIFI_SCAN,IP4,IP6,AUTOIP4,DNS,VPN,SHARING,SUPPLICANT,USER_SET,SYS_SET,SUSPEND,CORE,DEVICE,OLPC]", 
> arg_description = 
>     0x80dd348 "HW,RFKILL,WIFI"}, {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"
> 
> 
> 
> _______________________________________________
> networkmanager-list mailing list
> networkmanager-list gnome org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]