connection pooling

Alan DeKok aland at deployingradius.com
Thu Aug 29 15:29:07 CEST 2013


Aaron Hurt wrote:
> I am using the new connection pooling in my module for
> accounting/authentication against couchbase
> ( https://github.com/leprechau/rlm_couchbase ).  This was working very
> well until I rebuilt recently (yesterday) against the
> latest release_branch_3.0.0 branch.  I am now seeing the below errors in
> the logs that cause radiusd to crash.

  Please run it under "valgrind":

$ valgrind --tools=memcheck radiusd -f

> I cannot reproduce it with -X or -xx but can see it plainly when started
> normally.  I also cannot seem to reproduce it if I set the pool
> start/min/max/spare all to 1 in my module configuration.  Has there been
> a change in the connection pool API that would require a change in my
> code using this API?

  No.  The connection pool code hasn't changed in a long time.

  The assertion is caused by a free of a VALUE_PAIR, which is then used
by later code.  Valgrind should tell you what's going on.

  Alan DeKok.


More information about the Freeradius-Devel mailing list