[SR-Users] Error when using function lookup_branches

Daniel-Constantin Mierla miconda at gmail.com
Tue Nov 11 09:29:26 CET 2014


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

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Nov 24-27, Berlin - http://www.asipto.com




More information about the sr-users mailing list