From owner-freebsd-bugs@FreeBSD.ORG Wed Nov 5 10:20:05 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 03327106568A for ; Wed, 5 Nov 2008 10:20:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D4F338FC1C for ; Wed, 5 Nov 2008 10:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mA5AK4Sr008117 for ; Wed, 5 Nov 2008 10:20:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mA5AK4TE008116; Wed, 5 Nov 2008 10:20:04 GMT (envelope-from gnats) Resent-Date: Wed, 5 Nov 2008 10:20:04 GMT Resent-Message-Id: <200811051020.mA5AK4TE008116@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Eugene M. Zheganin" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11278106568F for ; Wed, 5 Nov 2008 10:19:38 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 008488FC0C for ; Wed, 5 Nov 2008 10:19:38 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id mA5AJbln031621 for ; Wed, 5 Nov 2008 10:19:37 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id mA5AJbo5031620; Wed, 5 Nov 2008 10:19:37 GMT (envelope-from nobody) Message-Id: <200811051019.mA5AJbo5031620@www.freebsd.org> Date: Wed, 5 Nov 2008 10:19:37 GMT From: "Eugene M. Zheganin" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: bin/128602: wpa_supplicant crashes with an(4) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Nov 2008 10:20:05 -0000 >Number: 128602 >Category: bin >Synopsis: wpa_supplicant crashes with an(4) >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Nov 05 10:20:04 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Eugene M. Zheganin >Release: 7.1-PRERELEASE >Organization: Norma JSC. >Environment: FreeBSD airlan.norma.perm.ru 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #1: Wed Nov 5 11:03:39 YEKT 2008 emz@freedom.norma.perm.ru:/usr/obj/usr/src/sys/GENERIC i386 >Description: 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. >Fix: >Release-Note: >Audit-Trail: >Unformatted: