[SR-Users] Error when using function lookup_branches

Jan Hazenberg jenus at cyberchaos.nl
Tue Nov 11 12:36:55 CET 2014


Daniel-Constantin,

Here is the requested debug log.

Cheers,

Jan

Daniel-Constantin Mierla schreef op 2014-11-11 09:29:
> Hello,
> 
> looks like there is a double free, which, although is good to find and
> fix, is normally safe for runtime.
> 
> Can you set debug=3 and send all the log messages here?
> 
> Cheers,
> Daniel
> 
> On 10/11/14 18:56, J Hazenberg wrote:
>> Hello,
>> 
>> I'm runnig kamailio 4.2.0 and using the lookup_branches function from
>> the register module to lookup all branches after a alias_db_lookup.
>> The function seems to work fine but i see the following error in the
>> log file just after the lookup:
>> 
>> INFO: <core> [mem/f_malloc.c:599]: fm_free(): freeing a free fragment
>> (0x7fad277fe110/0x7fad277fe148) - ignore
>> INFO: <core> [mem/f_malloc.c:599]: fm_free(): freeing a free fragment
>> (0x7fad277fcd38/0x7fad277fcd70) - ignore
>> INFO: <core> [mem/f_malloc.c:599]: fm_free(): freeing a free fragment
>> (0x7fad277fcd88/0x7fad277fcdc0) - ignore
>> 
>> Code:
>> 
>> alias_db_lookup("dbaliases");
>> 
>> if (!lookup_branches("location")) {
>> 
>> 
>> This only happens when i have multiple branches, could this be a error
>> in my script?
>> 
>> Thanks,
>> 
>> Jan
>> 
>> 
>> 
>> 
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing 
>> list
>> sr-users at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: kamailio_debug.log
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20141111/abe3f81a/attachment.ksh>


More information about the sr-users mailing list