[nas] segfault with 1.6a

Jon Trulson jon at radscan.com
Tue Dec 30 22:00:28 MST 2003


On Tue, 30 Dec 2003, Lex Spoon wrote:

> From: Lex Spoon <lex at cc.gatech.edu>
> Date: Tue, 30 Dec 2003 16:14:41 -0400
> Subject: Re: [nas] segfault with 1.6a
> To: nas at radscan.com
> X-Spam-Status: No, hits=-4.7 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE,
> 	RCVD_IN_SORBS autolearn=no version=2.60
>
> Okay, I've posted to the Debian bug tracker, since it seems to be
> peculiar to Debian.
>
> I initially observed the problem with the precompiled Debian packages,
> but now I've recompiled them myself and seen the same thing.  Appended
> is a stack trace.  -Lex
>
>
> (gdb) bt
> #0  0x40202ea9 in free () from /lib/libc.so.6
> #1  0x0804ac9a in GetAuthorization (fd=7, family=256,
> saddrlen=134548560,
>     iserver=-7, saddr=0x1 <Address 0x1 out of bounds>,
> auth_namep=0xbffff980,
>     auth_namelenp=0xbffff984, auth_datap=0xbffff988,
> auth_datalenp=0xbffff98c)
>     at ConnSvr.c:1945

	Interesting... free(0x01) is indeed a problem ;-)  I was able to
duplicate this by setting AUDIOSERVER=:1.  AUDISERVER=:0 works fine (since
a check for saddr == 0 is made).  Seems there is some mischief with the
saddr pointer.  I will investigate this.  Thanks! :)

> #2  0x0804a4f0 in _AuConnectServer (server_name=0xbfffff8c ":1",
>     fullnamep=0xbffff978, svrnump=0xfffffff9, auth_namep=0xfffffff9,
>     auth_namelenp=0xfffffff9, auth_datap=0xfffffff9,
> auth_datalenp=0xfffffff9)
>     at ConnSvr.c:650
> #3  0x0804af33 in AuOpenServer (
>     server=0xfffffff9 <Address 0xfffffff9 out of bounds>,
> num_authproto=-7,
>     authproto=0x0, num_authdata=-7, authdata=0x0, ret_svrmsg=0xbffff9e8)
>     at OpenSvr.c:144
> #4  0x0804924d in main (argc=0, argv=0x0) at auinfo.c:101
>

-- 
Jon Trulson    mailto:jon at radscan.com
ID: 1A9A2B09, FP: C23F328A721264E7 B6188192EC733962
PGP keys at http://radscan.com/~jon/PGPKeys.txt
#include <std/disclaimer.h>
"I am Nomad." -Nomad




More information about the Nas mailing list