At 04:52 PM 11/8/2001 -0500, you wrote:
>Nathan Miller <[EMAIL PROTECTED]> wrote:
> > Program received signal SIGSEGV, Segmentation fault.
> > [Switching to Thread 1026 (LWP 1032)]
> > 0x401edef0 in rad_mangle (data=0x80ba640, request=0x80c1d70)
> >      at rlm_preprocess.c:154
> > 154             request_pairs = request->packet->vps;
> > (gdb) bt
> > #0  0x401edef0 in rad_mangle (data=0x80ba640, request=0x80c1d70)
> >      at rlm_preprocess.c:154
>
>   So 'request' isn't NULL, but request->packet is?
>
>   From gdb, can you do:
>
>(gdb) print *request
>(gdb) print *request->packet


I can't honestly say I have had any experience with gdb; however, running 
the following commands after it seg-faults gives me the following 
output.  Hope it is helpful.

Also, is there a repository of old CVS releases?  I would like to try this 
same setup on previous releases and see if it seg's on them too if they are 
available.

modcall: entering group authorize

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1026 (LWP 1984)]
0x401edef0 in rad_mangle (data=0x80ba640, request=0x80c1d70) at 
rlm_preprocess.c:154
154             request_pairs = request->packet->vps;
(gdb) print *request
Cannot access memory at address 0xdeadbeef
(gdb) print *request->packet
Cannot access memory at address 0xdeadbeef
(gdb) print request
$1 = (REQUEST *) 0xdeadbeef
(gdb) print request->packet
Cannot access memory at address 0xdeadbeef
(gdb)


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to