Hello,

 

After upgrade from 3.3 to 4.0.4 Kamailio crashed when the first call after application start is a call with failure route:

 

            get_redirect();

t_load_contact();

t_next_contacts();

 

 

Nov 11 12:55:48 vm-KAMnet-dev01 /usr/local/sbin/kamailio[10356]: DEBUG: uac_redirect [rd_funcs.c:78]: get_redirect(): resume branch=0

Nov 11 12:55:48 vm-KAMnet-dev01 /usr/local/sbin/kamailio[10356]: DEBUG: uac_redirect [rd_funcs.c:85]: get_redirect(): checking branch=0 (added=0)

Nov 11 12:55:48 vm-KAMnet-dev01 /usr/local/sbin/kamailio[10356]: DEBUG: uac_redirect [rd_funcs.c:89]: get_redirect(): branch=0 is a redirect (added=0)

Nov 11 12:55:48 vm-KAMnet-dev01 /usr/local/sbin/kamailio[10356]: DEBUG: uac_redirect [rd_funcs.c:165]: sort_contacts(): sort_contacts: <sip:39988202@10.25.147.241:5060;user=phone> q=250

Nov 11 12:55:48 vm-KAMnet-dev01 /usr/local/sbin/kamailio[10356]: DEBUG: uac_redirect [rd_funcs.c:165]: sort_contacts(): sort_contacts: <sip:39988202@10.25.148.41:5060;user=phone> q=500

Nov 11 12:55:48 vm-KAMnet-dev01 /usr/local/sbin/kamailio[10356]: DEBUG: uac_redirect [rd_funcs.c:297]: shmcontact2dset(): adding contact <sip:39988202@10.25.147.241:5060;user=phone>

Nov 11 12:55:48 vm-KAMnet-dev01 /usr/local/sbin/kamailio[10356]: DEBUG: <core> [sruid.c:176]: sruid_next(): new sruid is [rdir-5280b7a9-2874-1] (1 / 20)

Nov 11 12:55:48 vm-KAMnet-dev01 /usr/local/sbin/kamailio[10356]: DEBUG: uac_redirect [rd_funcs.c:297]: shmcontact2dset(): adding contact <sip:39988202@10.25.148.41:5060;user=phone>

Nov 11 12:55:48 vm-KAMnet-dev01 /usr/local/sbin/kamailio[10356]: DEBUG: <core> [sruid.c:176]: sruid_next(): new sruid is [rdir-5280b7a9-2874-2] (2 / 20)

Nov 11 12:55:48 vm-KAMnet-dev01 /usr/local/sbin/kamailio[10356]: DEBUG: tm [t_serial.c:166]: t_load_contacts(): nr_branches is 2

Nov 11 12:56:00 vm-KAMnet-dev01 /usr/local/sbin/kamailio[10336]: ALERT: <core> [main.c:788]: handle_sigs(): child process 10356 exited by a signal 11

Nov 11 12:56:00 vm-KAMnet-dev01 /usr/local/sbin/kamailio[10336]: ALERT: <core> [main.c:791]: handle_sigs(): core was generated

Nov 11 12:56:00 vm-KAMnet-dev01 /usr/local/sbin/kamailio[10336]: INFO: <core> [main.c:803]: handle_sigs(): INFO: terminating due to SIGCHLD

 

 

Regards,

Julia.