From nobody@FreeBSD.org  Mon Dec 29 00:15:08 2003
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 6376B16A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 29 Dec 2003 00:15:08 -0800 (PST)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 2215543D1F
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 29 Dec 2003 00:15:06 -0800 (PST)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.10/8.12.10) with ESMTP id hBT8F5dL009784
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 29 Dec 2003 00:15:05 -0800 (PST)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.10/8.12.10/Submit) id hBT8F5eL009783;
	Mon, 29 Dec 2003 00:15:05 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200312290815.hBT8F5eL009783@www.freebsd.org>
Date: Mon, 29 Dec 2003 00:15:05 -0800 (PST)
From: Pavel Hubner <pavel.hubner@volny.cz>
To: freebsd-gnats-submit@FreeBSD.org
Subject: wicontrol -L critical crash (sigbus)
X-Send-Pr-Version: www-2.0

>Number:         60681
>Category:       i386
>Synopsis:       wicontrol -L critical crash (sigbus)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    remko
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 29 00:20:15 PST 2003
>Closed-Date:    Mon Sep 11 10:05:35 GMT 2006
>Last-Modified:  Mon Sep 11 10:05:35 GMT 2006
>Originator:     Pavel Hubner
>Release:        5.1-RELEASE
>Organization:
>Environment:
FreeBSD router.mikroservis.cz 5.1-RELEASE FreeBSD 5.1-RELEASE #3: Sun Dec 28 21:05:42 CET 2003     root@router.mikroservis.cz:/usr/obj/usr/src/sys/MYKERNEL  i386

>Description:
Wifi card: Zcomax XI-626, firmware 1.7.4
Card configuration:

wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
 inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255
 inet6 fe80::260:b3ff:fe6a:dc8d%wi0 prefixlen 64 scopeid 0x1
 ether 00:60:b3:6a:dc:8d
 media: IEEE 802.11 Wireless Ethernet DS/11Mbps <hostap> (DS/2Mbps <hostap>)
 status: associated
 ssid zasada 1:zasada
 stationname "FreeBSD WaveLAN/IEEE node"
 channel 13 authmode OPEN powersavemode OFF powersavesleep 100
 wepmode OFF weptxkey 1


-bash-2.05b# gdb wicontrol
GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-undermydesk-freebsd"...
(gdb) run wi0 -L
Starting program: /usr/src/usr.sbin/wicontrol/wicontrol wi0 -L
NIC serial number:                      [ 99SA01000000 ]
Station name:                           [ FreeBSD WaveLAN/IEEE node ]
SSID for IBSS creation:                 [ zasada ]
Current netname (SSID):                 [ zasada ]
Desired netname (SSID):                 [ zasada ]
Current BSSID:                          [ 00:60:b3:6a:dc:8d ]
Channel list:                           [ 1fff ]
IBSS channel:                           [ 13 ]
Current channel:                        [ 13 ]
Comms quality/signal/noise:             [ 0 81 27 ]
dBm Coms Quality:                       [ 0 -73 -73 ]
Promiscuous mode:                       [ Off ]
Process 802.11b Frame:                  [ Off ]
Intersil-Prism2 based card:             [ 1 ]
Port type (1=BSS, 3=ad-hoc):            [ 6 ]
MAC address:                            [ 00:60:b3:6a:dc:8d ]
TX rate (selection):                    [ 11 ]
TX rate (actual speed):                 [ 2 ]
RTS/CTS handshake threshold:            [ 2347 ]
Create IBSS:                            [ Off ]
Access point density:                   [ 1 ]
Power Mgmt (1=on, 0=off):               [ 0 ]
Max sleep time:                         [ 100 ]
PRI Identity:                           [ 21 1 1 1 ]
STA Identity:                           [ 31 4 1 7 ]
Card ID register:                       [ 8013 0 1 0 ]
Regulatory Domains:                     [ eu/au ]
Temperature Range:                      [ 1 ]
WEP encryption:                         [ Off ]
TX encryption key:                      [ 1 ]
Encryption keys:                        [  ][  ][  ][  ]
Available APs:
671481857 stations:
SSID                 BSSID             Chan    SN   S   N   Intrvl  Capinfo
&#272;A(                 01:00:00:00:7c:f3   671514624 [ 671514880 671514880 671428121 ]    1    [ WEP ]

                     d0:41:06:28:0d:02   0  [ 671600245 -1077939228 671427486 ]    671498704  [ ]

                     14:f4:bf:bf:34:fd   671505000 [   1   1 -1077939196 ]    134523932  [ WEP ]

?]($(&#340;&#380;&#380;x&#380;&#380;(T&( 01:00:00:00:85:ab   0  [   2 672343636 -1077938496 ]    672343192  [ ESS WEP ]

(&#380;&#380;($(         3f:5d:11:28:98:24   -1077938448 [ 672343636  10 672174018 ]    0    [ ]

                    01:00:00:00:ff:ff   2433 [   2   0 -1077938316 ]    134523781  [ ESS ]

                     1c:ac:04:08:3a:4a   0  [   0  -1   0 ]    2578  [ ]

&#345;((             6c:b0:07:28:9c:07   671498704 [ -1077938780 671522848   0 ]    671498704  [ ESS ]

                     9c:dd:04:28:a5:90   671499456 [ -1077938708   1   1 ]    -1077938748  [ ]

                     46:23:05:28:22:db   112103621 [ 2155 671494152 671498704 ]    671428378  [ WEP ]

                    00:81:06:28:d0:41   671844188 [ 671415604 672346644 -1077938556 ]    2    [ ESS ]

(                1c:ac:04:08:01:00   -1077938557 [   7   1 134523986 ]    672343192  [ ESS ]

&#380;&#380;($(         00:81:06:28:a0:f6   0  [  36   0 672343636 ]    672270360  [ ]


                    48:f7:bf:bf:b3:8e   672343192 [ 672343636   0 -1077938328 ]    -1077937224  [ WEP ]

#                    10:af:04:08:83:07   95 [ 1510 1980 1844 ]    0    [ ]

                     00:00:00:00:00:00   0  [   0   0   0 ]    0    [ ]

                     00:00:00:00:00:00   0  [   0   0   0 ]    0    [ ]

                     00:00:00:00:00:00   0  [   0   0   0 ]    0    [ ]

                     00:00:00:00:00:00   0  [   0   0   0 ]    0    [ ]

                     00:00:00:00:00:00   0  [   0   0   0 ]    0    [ ]

                     00:00:00:00:00:00   0  [   0   0   0 ]    0    [ ]

                     00:00:00:00:00:00   0  [   0   0   0 ]    0    [ ]

                     00:00:00:00:00:00   0  [   0   0   0 ]    0    [ ]

                     00:00:00:00:00:00   0  [   0   0   0 ]    0    [ ]

                     00:00:00:00:00:00   0  [   0   0   0 ]    0    [ ]

                     00:00:00:00:00:00   0  [   0   0   0 ]    0    [ ]

                     00:00:00:00:00:00   0  [   0   0   0 ]    0    [ ]

                     00:00:00:00:00:00   0  [   0   0   0 ]    0    [ ]

&#283;&#369;&#380;&#380;&#317;&#380;&#380;&#380;&#380;@(( 00:80:06:28:68:00   671420992 [   3 134523636 -1077937132 ]    -1077936928  [ ]

                     14:fc:bf:bf:0c:fc   134514917 [ -1077937116   3 -1077937132 ]    -1077936872  [ ESS ]

&#355;&#380;&#380;8&#355;&#380;&#380;C&#355;&#380;&#380;K&#355;&#380;&#380;X&#355;&#380;&#380; 67:fd:bf:bf:71:fd   -1077936772 [ -1077936650 -1077936751 -1077936731 ]    32   [ ]

                     06:00:00:00:00:10   8  [ 134514784   0   9 ]    0    [ ]

/usr.sbin/wicontrol/wicontrol 00:00:00:00:00:00   0  [ 1920169263   0   0 ]    1380275200  [ WEP ]

H_CLIENT=213.180.46.150 1212 22 53:48:45:4c:4c:3d   1815048819 [ 1935761967 1818321775 1852400175 ]    1029264468  [ ESS WEP ]

PASSIVE_MODE=YES     70:30:00:55:53:45   1953460082 [ 6648431 1195462656 1832735301 ]    1413566464  [ WEP ]

/local/sbin:/usr/local/bin:/usr/X11R6/bin 2f:75:73:72:2f:73   1647262318 [ 980314466 792358505 796029813 ]    1768042294  [ WEP ]

PWD=/usr/src/usr.sbin/wicontrol 2f:6c:6f:63:61:6c   1647275625 [ 1514754891 6845281 1129270338 ]    1869754173  [ ]

ON=213.180.46.150 1212 213.180.46.153 22 3d:31:00:4c:4f:47   1916618061 [ 1313754947 7630703 1598575443 ]    842145843  [ WEP ]

                     00:00:00:00:00:00   0  [   0   0   0 ]    0    [ ]

                     00:00:00:00:00:00   0  [   0   0   0 ]    0    [ ]

                     00:00:00:00:00:00   0  [   0   0   0 ]    0    [ ]
D$ P@T             00:00:00:00:00:00   0  [   0   0   0 ]    1413543760  [ ESS ]


Program received signal SIGBUS, Bus error.
wi_printaplist (iface=0xbfbfffc0 "u\003\216h\024X\001") at wicontrol.c:626
626                     printf("%-20.*s %02x:%02x:%02x:%02x:%02x:%02x   %-2d "
(gdb)

>How-To-Repeat:
wicontrol wi0 -L
>Fix:
      
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: remko 
State-Changed-When: Mon Sep 4 00:21:07 UTC 2006 
State-Changed-Why:  
wicontrol has large parts of it being deprecated, can you tell 
me whether the problem persists with recent FreeBSD versions 
and then mostly with wicontrol/ifconfig 


Responsible-Changed-From-To: freebsd-i386->remko 
Responsible-Changed-By: remko 
Responsible-Changed-When: Mon Sep 4 00:21:07 UTC 2006 
Responsible-Changed-Why:  
Grab the PR 

http://www.freebsd.org/cgi/query-pr.cgi?pr=60681 
State-Changed-From-To: feedback->closed 
State-Changed-By: remko 
State-Changed-When: Mon Sep 11 10:05:29 UTC 2006 
State-Changed-Why:  
feedback timeout 

http://www.freebsd.org/cgi/query-pr.cgi?pr=60681 
>Unformatted:
