Release of Version 2.2.1

Stefan Winter stefan.winter at restena.lu
Mon Mar 25 16:36:53 CET 2013


Hi,

cool, thanks!

(gdb) frame 2
#2  0x000000000041ad11 in module_instance_free (data=0x87f5f0) at modules.c:382
382             cf_section_parse_free(this->cs, this->insthandle);
(gdb) p this->name
$3 = "sql-aai", '\000' <repeats 246 times>
(gdb) p this->entry->module->name
$4 = 0x7ffff44a2693 "SQL"

It's one of the instances of the SQL module.

Stefan

On 25.03.2013 15:23, Olivier Beytrison wrote:
> On 25.03.2013 15:21, Stefan Winter wrote:
>> Hi,
>>
>> I'm pretty mucha  dummy in gdb. I guess i did it wrong:
>>
>> Program received signal SIGSEGV, Segmentation fault.
>> 0x00007ffff65a5634 in free () from /lib64/libc.so.6
>> (gdb) bt
>> #0  0x00007ffff65a5634 in free () from /lib64/libc.so.6
>> #1  0x000000000040e2c0 in cf_section_parse_free (cs=0x6797d0, base=0x87f730) at conffile.c:344
>> #2  0x000000000041ad11 in module_instance_free (data=0x87f5f0) at modules.c:382
>> #3  0x00007ffff7bc3dfd in FreeWalker (tree=0x7f8130, X=0x87dcb0) at rbtree.c:63
>> #4  0x00007ffff7bc3dee in FreeWalker (tree=0x7f8130, X=0x83f310) at rbtree.c:61
>> #5  0x00007ffff7bc3ddd in FreeWalker (tree=0x7f8130, X=0x82ff50) at rbtree.c:60
>> #6  0x00007ffff7bc3ddd in FreeWalker (tree=0x7f8130, X=0x884660) at rbtree.c:60
>> #7  0x00007ffff7bc3ddd in FreeWalker (tree=0x7f8130, X=0x833870) at rbtree.c:60
>> #8  0x00007ffff7bc3dee in FreeWalker (tree=0x7f8130, X=0x822e20) at rbtree.c:61
>> #9  0x00007ffff7bc418d in rbtree_free (tree=0x7f8130) at rbtree.c:74
>> #10 0x000000000041bc40 in detach_modules () at modules.c:441
>> #11 0x0000000000409fd4 in main (argc=<optimized out>, argv=<optimized out>) at radiusd.c:465
> 
> Use "frame X" to move to one of the frame in the stack. In this example
> frame 2
> p this->name
> 
> Olivier
> 


-- 
Stefan WINTER
Ingenieur de Recherche
Fondation RESTENA - Réseau Téléinformatique de l'Education Nationale et de la Recherche
6, rue Richard Coudenhove-Kalergi
L-1359 Luxembourg

Tel: +352 424409 1
Fax: +352 422473

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20130325/c5d2dfdc/attachment.pgp>


More information about the Freeradius-Devel mailing list