[pkg-wpa-devel] Bug#485769: wpasupplicant crashes

Stefan Fritsch sf at sfritsch.de
Sun Aug 24 13:38:46 UTC 2008


severity 485769 grave
retitle 485769 wpasupplicant crashes
thanks

wpasupplicant crashes for me always. I have recompiled 0.6.4-1 with 
nostrip and created a back trace for the case when it is started directly. 
The configuration is rather simple:

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
network={
         ssid="fnetz"
 	psk="1234567890123"
         id_str="nbg"
}

network={
         key_mgmt=NONE
}


If it is started my network-manager, it crashes too, but I don't know how 
to get a core dump in this case. I just get this in syslog:

kernel: [ 3740.547741] wpa_supplicant[7804]: segfault at 
8 ip f7c538f4 sp ffb2b214 error 6 in libc-2.7.so[f7be7000+138000]


Kernel is linux-image-2.6.25-2-amd64 2.6.25-7 (but with 32bit user land), 
wlan driver is iwl3945.
-------------- next part --------------
# wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -i wlan0 -D wext -ddd
Initializing interface 'wlan0' conf '/etc/wpa_supplicant/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant/wpa_supplicant.conf' -> '/etc/wpa_supplicant/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant/wpa_supplicant.conf'
ctrl_interface='DIR=/var/run/wpa_supplicant GROUP=netdev'
Line: 79 - start of a new network block
ssid - hexdump_ascii(len=5):
     66 6e 65 74 7a                                    fnetz
PSK (ASCII passphrase) - hexdump_ascii(len=13): [REMOVED]
id_str - hexdump_ascii(len=3):
     6e 62 67                                          nbg
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Line: 89 - start of a new network block
key_mgmt: 0x4
Priority group 0
   id=0 ssid='fnetz'
   id=1 ssid=''
Initializing interface (2) 'wlan0'
SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
  capabilities: key_mgmt 0xf enc 0xf flags 0x0
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: 00:1f:3c:a5:bd:39
wpa_driver_wext_set_wpa
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_countermeasures
wpa_driver_wext_set_drop_unencrypted
RSN: flushing PMKID list in the driver
Setting scan request: 0 sec 100000 usec
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
Using existing control interface directory.
ctrl_interface_group=108 (from group name 'netdev')
ctrl_iface bind(PF_UNIX) failed: Address already in use
ctrl_iface exists, but does not allow connections - assuming it was leftover from forced program termination
Successfully replaced leftover ctrl_iface socket '/var/run/wpa_supplicant/wlan0'
Added interface wlan0
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b06 len=12
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
Trying to get current scan results first without requesting a new scan to speed up initial association
Received 0 bytes of scan results (0 BSSes)
CTRL-EVENT-SCAN-RESULTS
Selecting BSS from priority group 0
Try to find WPA-enabled AP
Try to find non-WPA AP
No suitable AP found.
Setting scan request: 0 sec 0 usec
Starting AP scan (broadcast SSID)
Scan requested (ret=0) - scan timeout 5 seconds
EAPOL: disable timer tick
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=16
Invalid freq in scan results (BSSID=00:00:01:00:00:1d m=0 e=27520)
Invalid freq in scan results (BSSID=00:00:01:00:00:1a m=0 e=11)
Received 925 bytes of scan results (3 BSSes)
CTRL-EVENT-SCAN-RESULTS
Selecting BSS from priority group 0
Try to find WPA-enabled AP
0: 00:00:01:00:00:1d ssid='' wpa_ie_len=0 rsn_ie_len=0 caps=0x10
   skip - no WPA/RSN IE
1: 00:00:01:00:00:1a ssid='' wpa_ie_len=0 rsn_ie_len=0 caps=0x10
   skip - no WPA/RSN IE
2: 00:00:01:00:00:13 ssid='' wpa_ie_len=0 rsn_ie_len=0 caps=0x10
   skip - no WPA/RSN IE
Try to find non-WPA AP
0: 00:00:01:00:00:1d ssid='' wpa_ie_len=0 rsn_ie_len=0 caps=0x10
   skip - SSID mismatch
   skip - privacy mismatch
1: 00:00:01:00:00:1a ssid='' wpa_ie_len=0 rsn_ie_len=0 caps=0x10
   skip - SSID mismatch
   skip - privacy mismatch
2: 00:00:01:00:00:13 ssid='' wpa_ie_len=0 rsn_ie_len=0 caps=0x10
   skip - SSID mismatch
   skip - privacy mismatch
No suitable AP found.
Setting scan request: 5 sec 0 usec
Starting AP scan (broadcast SSID)
Scan requested (ret=0) - scan timeout 30 seconds
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=16
Invalid freq in scan results (BSSID=00:00:01:00:00:1d m=0 e=27520)
Invalid freq in scan results (BSSID=00:00:01:00:00:1a m=0 e=11)
Received 1234 bytes of scan results (4 BSSes)
CTRL-EVENT-SCAN-RESULTS
Selecting BSS from priority group 0
Try to find WPA-enabled AP
0: 00:00:01:00:00:1d ssid='' wpa_ie_len=0 rsn_ie_len=0 caps=0x10
   skip - no WPA/RSN IE
1: 00:00:01:00:00:1a ssid='' wpa_ie_len=0 rsn_ie_len=0 caps=0x10
   skip - no WPA/RSN IE
2: 00:00:01:00:00:17 ssid='' wpa_ie_len=0 rsn_ie_len=0 caps=0x10
   skip - no WPA/RSN IE
3: 00:00:01:00:00:04 ssid='' wpa_ie_len=0 rsn_ie_len=0 caps=0x10
   skip - no WPA/RSN IE
Try to find non-WPA AP
0: 00:00:01:00:00:1d ssid='' wpa_ie_len=0 rsn_ie_len=0 caps=0x10
   skip - SSID mismatch
   skip - privacy mismatch
1: 00:00:01:00:00:1a ssid='' wpa_ie_len=0 rsn_ie_len=0 caps=0x10
   skip - SSID mismatch
   skip - privacy mismatch
2: 00:00:01:00:00:17 ssid='' wpa_ie_len=0 rsn_ie_len=0 caps=0x10
   skip - SSID mismatch
   skip - privacy mismatch
3: 00:00:01:00:00:04 ssid='' wpa_ie_len=0 rsn_ie_len=0 caps=0x10
   skip - SSID mismatch
   skip - privacy mismatch
No suitable AP found.
Setting scan request: 5 sec 0 usec
Starting AP scan (broadcast SSID)
Scan requested (ret=0) - scan timeout 30 seconds
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=16
Invalid freq in scan results (BSSID=00:00:01:00:00:1d m=0 e=27520)
Invalid freq in scan results (BSSID=00:00:01:00:00:1a m=0 e=11)
Received 880 bytes of scan results (3 BSSes)
CTRL-EVENT-SCAN-RESULTS
Selecting BSS from priority group 0
Try to find WPA-enabled AP
0: 00:00:01:00:00:1d ssid='' wpa_ie_len=0 rsn_ie_len=0 caps=0x10
   skip - no WPA/RSN IE
1: 00:00:01:00:00:14 ssid='' wpa_ie_len=0 rsn_ie_len=0 caps=0x10
   skip - no WPA/RSN IE
2: 00:00:01:00:00:1a ssid='' wpa_ie_len=0 rsn_ie_len=0 caps=0x10
   skip - no WPA/RSN IE
Try to find non-WPA AP
0: 00:00:01:00:00:1d ssid='' wpa_ie_len=0 rsn_ie_len=0 caps=0x10
   skip - SSID mismatch
   skip - privacy mismatch
1: 00:00:01:00:00:14 ssid='' wpa_ie_len=0 rsn_ie_len=0 caps=0x10
   skip - SSID mismatch
   skip - privacy mismatch
2: 00:00:01:00:00:1a ssid='' wpa_ie_len=0 rsn_ie_len=0 caps=0x10
   skip - SSID mismatch
   skip - privacy mismatch
No suitable AP found.
Setting scan request: 5 sec 0 usec
Starting AP scan (broadcast SSID)
Scan requested (ret=0) - scan timeout 30 seconds
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=16
Invalid freq in scan results (BSSID=00:00:01:00:00:1d m=0 e=27520)
Invalid freq in scan results (BSSID=00:00:01:00:00:04 m=0 e=10)
Invalid freq in scan results (BSSID=00:00:01:00:00:04 m=0 e=5536)
*** glibc detected *** wpa_supplicant: double free or corruption (fasttop): 0x08881d78 ***
======= Backtrace: =========
/lib/libc.so.6[0xf7d10825]
/lib/libc.so.6(cfree+0x9c)[0xf7d126cc]
wpa_supplicant[0x8090e19]
wpa_supplicant[0x80875d2]
wpa_supplicant[0x808b4a0]
wpa_supplicant[0x8091d77]
wpa_supplicant[0x80925d9]
wpa_supplicant[0x8051942]
wpa_supplicant[0x8051ef7]
wpa_supplicant[0x8086e66]
wpa_supplicant[0x808e11c]
/lib/libc.so.6(__libc_start_main+0xe5)[0xf7cbc455]
wpa_supplicant[0x804cc81]
======= Memory map: ========
08048000-080a9000 r-xp 00000000 08:05 545491                             /sbin/wpa_supplicant
080a9000-080aa000 rw-p 00061000 08:05 545491                             /sbin/wpa_supplicant
08881000-088a2000 rw-p 08881000 00:00 0                                  [heap]
f7b00000-f7b21000 rw-p f7b00000 00:00 0
f7b21000-f7c00000 ---p f7b21000 00:00 0
f7c30000-f7c3c000 r-xp 00000000 08:05 264309                             /lib/libgcc_s.so.1
f7c3c000-f7c3d000 rw-p 0000b000 08:05 264309                             /lib/libgcc_s.so.1
f7c3d000-f7c46000 r-xp 00000000 08:05 264322                             /lib/libnss_files-2.7.so
f7c46000-f7c48000 rw-p 00008000 08:05 264322                             /lib/libnss_files-2.7.so
f7c48000-f7c5b000 r-xp 00000000 08:05 264319                             /lib/libnsl-2.7.so
f7c5b000-f7c5d000 rw-p 00012000 08:05 264319                             /lib/libnsl-2.7.so
f7c5d000-f7c5f000 rw-p f7c5d000 00:00 0
f7c73000-f7c75000 rw-p f7c73000 00:00 0
f7c75000-f7c89000 r-xp 00000000 08:05 460801                             /usr/lib/libz.so.1.2.3.3
f7c89000-f7c8a000 rw-p 00013000 08:05 460801                             /usr/lib/libz.so.1.2.3.3
f7c8a000-f7c8c000 r-xp 00000000 08:05 264316                             /lib/libdl-2.7.so
f7c8c000-f7c8e000 rw-p 00001000 08:05 264316                             /lib/libdl-2.7.so
f7c8e000-f7ca2000 r-xp 00000000 08:05 264327                             /lib/libpthread-2.7.so
f7ca2000-f7ca4000 rw-p 00013000 08:05 264327                             /lib/libpthread-2.7.so
f7ca4000-f7ca6000 rw-p f7ca4000 00:00 0
f7ca6000-f7dde000 r-xp 00000000 08:05 264313                             /lib/libc-2.7.so
f7dde000-f7ddf000 r--p 00138000 08:05 264313                             /lib/libc-2.7.so
f7ddf000-f7de1000 rw-p 00139000 08:05 264313                             /lib/libc-2.7.so
f7de1000-f7de4000 rw-p f7de1000 00:00 0
f7de4000-f7e1a000 r-xp 00000000 08:05 459627                             /usr/lib/libdbus-1.so.3.4.0
f7e1a000-f7e1c000 rw-p 00035000 08:05 459627                             /usr/lib/libdbus-1.so.3.4.0
f7e1c000-f7f56000 r-xp 00000000 08:05 475215                             /usr/lib/i686/cmov/libcrypto.so.0.9.8
f7f56000-f7f6c000 rw-p 0013a000 08:05 475215                             /usr/lib/i686/cmov/libcrypto.so.0.9.8
f7f6c000-f7f70000 rw-p f7f6c000 00:00 0
f7f70000-f7fb2000 r-xp 00000000 08:05 475216                             /usr/lib/i686/cmov/libssl.so.0.9.8
f7fb2000-f7fb6000 rw-p 00042000 08:05 475216                             /usr/lib/i686/cmov/libssl.so.0.9.8
f7fb6000-f7fbe000 r-xp 00000000 08:05 680272                             /usr/lib/libpcsclite.so.1.0.0
f7fbe000-f7fbf000 rw-p 00008000 08:05 680272                             /usr/lib/libpcsclite.so.1.0.0
f7fbf000-f7fc7000 r-xp 00000000 08:05 264324                             /lib/libnss_nis-2.7.so
f7fc7000-f7fc9000 rw-p 00007000 08:05 264324                             /lib/libnss_nis-2.7.so
f7fc9000-f7fd0000 r-xp 00000000 08:05 264320                             /lib/libnss_compat-2.7.so
f7fd0000-f7fd2000 rw-p 00006000 08:05 264320                             /lib/libnss_compat-2.7.so
f7fd2000-f7fd5000 rw-p f7fd2000 00:00 0
f7fd5000-f7fd6000 r-xp f7fd5000 00:00 0                                  [vdso]
f7fd6000-f7ff0000 r-xp 00000000 08:05 264310                             /lib/ld-2.7.so
f7ff0000-f7ff2000 rw-p 0001a000 08:05 264310                             /lib/ld-2.7.so
ffadd000-ffaf2000 rw-p 7ffffffea000 00:00 0                              [stack]
Aborted (core dumped)


# gdb /sbin/wpa_supplicant core
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"...

warning: Can't read pathname for load map: Input/output error.
Reading symbols from /usr/lib/libpcsclite.so.1...done.
Loaded symbols for /usr/lib/libpcsclite.so.1
Reading symbols from /usr/lib/i686/cmov/libssl.so.0.9.8...done.
Loaded symbols for /usr/lib/i686/cmov/libssl.so.0.9.8
Reading symbols from /usr/lib/i686/cmov/libcrypto.so.0.9.8...done.
Loaded symbols for /usr/lib/i686/cmov/libcrypto.so.0.9.8
Reading symbols from /usr/lib/libdbus-1.so.3...done.
Loaded symbols for /usr/lib/libdbus-1.so.3
Reading symbols from /lib/libc.so.6...Reading symbols from /usr/lib/debug/lib/libc-2.7.so...done.
done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/libpthread.so.0...Reading symbols from /usr/lib/debug/lib/libpthread-2.7.so...done.
done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libdl.so.2...Reading symbols from /usr/lib/debug/lib/libdl-2.7.so...done.
done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/ld-linux.so.2...Reading symbols from /usr/lib/debug/lib/ld-2.7.so...done.
done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_compat.so.2...Reading symbols from /usr/lib/debug/lib/libnss_compat-2.7.so...done.
done.
Loaded symbols for /lib/libnss_compat.so.2
Reading symbols from /lib/libnsl.so.1...Reading symbols from /usr/lib/debug/lib/libnsl-2.7.so...done.
done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libnss_nis.so.2...Reading symbols from /usr/lib/debug/lib/libnss_nis-2.7.so...done.
done.
Loaded symbols for /lib/libnss_nis.so.2
Reading symbols from /lib/libnss_files.so.2...Reading symbols from /usr/lib/debug/lib/libnss_files-2.7.so...done.
done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libgcc_s.so.1...done.
Loaded symbols for /lib/libgcc_s.so.1
Core was generated by `wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -i wlan0 -D wext -ddd'.
Program terminated with signal 6, Aborted.
[New process 17760]
#0  0xf7cd0566 in raise () from /lib/libc.so.6
(gdb) bt full
#0  0xf7cd0566 in raise () from /lib/libc.so.6
No symbol table info available.
#1  0xf7cd1d88 in abort () from /lib/libc.so.6
No symbol table info available.
#2  0xf7d0aadd in __libc_message () from /lib/libc.so.6
No symbol table info available.
#3  0xf7d10825 in malloc_printerr () from /lib/libc.so.6
No symbol table info available.
#4  0xf7d126cc in free () from /lib/libc.so.6
No symbol table info available.
#5  0x08090e19 in wpa_driver_wext_get_scan_results (priv=0x8881570)
    at ../src/drivers/driver_wext.c:1655
        first = 0
        iwe_buf = {len = 24, cmd = 35605, u = {
    name = "\000\000\000\000\001\000\000\032O??\t\000\000\000", essid = {
      pointer = 0x0, length = 1, flags = 6656}, nwid = {value = 0,
      fixed = 1 '\001', disabled = 0 '\0', flags = 6656}, freq = {m = 0,
      e = 1, i = 0 '\0', flags = 26 '\032'}, sens = {value = 0,
      fixed = 1 '\001', disabled = 0 '\0', flags = 6656}, bitrate = {
      value = 0, fixed = 1 '\001', disabled = 0 '\0', flags = 6656},
    txpower = {value = 0, fixed = 1 '\001', disabled = 0 '\0', flags = 6656},
    rts = {value = 0, fixed = 1 '\001', disabled = 0 '\0', flags = 6656},
    frag = {value = 0, fixed = 1 '\001', disabled = 0 '\0', flags = 6656},
---Type <return> to continue, or q <return> to quit---
    mode = 0, retry = {value = 0, fixed = 1 '\001', disabled = 0 '\0',
      flags = 6656}, encoding = {pointer = 0x0, length = 1, flags = 6656},
    power = {value = 0, fixed = 1 '\001', disabled = 0 '\0', flags = 6656},
    qual = {qual = 0 '\0', level = 0 '\0', noise = 0 '\0', updated = 0 '\0'},
    ap_addr = {sa_family = 0,
      sa_data = "\000\000\001\000\000\032O??\t\000\000\000"}, addr = {
      sa_family = 0, sa_data = "\000\000\001\000\000\032O??\t\000\000\000"},
    param = {value = 0, fixed = 1 '\001', disabled = 0 '\0', flags = 6656},
    data = {pointer = 0x0, length = 1, flags = 6656}}}
        pos = 0x888d714 "\030"
        end = 0x888d853 "Box Fon WLAN 7141\f"
        custom = 0x888d720 "O??\t"
        res = (struct wpa_scan_results *) 0x8881d68
        data = {res = {bssid = "\000\000\001\000\000\004", freq = 0,
    beacon_int = 0, caps = 16, qual = 0, noise = 0, level = 0, tsf = 0,
    ie_len = 0}, ie = 0x8881d78 "", ie_len = 0,
  ssid = '\0' <repeats 31 times>, ssid_len = 0, maxrate = 0}
#6  0x080875d2 in wpa_supplicant_get_scan_results (wpa_s=0x88813d0)
    at wpa_supplicant_i.h:484
        ret = 0
#7  0x0808b4a0 in wpa_supplicant_event (ctx=0x88813d0, event=EVENT_ASSOC,
    data=0x0) at events.c:542
        wpa_s = <value optimized out>
---Type <return> to continue, or q <return> to quit---
#8  0x08091d77 in wpa_driver_wext_event_wireless (drv=0x8881570,
    ctx=0x88813d0, data=<value optimized out>, len=16)
    at ../src/drivers/driver_wext.c:673
        iwe_buf = {len = 16, cmd = 35609, u = {
    name = "\a\a", '\0' <repeats 13 times>, essid = {pointer = 0x707,
      length = 0, flags = 0}, nwid = {value = 1799, fixed = 0 '\0',
      disabled = 0 '\0', flags = 0}, freq = {m = 1799, e = 0, i = 0 '\0',
      flags = 0 '\0'}, sens = {value = 1799, fixed = 0 '\0',
      disabled = 0 '\0', flags = 0}, bitrate = {value = 1799, fixed = 0 '\0',
      disabled = 0 '\0', flags = 0}, txpower = {value = 1799, fixed = 0 '\0',
      disabled = 0 '\0', flags = 0}, rts = {value = 1799, fixed = 0 '\0',
      disabled = 0 '\0', flags = 0}, frag = {value = 1799, fixed = 0 '\0',
      disabled = 0 '\0', flags = 0}, mode = 1799, retry = {value = 1799,
      fixed = 0 '\0', disabled = 0 '\0', flags = 0}, encoding = {
      pointer = 0x707, length = 0, flags = 0}, power = {value = 1799,
      fixed = 0 '\0', disabled = 0 '\0', flags = 0}, qual = {qual = 7 '\a',
      level = 7 '\a', noise = 0 '\0', updated = 0 '\0'}, ap_addr = {
      sa_family = 1799, sa_data = '\0' <repeats 13 times>}, addr = {
      sa_family = 1799, sa_data = '\0' <repeats 13 times>}, param = {
      value = 1799, fixed = 0 '\0', disabled = 0 '\0', flags = 0}, data = {
      pointer = 0x707, length = 0, flags = 0}}}
        pos = 0xffaee730 "\020"
        end = 0xffaee740 ""
---Type <return> to continue, or q <return> to quit---
        custom = <value optimized out>
        buf = <value optimized out>
#9  0x080925d9 in wpa_driver_wext_event_receive (sock=4, eloop_ctx=0x8881570,
    sock_ctx=0x88813d0) at ../src/drivers/driver_wext.c:822
        len = 52
        buf = "4\000\000\000\020", '\0' <repeats 13 times>, "\001\000\b\000\000\000\003\020\000\000\000\000\000\000\024\000\v\000\020\000\031\213\a\a", '\0' <repeats 4990 times>, "\230?????????g`??????????????????HG??????g`?????????????????????\017??????H?????????\236\031\000\000h?????????????????????g`??????\226}??????", '\0' <repeats 20 times>, "g`??????", '\0' <repeats 16 times>, " \020??????", '\0' <repeats 12 times>, "(?????????\000\000\000\000\000\000\000\000\226}??????\000\000\000\000???\025??????+?????????X?????????HG??????+????????????e?????????\017?????????\022??????\000\000\000\0001(?????????"...
        left = 52
        from = {nl_family = 16, nl_pad = 0, nl_pid = 0, nl_groups = 1}
        fromlen = 12
        h = (struct nlmsghdr *) 0xffaee70c
        max_events = 10
#10 0x08051942 in eloop_sock_table_dispatch (table=0x80a9688, fds=0x888d2f8)
    at ../src/utils/eloop.c:159
        i = 0
#11 0x08051ef7 in eloop_run () at ../src/utils/eloop.c:506
        rfds = (fd_set *) 0x6
        wfds = <value optimized out>
        efds = <value optimized out>
---Type <return> to continue, or q <return> to quit---
        res = 1
        _tv = {tv_sec = 27, tv_usec = 460000}
        now = {sec = 1219584004, usec = 303410}
#12 0x08086e66 in wpa_supplicant_run (global=0x8881388)
    at wpa_supplicant.c:2019
        wpa_s = (struct wpa_supplicant *) 0x8881020
#13 0x0808e11c in main (argc=Cannot access memory at address 0x4560
) at main.c:266
        c = <value optimized out>
        i = 1
        ifaces = (struct wpa_interface *) 0x8881008
        iface = <value optimized out>
        iface_count = 1
        exitcode = <value optimized out>
        params = {daemonize = 0, wait_for_monitor = 0, pid_file = 0x0,
  wpa_debug_level = -1, wpa_debug_show_keys = 0, wpa_debug_timestamp = 0,
  ctrl_interface = 0x0, dbus_ctrl_interface = 0, wpa_debug_file_path = 0x0}
        global = <value optimized out>
(gdb) quit


More information about the Pkg-wpa-devel mailing list