Seg-fault with proxy and fail-overs

Chris Moules chris at gms.lu
Wed Mar 4 17:49:59 CET 2009


Alan DeKok wrote:
> Chris Moules wrote:
>> Alan DeKok wrote:
>>> Chris Moules wrote:
>>>> OK, I have re-done the debugging. This time I have left gdb running in
>>>> case you want more output.
>>>   Thanks...  if you could also show:
>>>
>>> (gdb) p/x request->proxy
> 
>   Sorry...
> 
> (gdb) p/x *request->proxy
> 
>   Little characters make all the difference.
> 
>   Alan DeKok.
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
> 

Hi Alan,

no problem, I did wonder.

hope this is more helpful.

(gdb) p/x request->proxy
$2 = 0xeebff0
(gdb) p/x *request->proxy
$3 = {sockfd = 0x8, src_ipaddr = {af = 0x2, ipaddr = {ip4addr = {s_addr = 0x0}, ip6addr = {in6_u = {u6_addr8 = {0x0, 0x0, 0x0, 
0x0, 0x12, 0xe0, 0x15, 0x7a,
             0x38, 0x7f, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, u6_addr16 = {0x0, 0x0, 0xe012, 0x7a15, 0x7f38, 0x0, 0x0, 0x0}, u6_addr32 
= {0x0, 0x7a15e012, 0x7f38,
             0x0}}}}}, dst_ipaddr = {af = 0x2, ipaddr = {ip4addr = {s_addr = 0x9bef482}, ip6addr = {in6_u = {u6_addr8 = {0x82, 
0xf4, 0xbe, 0x9,
             0x0 <repeats 12 times>}, u6_addr16 = {0xf482, 0x9be, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, u6_addr32 = {0x9bef482, 0x0, 
0x0, 0x0}}}}},
   src_port = 0x542, dst_port = 0x110f, id = 0xc3, code = 0x4, hash = 0x268b44dc, vector = {0xed, 0xd6, 0xfe, 0xd5, 0x5e, 0xec, 
0xe6, 0x3e, 0x9a, 0x4e,
     0x5e, 0xb6, 0x4e, 0x5d, 0x9b, 0xdb}, timestamp = 0x0, data = 0xeea910, data_len = 0x48, vps = 0xeec070, offset = 0x0}


Chris



More information about the Freeradius-Devel mailing list