<div>Hi there,</div>
<div>&nbsp;</div>
<div>I have already tried sending an email to this list, but I got no reply. As my problem is really urgent, I try again with a shorter email.</div>
<div>&nbsp;</div>
<div>I am doing automated traffic tests with wpa_supplicant and from time to time (sometimes after two hours, sometimes after 6 hours and sometimes not at all) I get segmentation faults.</div>
<div>I use a customized driver, maybe there is something wrong with my driver, but there might be a problem with the wpa_supplicant as well.</div>
<div>&nbsp;</div>
<div>Let's have a look at my debug output:</div>
<div>&nbsp;</div>
<div>after scanning the following occurs:</div>
<div>&nbsp;</div>
<div>&nbsp;selected non-WPA AP 00:16:9d:7c:b5:e0 ssid='root2006_08_30__15_05_09'<br>Trying to associate with 00:16:9d:7c:b5:e0 (SSID='root2006_08_30__15_05_09' freq=2447 MHz) <br>Cancelling scan request<br>WPA: clearing own WPA/RSN IE
<br>Automatic auth_alg selection: 0x1<br>WPA: clearing AP WPA IE<br>WPA: clearing AP RSN IE<br>WPA: clearing own WPA/RSN IE<br>No keys have been configured - skip key clearing <br>State: SCANNING -&gt; ASSOCIATING<br>ioctl error HEOCDRIVPRIV!: Machine is not on the network
<br>Association request to the driver failed<br>Setting authentication timeout: 5 sec 0 usec<br>EAPOL: External notification - portControl=ForceAuthorized <br>Wireless event: cmd=0x8c02 len=37<br>Custom wireless event: 'EVENT-DISASSOC.indication
'<br>Added BSSID 00:00:00:00:00:00 into blacklist<br>State: ASSOCIATING -&gt; DISCONNECTED<br>EAPOL: External notification - portEnabled=0 <br>EAPOL: External notification - portValid=0<br>CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
<br>RX ctrl_iface - hexdump_ascii(len=16):<br>&nbsp;&nbsp;&nbsp;&nbsp; 52 45 4d 4f 56 45 5f 4e 45 54 57 4f 52 4b 20 30&nbsp;&nbsp; REMOVE_NETWORK 0 <br>CTRL_IFACE: REMOVE_NETWORK id=0<br>State: DISCONNECTED -&gt; DISCONNECTED<br>No keys have been configured - skip key clearing
<br>EAPOL: External notification - portEnabled=0<br>EAPOL: External notification - portValid=0 <br>RX global ctrl_iface - hexdump_ascii(len=21):<br>&nbsp;&nbsp;&nbsp;&nbsp; 49 4e 54 45 52 46 41 43 45 5f 52 45 4d 4f 56 45&nbsp;&nbsp; INTERFACE_REMOVE<br>
&nbsp;&nbsp;&nbsp;&nbsp; 20 65 74 68 31&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; eth1<br>CTRL_IFACE GLOBAL INTERFACE_REMOVE 'eth1' <br>Removing interface eth1<br>State: DISCONNECTED -&gt; DISCONNECTED<br>No keys have been configured - skip key clearing
<br>EAPOL: External notification - portEnabled=0<br>EAPOL: External notification - portValid=0<span></span> <br>No keys have been configured - skip key clearing <br>Removed BSSID 00:00:00:00:00:00 from blacklist (clear)<br>
Removed BSSID 00:16:9d:7c:b5:e0 from blacklist (clear)<br>Cancelling scan request</div>
<div>...</div>
<div>wpa_supplicant is trying to scan two more times...</div>
<div>...</div>
<div>No suitable AP found.<br>Setting scan request: 5 sec 0 usec<br>Starting AP scan (broadcast SSID)<br>RX ctrl_iface - hexdump_ascii(len=16): <br>&nbsp;&nbsp;&nbsp;&nbsp; 52 45 4d 4f 56 45 5f 4e 45 54 57 4f 52 4b 20 30&nbsp;&nbsp; REMOVE_NETWORK 0<br>
CTRL_IFACE: REMOVE_NETWORK id=0<br>State: SCANNING -&gt; DISCONNECTED<br>No keys have been configured - skip key clearing<br>EAPOL: External notification - portEnabled=0 <br>EAPOL: External notification - portValid=0<br>RX global ctrl_iface - hexdump_ascii(len=21):
<br>&nbsp;&nbsp;&nbsp;&nbsp; 49 4e 54 45 52 46 41 43 45 5f 52 45 4d 4f 56 45&nbsp;&nbsp; INTERFACE_REMOVE<br>&nbsp;&nbsp;&nbsp;&nbsp; 20 65 74 68 31&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; eth1 <br>CTRL_IFACE GLOBAL INTERFACE_REMOVE 'eth1'<br>Removing interface eth1<br>State: DISCONNECTED -&gt; DISCONNECTED
<br>No keys have been configured - skip key clearing<br>EAPOL: External notification - portEnabled=0<br>EAPOL: External notification - portValid=0 <br>No keys have been configured - skip key clearing<br>Cancelling scan request
<br>Scan timeout - try to get results<br>ioctl error HEOCDRIVPRIV!: Bad file descriptor<br>Scan results: 16915<br>Not enough room for all APs (16915 &lt; 128) <br>Segmentation fault (core dumped)</div>
<div>------------------------------------</div>
<div>&nbsp;</div>
<div>this comes from my driver:</div>
<div>ioctl error HEOCDRIVPRIV!: Machine is not on the network&nbsp;</div>
<div>&nbsp;</div>
<div>But what does this mean? :</div>
<div>Added BSSID 00:00:00:00:00:00 into blacklist</div>
<div>...</div>
<div>Removed BSSID 00:00:00:00:00:00 from blacklist (clear)<br>Removed BSSID 00:16:9d:7c:b5:e0 from blacklist (clear)</div>
<div>&nbsp;</div>
<div>it seems like there are two scan requests at the same time. And this seems to lead to the segmentation fault.</div>
<div>&nbsp;</div>
<div>Any idea where I might start looking for a bug? Is it possible that there is a bug in wpa_supplicant?</div>
<div>&nbsp;</div>
<div>Please help me! I have to write my diploma thesis about this and right now I am stuck with this :-(</div>
<div>&nbsp;</div>
<div>Thank you!</div>
<div>Andrea</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div><br>&nbsp;</div>