freeradius2.1.10 crash @ request_stats_final

Alan DeKok aland at
Thu May 26 14:19:24 CEST 2011

winson wrote:
> 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++

  Well, what are the values of those pointers?  It's hard to know which
one is causing the problem if you don't say what the values are.

> I have also merged the latest code changes present @
> and added few null checks (attached stats.c). though the crash has
> reoccurred. 

  Nothing attached, sorry.

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

  It's been replaced by process.c.  Much, much, better code.

  Alan DeKok.

More information about the Freeradius-Devel mailing list