On Monday, November 10, 2014 11:35:11 PM Anthony Messina wrote:
On Monday, November 10, 2014 06:56:08 PM 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?
Jan, I'm seeing the same error (with Kamailio build from the git master def8d26) when I have multiple branches, though mine is proceeded with a uri2dst2() error:
ERROR: tm [ut.h:272]: uri2dst2(): ERROR: uri2dst: bad_uri: INFO: <core> [mem/f_malloc.c:599]: fm_free(): freeing a free fragment (0x7f6717cb7a88/0x7f6717cb7ac0) - ignore INFO: <core> [mem/f_malloc.c:599]: fm_free(): freeing a free fragment (0x7f6717d133a0/0x7f6717d133d8) - ignore INFO: <core> [mem/f_malloc.c:599]: fm_free(): freeing a free fragment (0x7f6717ccb6b0/0x7f6717ccb6e8) - ignore INFO: <core> [mem/f_malloc.c:599]: fm_free(): freeing a free fragment (0x7f6717d11bb0/0x7f6717d11be8) - ignore
And DEBUG output reveals only: kamailio[20384]: 13(20400) DEBUG: <core> [parser/parse_uri.c:1300]: parse_uri(): parse_uri: bad uri, state 0 parsed: < kamailio[20384]: > (4) / < kamailio[20384]: > (36) kamailio[20384]: 13(20400) ERROR: tm [ut.h:272]: uri2dst2(): ERROR: uri2dst: bad_uri: