Bug 128602 - [an] wpa_supplicant(8) crashes with an(4)
Summary: [an] wpa_supplicant(8) crashes with an(4)
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 7.1-PRERELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-05 10:20 UTC by emz
Modified: 2017-12-31 22:35 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description emz 2008-11-05 10:20:04 UTC
wpa_supplicant sig11-crashes with old, but still supported radio-adapter, Cisco 350 (802.11b). Problem persisted from 7.0-RELEASE.

===Cut===
%wpa_supplicant -d -ian0 -c/etc/wpa_supplicant.conf
Initializing interface 'an0' conf '/etc/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
Priority group 0
   id=0 ssid='salma'
Initializing interface (2) 'an0'
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
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
Own MAC address: 00:40:96:35:b2:8d
wpa_driver_bsd_set_wpa: enabled=1
wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1
wpa_driver_bsd_del_key: keyidx=0
wpa_driver_bsd_del_key: keyidx=1
wpa_driver_bsd_del_key: keyidx=2
wpa_driver_bsd_del_key: keyidx=3
wpa_driver_bsd_set_countermeasures: enabled=0
wpa_driver_bsd_set_drop_unencrypted: enabled=1
Setting scan request: 0 sec 100000 usec
Added interface an0
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
Segmentation fault (core dumped)
===Cut==

Backtrace (wpa_supplicant is assembled with -g):
===Cut===
(gdb) bt
#0  0x08065390 in ?? ()
[...]
#5229 0x28356a4b in f_prealloc () from /lib/libc.so.7
Previous frame inner to this frame (corrupt stack?)
(gdb)
===Cut===

How-To-Repeat: Get a Cisco 350 card, try to use wpa_supplicant.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2008-11-05 18:26:44 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-net

Over to maintainer(s).
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:00:15 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped