<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Aug 28, 2013, at 3:40 PM, Aaron Hurt <<a href="mailto:ahurt@ena.com">ahurt@ena.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I am using the new connection pooling in my module for accounting/authentication against couchbase ( <a href="https://github.com/leprechau/rlm_couchbase">https://github.com/leprechau/rlm_couchbase</a> ).  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.<div><br></div><div><div>Wed Aug 28 15:39:30 2013 : Info: rlm_couchbase (couchbase): Closing connection (16): Too many free connections (23 > 20)</div><div>Wed Aug 28 15:39:31 2013 : Info: rlm_couchbase (couchbase): Closing connection (35): Too many free connections (22 > 20)</div><div>Wed Aug 28 15:39:32 2013 : Info: rlm_couchbase (couchbase): Closing connection (39): Too many free connections (21 > 20)</div><div>Wed Aug 28 15:39:37 2013 : Info: rlm_couchbase (couchbase): Opening additional connection (53)</div><div>Wed Aug 28 15:39:40 2013 : Info: rlm_couchbase (couchbase): Opening additional connection (54)</div><div>Wed Aug 28 15:39:46 2013 : Info: talloc: access after free error - first free may be at src/lib/valuepair.c:146 </div><div>Wed Aug 28 15:39:46 2013 : Info: Bad talloc magic value - access after free </div></div><div><br></div><div>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?</div><div><br></div><div>-- Aaron</div></div>-<br>List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/devel.html">http://www.freeradius.org/list/devel.html</a></blockquote></div><br><div>I have also seen this:</div><div><br></div><div>Info: talloc: access after free error - first free may be at src/main/util.c:230</div><div><br></div><div>-- Aaron</div></body></html>