Hello,
We are now running with 5.6.4 and we still have crashes in this function:
(gdb) bt
#0 0x00007f35fd42c39b in prepare_new_uac (t=0x7f35dc430ab8, i_req=0x7f3600b15040, branch=0, uri=0x7ffe7bd7aab0, path=0x7ffe7bd7aa90, next_hop=0x7f3600b15320, fsocket=0x0, snd_flags=..., fproto=0, flags=2, instance=0x7ffe7bd7aa80, ruid=0x7ffe7bd7aa70,
location_ua=0x7ffe7bd7aa60) at t_fwd.c:464
#1 0x00007f35fd431154 in add_uac (t=0x7f35dc430ab8, request=0x7f3600b15040, uri=0x7f3600b15320, next_hop=0x7f3600b15320, path=0x7f3600b156e8, proxy=0x0, fsocket=0x0, snd_flags=..., proto=0, flags=2, instance=0x7f3600b156f8, ruid=0x7f3600b15710,
location_ua=0x7f3600b15720) at t_fwd.c:814
#2 0x00007f35fd43aa37 in t_forward_nonack (t=0x7f35dc430ab8, p_msg=0x7f3600b15040, proxy=0x0, proto=0) at t_fwd.c:1694
#3 0x00007f35fd41291f in t_relay_to (p_msg=0x7f3600b15040, proxy=0x0, proto=0, replicate=0) at t_funcs.c:332
#4 0x00007f35fd39a587 in _w_t_relay_to (p_msg=0x7f3600b15040, proxy=0x0, force_proto=0) at tm.c:1764
#5 0x00007f35fd39b900 in w_t_relay (p_msg=0x7f3600b15040, _foo=0x0, _bar=0x0) at tm.c:1964
#6 0x00000000005e1c3d in do_action (h=0x7ffe7bd7bb20, a=0x7f3600724208, msg=0x7f3600b15040) at core/action.c:1079
#7 0x00000000005eeff0 in run_actions (h=0x7ffe7bd7bb20, a=0x7f3600724208, msg=0x7f3600b15040) at core/action.c:1584
#8 0x00000000005ef66c in run_actions_safe (h=0x7ffe7bd7f2f0, a=0x7f3600724208, msg=0x7f3600b15040) at core/action.c:1648
#9 0x000000000044407b in rval_get_int (h=0x7ffe7bd7f2f0, msg=0x7f3600b15040, i=0x7ffe7bd7c094, rv=0x7f3600724558, cache=0x0) at core/rvalue.c:949
#10 0x0000000000448bac in rval_expr_eval_int (h=0x7ffe7bd7f2f0, msg=0x7f3600b15040, res=0x7ffe7bd7c094, rve=0x7f3600724550) at core/rvalue.c:1947
#11 0x0000000000448fd8 in rval_expr_eval_int (h=0x7ffe7bd7f2f0, msg=0x7f3600b15040, res=0x7ffe7bd7c60c, rve=0x7f3600724c80) at core/rvalue.c:1955
#12 0x00000000005e171e in do_action (h=0x7ffe7bd7f2f0, a=0x7f3600725500, msg=0x7f3600b15040) at core/action.c:1055
#13 0x00000000005eeff0 in run_actions (h=0x7ffe7bd7f2f0, a=0x7f360071e418, msg=0x7f3600b15040) at core/action.c:1584
#14 0x00000000005de38d in do_action (h=0x7ffe7bd7f2f0, a=0x7f3600a440b0, msg=0x7f3600b15040) at core/action.c:703
#15 0x00000000005eeff0 in run_actions (h=0x7ffe7bd7f2f0, a=0x7f3600991c70, msg=0x7f3600b15040) at core/action.c:1584
#16 0x00000000005de38d in do_action (h=0x7ffe7bd7f2f0, a=0x7f3600774798, msg=0x7f3600b15040) at core/action.c:703
#17 0x00000000005eeff0 in run_actions (h=0x7ffe7bd7f2f0, a=0x7f3600774798, msg=0x7f3600b15040) at core/action.c:1584
#18 0x00000000005eb049 in do_action (h=0x7ffe7bd7f2f0, a=0x7f3600776070, msg=0x7f3600b15040) at core/action.c:1215
#19 0x00000000005eeff0 in run_actions (h=0x7ffe7bd7f2f0, a=0x7f3600772e40, msg=0x7f3600b15040) at core/action.c:1584
#20 0x00000000005e1bac in do_action (h=0x7ffe7bd7f2f0, a=0x7f36007a9d98, msg=0x7f3600b15040) at core/action.c:1070
#21 0x00000000005eeff0 in run_actions (h=0x7ffe7bd7f2f0, a=0x7f360075de68, msg=0x7f3600b15040) at core/action.c:1584
#22 0x00000000005de38d in do_action (h=0x7ffe7bd7f2f0, a=0x7f360071c018, msg=0x7f3600b15040) at core/action.c:703
#23 0x00000000005eeff0 in run_actions (h=0x7ffe7bd7f2f0, a=0x7f360070b7f8, msg=0x7f3600b15040) at core/action.c:1584
#24 0x00000000005ef734 in run_top_route (a=0x7f360070b7f8, msg=0x7f3600b15040, c=0x0) at core/action.c:1669
#25 0x000000000060627f in receive_msg (
buf=0xae7a20 <buf.7230> "INVITE sip:0123456789@X.Y sip:0473612762@185.20.8.4 .Z SIP/2.0\r\nVia: SIP/2.0/UDP A.B.C.D;rport;branch=z9hG4bKmSt3vQZQj9UXm\r\nMax-Forwards: 69\r\nFrom: "0987654321" sip:0987654321@A.B.C.D sip:0757905396@185.20.11.213 ;tag=v36y8m9Fr323e\r\nTo: <"..., len=1011,
rcv_info=0x7ffe7bd7fa00) at core/receive.c:515
#26 0x00000000004a6602 in udp_rcv_loop () at core/udp_server.c:544
#27 0x000000000042bff5 in main_loop () at main.c:1722
#28 0x0000000000437909 in main (argc=7, argv=0x7ffe7bd802d8) at main.c:3078
Regards,
Igor.
De : Igor Potjevlesch igor.potjevlesch@gmail.com Envoyé : mercredi 14 juin 2023 18:58 À : 'Henning Westerholt' hw@gilawa.com; 'Kamailio (SER) - Users Mailing List' sr-users@lists.kamailio.org Objet : RE: [SR-Users] Several crashs in prepare_new_uac
Hello,
Understood! Indeed, we already schedule to upgrade to 5.6.X in the coming weeks.
Regards,
Igor.
De : Henning Westerholt < mailto:hw@gilawa.com hw@gilawa.com> Envoyé : mercredi 14 juin 2023 18:38 À : Kamailio (SER) - Users Mailing List < mailto:sr-users@lists.kamailio.org sr-users@lists.kamailio.org> Cc : Igor Potjevlesch < mailto:igor.potjevlesch@gmail.com igor.potjevlesch@gmail.com> Objet : RE: [SR-Users] Several crashs in prepare_new_uac
Hello,
I have not looked into the backtrace yet, but you should consider upgrading the server to a support release (e.g. one of the latest the 5.5.x or 5.6.x releases). The 5.3.x series is long end of life. Your bug might be already fixed in the maintained versions.
Cheers,
Henning