Re: CVS (STABLE_0_3) works for Madwifi/Atheros, but starts too late
- From: Derek Atkins <warlord MIT EDU>
- To: Dan Williams <dcbw redhat com>
- Cc: networkmanager list <networkmanager-list gnome org>, Bill Moss <bmoss CLEMSON EDU>
- Subject: Re: CVS (STABLE_0_3) works for Madwifi/Atheros, but starts too late
- Date: Thu, 12 May 2005 21:28:02 -0400
Quoting Dan Williams <dcbw redhat com>:
> Can you do this?
Of course...
> As root:
> gdb /usr/bin/NetworkManager
> r --no-daemon
> <do stuff until it segfaults>
> t a a bt
> <mail me the result>
>
> Thanks!
> Dan
You're welcome. Here's the backtrace. (It took me about 2 minutes to do this
the first time, but then I realized I hadn't installed the debuginfo package --
then it took me another 7 to reproduce it again).
Let me know if you need anything else?
-derek
Detaching after fork from child process 10357.
NetworkManager: DHCP: Got some data of length 71.
NetworkManager: DHCP: Reply message was not UDP (ip_hdr->protocol = 6,
IPPROTO_UDP = 17), won't use it.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208894544 (LWP 10127)]
dhcp_init (iface=0x824e0a0) at client.c:767
767 memcpy (&(iface->siaddr),
iface->dhcp_options.val[dhcpServerIdentifier], 4);
(gdb) t a a bt
Thread 3 (Thread -1219384400 (LWP 10130)):
#0 0x0042f7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x004d31a6 in __nanosleep_nocancel () from /lib/tls/libc.so.6
#2 0x0050931a in usleep () from /lib/tls/libc.so.6
#3 0x00105b60 in iw_scan () from /lib/libiw.so.27
#4 0x0805c07a in nm_completion_scan_has_results (tries=0, args=0xfffffdfc)
at NetworkManagerDevice.c:3674
#5 0x0805fc7b in nm_v_wait_for_completion_or_timeout (max_tries=4000000,
max_time=0x0, interval_usecs=200000,
test_func=0x805c012 <nm_completion_scan_has_results>, action_func=0,
args=0xb751a230) at NetworkManagerUtils.c:671
#6 0x0805b3bd in nm_device_wireless_scan (user_data=0x82486c8)
at NetworkManagerDevice.c:3792
#7 0x006c5368 in g_main_context_wakeup () from /usr/lib/libglib-2.0.so.0
#8 0x006c27bb in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#9 0x006c4242 in g_main_context_acquire () from /usr/lib/libglib-2.0.so.0
#10 0x006c44ef in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#11 0x080574f9 in nm_device_worker (user_data=0x8249c98)
at NetworkManagerDevice.c:507
#12 0x006dc8d2 in g_static_private_free () from /usr/lib/libglib-2.0.so.0
#13 0x00690341 in start_thread () from /lib/tls/libpthread.so.0
#14 0x0050ffee in clone () from /lib/tls/libc.so.6
---Type <return> to continue, or q <return> to quit---
Thread 2 (Thread -1208894544 (LWP 10127)):
#0 dhcp_init (iface=0x824e0a0) at client.c:767
#1 0x080549df in nm_device_dhcp_request (dev=0x8247d30)
at NetworkManagerDHCP.c:233
#2 0x080585af in nm_device_activation_configure_ip (dev=0x8247d30,
do_only_autoip=0) at NetworkManagerDevice.c:2611
#3 0x08059e8b in nm_device_activate (user_data=0x8247d30)
at NetworkManagerDevice.c:2689
#4 0x006c5b5a in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
#5 0x006c27bb in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#6 0x006c4242 in g_main_context_acquire () from /usr/lib/libglib-2.0.so.0
#7 0x006c44ef in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#8 0x080574f9 in nm_device_worker (user_data=0x8247d30)
at NetworkManagerDevice.c:507
#9 0x006dc8d2 in g_static_private_free () from /usr/lib/libglib-2.0.so.0
#10 0x00690341 in start_thread () from /lib/tls/libpthread.so.0
#11 0x0050ffee in clone () from /lib/tls/libc.so.6
Thread 1 (Thread -1208891712 (LWP 10086)):
#0 0x0042f7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x006953fb in __read_nocancel () from /lib/tls/libpthread.so.0
#2 0x006e765e in g_spawn_error_quark () from /usr/lib/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#3 0x006e7fc2 in g_spawn_error_quark () from /usr/lib/libglib-2.0.so.0
#4 0x006e87a4 in g_spawn_sync () from /usr/lib/libglib-2.0.so.0
#5 0x0805f4e3 in nm_spawn_process (
args=0x825a518 "/sbin/ip route flush dev ath0")
at NetworkManagerUtils.c:391
#6 0x08061406 in nm_system_device_flush_routes (dev=0x825a518)
at backends/NetworkManagerRedHat.c:66
#7 0x0805d844 in nm_link_state_monitor (user_data=0x8243670)
at NetworkManager.c:490
#8 0x006c5368 in g_main_context_wakeup () from /usr/lib/libglib-2.0.so.0
#9 0x006c27bb in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#10 0x006c4242 in g_main_context_acquire () from /usr/lib/libglib-2.0.so.0
#11 0x006c44ef in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#12 0x0805e101 in main (argc=2, argv=0xbfe76b04) at NetworkManager.c:803
#13 0x0045de23 in __libc_start_main () from /lib/tls/libc.so.6
#14 0x0804b891 in _start ()
767 memcpy (&(iface->siaddr),
iface->dhcp_options.val[dhcpServerIdentifier], 4);
(gdb) quit
The program is running. Exit anyway? (y or n) y
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord MIT EDU PGP key available
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]