Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 102361

Summary: net-wireless/wpa_supplicant ebuild lacks dependency for dev-lib/opensc
Product: Gentoo Linux Reporter: Andreas Arens <ari>
Component: New packagesAssignee: Mobile Herd (OBSOLETE) <mobile+disabled>
Status: RESOLVED UPSTREAM    
Severity: normal CC: chris, humpback, wschlich
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge.info
wpa_supplicant.conf
ldd wpa_supplicant output

Description Andreas Arens 2005-08-13 06:06:33 UTC
wpa_supplicant compiles fine, but fails with a segfault because of missing  
engine_opensc.so when used with ndiswrapper. 
Card used was an tiacx111 pci (TEW-423PI). Ndiswrapper worked fine, iwlist 
wlan0 found the ap.  

Reproducible: Always
Steps to Reproduce:
1. create a config that uses wpa-psk 
2. run wpa_supplicant -Dndiswrapper -iwlan0 -c/etc/wpa_supplicant.conf 
3. 
 
Actual Results:  
received error: 
Failed to innitialize eapol state machines 
Segmentation fault. 


emerging opensc fixed the problem, wlan connection works fine.
Comment 1 Henrik Brix Andersen 2005-08-13 06:31:13 UTC
Please attach the output of `emerge --info`, `ldd /sbin/wpa_supplicant` and - if
possible - the stack trace leading up to the segmentation fault.
Comment 2 Henrik Brix Andersen 2005-08-13 06:36:19 UTC
Do you have opensc_engine_path defined in your /etc/wpa_supplicant.conf file?
Comment 3 Henrik Brix Andersen 2005-08-13 06:36:43 UTC
Meant to close as NEEDINFO.
Comment 4 Henrik Brix Andersen 2005-08-13 06:37:18 UTC
Please reopen with requested information.
Comment 5 Andreas Arens 2005-09-10 02:52:07 UTC
Created attachment 68092 [details]
emerge.info

Finally got back to affected machine, sorry for the log delay
Here's the emerge.info
Comment 6 Andreas Arens 2005-09-10 02:52:59 UTC
Created attachment 68093 [details]
wpa_supplicant.conf

Here's the config
Comment 7 Andreas Arens 2005-09-10 02:53:35 UTC
Created attachment 68094 [details]
ldd wpa_supplicant output
Comment 8 Andreas Arens 2005-09-10 02:56:38 UTC
Finally got back to the machine (which is at a remote site).

As you can see 'opensc_engine_path' is defined in the config file,
which might be superfluent, but that's the default config from the example.
Nevertheless it should not segfault.
Comment 9 Henrik Brix Andersen 2005-10-17 02:12:04 UTC
True. Please report this upstream at http://hostap.epitest.fi/bugz/
Comment 10 Henrik Brix Andersen 2005-10-18 13:34:56 UTC
*** Bug 109732 has been marked as a duplicate of this bug. ***
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2006-02-07 05:58:46 UTC
*** Bug 121976 has been marked as a duplicate of this bug. ***
Comment 12 Henrik Brix Andersen 2006-03-14 13:54:17 UTC
*** Bug 125749 has been marked as a duplicate of this bug. ***