freeradius2.1.10 crash @ request_stats_final

winson winsonfernandes at gmail.com
Thu May 26 14:08:22 CEST 2011


Hi,
I am using freeradius 2.1.10 and it has crashed @ the following line (debug
via gdb) of request_stats_final
where in the macro is called for 
#define INC_ACCT(_x) radius_acct_stats._x++;request->listener->stats._x++;if
(request->client && request->client->acct) request->client->acct->_x++

#0  0x0041fdc8 in request_stats_final (request=0x1907d10) at stats.c:122
#1  0x0042656c in ev_request_free (prequest=0x7ffa5ae8) at event.c:182
#2  0x00426b74 in wait_a_bit (ctx=<value optimized out>) at event.c:1310
#3  0x0042a594 in no_response_to_proxied_request (ctx=0x1907d10) at
event.c:1086
#4  0x2aaf3938 in fr_event_run (el=0x18f2920, when=<value optimized out>) at
event.c:220
#5  0x2aaf3c7c in fr_event_loop (el=0x18f2920) at event.c:399
#6  0x0041f7b8 in main (argc=2, argv=0x7ffa5f14) at radiusd.c:410

I have also merged the latest code changes present @
https://github.com/alandekok/freeradius-server/blob/master/src/main/stats.c
and added few null checks (attached stats.c). though the crash has
reoccurred. 

Please let me know if there is anything I am missing out as a fix for the
crash. 

Also, Is there any specific reason why the /src/main/event.c file has been
moved in the master dir ?

Regards,
Winson


--
View this message in context: http://freeradius.1045715.n5.nabble.com/freeradius2-1-10-crash-request-stats-final-tp4428371p4428371.html
Sent from the FreeRadius - Dev mailing list archive at Nabble.com.



More information about the Freeradius-Devel mailing list