Segmentation fault when running hostapd

Chris Evans cwevans at acm.org
Fri Aug 27 15:49:08 EDT 2004


As a follow up, I think the bugs in debian's glibc is version 
2.3.2.ds1-14, I think.

running hostapd .2.1 with debians unstable from today ( glibc 
2.3.2.ds1-16 ) got it running fine without segfault.

On Apr 28, 2004, at 6:51 PM, Jouni Malinen wrote:

> On Wed, Apr 28, 2004 at 01:47:13PM -0700, Chris Evans wrote:
>
>> hostap-source to build the modules is Version: 1:0.1.3-1
>> with the same version number for hostapd.
>
> I was unable to reproduce this segfault with the CVS version of the
> stable branch (which is supposed to be more or less identical to 0.1.3
> release). Could you please try hostapd from the stable branch CVS
> snapshot (http://hostap.epitest.fi/)?
>
>> (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
>
> Which version of glibc are you using? That hostapd_logger() call is
> supposed to send "wlan0: RADIUS Authentication server <IP:port>" 
> message
> to syslog and so it does on my test system..
>
>
> PS.
>
> The configuration file you are using does not seem very useful. It is
> instructing hostapd to generate a random encryption key, but since IEEE
> 802.1X is disabled, station will not get any information about the
> selected key. The RADIUS authentication server is not used for anything
> in that configuration.
>
> -- 
> Jouni Malinen                                            PGP id 
> EFC895FA
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>
>
--
       -+--++---+++----++++-----+++++-----++++----+++---++--+-
      ___
  _.-|   |          |\__/,|   (`\      | 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/




More information about the HostAP mailing list