Segmentation fault when running hostapd

Chris Evans cwevans at acm.org
Wed Apr 28 16:47:13 EDT 2004


I'm really confused as to why this is happening.

I'm running my own compiled kernel and hostap modules on a testing 
debian system
Linux vpn 2.4.25 #2 Wed Apr 28 05:10:46 PDT 2004 ppc GNU/Linux

hostap-source to build the modules is Version: 1:0.1.3-1
with the same version number for hostapd.

I rebuilt the debian hostapd package to not strip debugging symbols and 
the following is what I get

(gdb) run -B /etc/hostapd/hostapd.conf
Starting program: /home/cwevans/hostapd-0.1.3/hostapd -B 
/etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf
Opening raw packet socket for ifindex 7
Using interface wlan0ap with hwaddr 00:09:5b:67:84:60 and ssid 'SAE'
wlan0: RADIUS Authentication server [ip address of radius server]:1812

Program received signal SIGSEGV, Segmentation fault.
0x0ff2148c in strlen () from /lib/libc.so.6
(gdb) bt
#0  0x0ff2148c in strlen () from /lib/libc.so.6
#1  0x0fef036c in vfprintf () from /lib/libc.so.6
#2  0x0ff7bd44 in vsyslog () from /lib/libc.so.6
#3  0x10000f84 in hostapd_logger (hapd=0x10026c70, addr=0x0, module=4, 
level=2,
     fmt=0x100165f4 "%s server %s:%d") at hostapd.c:128
#4  0x100109c4 in radius_change_server (hapd=0x10026c70, 
nserv=0x100275f8, oserv=0x0, sock=9, auth=1)
     at radius_client.c:464
#5  0x10010c1c in radius_client_init_auth (hapd=0x10026c70) at 
radius_client.c:547
#6  0x10010e38 in radius_client_init (hapd=0x10026c70) at 
radius_client.c:598
#7  0x10001aec in hostapd_setup_interface (hapd=0x10026c70) at 
hostapd.c:431
#8  0x10001e8c in main (argc=1, argv=0x7ffffa84) at hostapd.c:571

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 1594 bytes
Desc: not available
Url : http://lists.shmoo.com/pipermail/hostap/attachments/20040428/15a68417/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hostapd.conf
Type: application/text
Size: 4483 bytes
Desc: not available
Url : http://lists.shmoo.com/pipermail/hostap/attachments/20040428/15a68417/attachment-0001.bin 
-------------- next part --------------

--
       -+--++---+++----++++-----+++++-----++++----+++---++--+-
      ___
  _.-|   |          |\__/,|   (`\      | Chris Evans
{   |   |          |o o  |__ _) )     |
  "-.|___|        _.( T   )  `  /      | cwevans at acm.org
   .--'-`-.     _((_ `^--' /_<  \      |
.+|______|__.-||__)`-'(((/  (((/      |  "Any technology distinguishable
                                       |  from magic, is not advanced
   Nika plays with a computer mouse    |  enough" -- Gregory Benford
       BY: Mike Rosulek                |
          http://showcase.netins.net/web/mikewrld/ascii/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 631 bytes
Desc: not available
Url : http://lists.shmoo.com/pipermail/hostap/attachments/20040428/15a68417/attachment-0002.bin 


More information about the HostAP mailing list