talloc: access after free error

Arran Cudbard-Bell a.cudbardb at freeradius.org
Wed Mar 26 18:47:24 CET 2014


On 26 Mar 2014, at 17:10, Christian Hesse <list at eworm.de> wrote:

> Alan DeKok <aland at deployingradius.com> on Sun, 2014/03/09 09:11:
>> Christian Hesse wrote:
>>> running freeradius 3.0.1 I get this after some time:
>>> 
>>> Info: rlm_sql (sql): Closing connection (438): Hit idle_timeout, was idle
>>> for 62 seconds
>>> rlm_sql (sql): You probably need to lower "min"
>>> Info: talloc: access after free error - first free may be at
>>> src/lib/valuepair.c:165
>>> Info: Bad talloc magic value - access after free
>>> 
>>> I see some commit concerning talloc in master and v3.0.x branch. Is any of
>>> these supposed to fix the issue? Can I provide any more information to fix
>>> this?
>> 
>>  These issues are had to debug remotely.  I'd suggest trying the v3.0.x
>> branch.  It will become 3.0.2 soon.
> 
> Still the same issue with version 3.0.2 final... Looks like we have to debug
> this remotely. Any hints where to start?

Install gdb on the system, uncomment this line:
https://github.com/FreeRADIUS/freeradius-server/blob/master/raddb/radiusd.conf.in#L150

and provide the backtrace please.

Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS Development Team

FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 881 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/mailman/private/freeradius-devel/attachments/20140326/2a35fa15/attachment.pgp>


More information about the Freeradius-Devel mailing list