Hi All,

 

I use kamailio In front of Asterisk and kamailio needs to refresh registrations periodically towards Asterisk to ensure the availability of users from Asterisk side.

I use uac module and call uac_req_send() for sending REGISTER requests.

I set $uac_req(evroute)=1

 

The event_route[uac:reply] is called fine, but in kamailio logs I see the next lines:

 

CRITICAL: <core> [core/mem/q_malloc.c:519]: qm_free(): BUG: freeing already freed pointer (0x7f114995ada8), called from uac: uac_send.c: uac_send_tm_callback(860), first free uac: uac_send.c: uac_resend_tm_callback(732) - ignoring

 

After some time, kamailio has crashed.

 

CRITICAL: <core> [core/mem/q_malloc.c:519]: qm_free(): BUG: freeing already freed pointer (0x7f114995ada8), called from uac: uac_send.c: uac_send_tm_callback(860), first free uac: uac_send.c: uac_resend_tm_callback(732) – ignoring

 

CRITICAL: <core> [core/pass_fd.c:277]: receive_fd(): EOF on 34

ALERT: <core> [main.c:774]: handle_sigs(): child process 1407950 exited by a signal 6

 

Any idea that is it a bug or I use something wrong in config?

 

Thanks in advance!

 

Péter Barabás