Hello,

5.3.x is very old, no longer maintained. It is recommended to upgrade to
a maintained version (5.6.x or 5.7.x), or at least the last version in
the 5.3.x series if you can't do a major update quickly.

I recall some changes to the tm module over the time, not sure if they
were during 5.3.x release, earlier or afterwards, but I don't think
someone will spend time to dig in for an unmaintained version, it might
be something that was already fixed.

Cheers,
Daniel

On 14.06.23 16:50, Igor Potjevlesch wrote:
>
> Hello!
>
>  
>
> We had several crashs of Kamailio (5.3.4) in the last weeks. Each
> time, the last logs are:
>
> /usr/local/sbin/kamailio[20942]: CRITICAL: <core>
> [core/forward.c:347]: get_send_socket2(): unsupported proto 0 (*)
>
> /usr/local/sbin/kamailio[20966]: CRITICAL: <core>
> [core/forward.c:347]: get_send_socket2(): unsupported proto 111 (unknown)
>
>  
>
> When we look to the coredump, here below the first traces:
>
> (gdb) bt
>
> #0  0x00007f70131b3d91 in prepare_new_uac (t=0x7f6fe1d45340,
> i_req=0x7f7016fbe208, branch=0, uri=0x7fff37142fa0,
> path=0x7fff37142f80, next_hop=0x7f7016fbe480, fsocket=0x0,
>
>     snd_flags=..., fproto=0, flags=2, instance=0x7fff37142f70,
> ruid=0x7fff37142f60, location_ua=0x7fff37142f50) at t_fwd.c:463
>
> #1  0x00007f70131b7c42 in add_uac (t=0x7f6fe1d45340,
> request=0x7f7016fbe208, uri=0x7f7016fbe480, next_hop=0x7f7016fbe480,
> path=0x7f7016fbe848, proxy=0x0, fsocket=0x0,
>
>     snd_flags=..., proto=0, flags=2, instance=0x7f7016fbe858,
> ruid=0x7f7016fbe870, location_ua=0x7f7016fbe880) at t_fwd.c:805
>
> #2  0x00007f70131bfebd in t_forward_nonack (t=0x7f6fe1d45340,
> p_msg=0x7f7016fbe208, proxy=0x0, proto=0) at t_fwd.c:1667
>
> #3  0x00007f701316cf44 in t_relay_to (p_msg=0x7f7016fbe208, proxy=0x0,
> proto=0, replicate=0) at t_funcs.c:332
>
> #4  0x00007f70131a3a11 in _w_t_relay_to (p_msg=0x7f7016fbe208,
> proxy=0x0, force_proto=0) at tm.c:1689
>
> #5  0x00007f70131a4c51 in w_t_relay (p_msg=0x7f7016fbe208, _foo=0x0,
> _bar=0x0) at tm.c:1889
>
> #6  0x00000000005a1f57 in do_action (h=0x7fff37143d90,
> a=0x7f7016bd1b10, msg=0x7f7016fbe208) at core/action.c:1071
>
> #7  0x00000000005aeb1e in run_actions (h=0x7fff37143d90,
> a=0x7f7016bd1b10, msg=0x7f7016fbe208) at core/action.c:1576
>
> #8  0x00000000005af1df in run_actions_safe (h=0x7fff37146e90,
> a=0x7f7016bd1b10, msg=0x7f7016fbe208) at core/action.c:1640
>
> #9  0x000000000066aa50 in rval_get_int (h=0x7fff37146e90,
> msg=0x7f7016fbe208, i=0x7fff37144238, rv=0x7f7016bd1e60, cache=0x0) at
> core/rvalue.c:915
>
> #10 0x000000000066f000 in rval_expr_eval_int (h=0x7fff37146e90,
> msg=0x7f7016fbe208, res=0x7fff37144238, rve=0x7f7016bd1e58) at
> core/rvalue.c:1913
>
> #11 0x000000000066f453 in rval_expr_eval_int (h=0x7fff37146e90,
> msg=0x7f7016fbe208, res=0x7fff371446ec, rve=0x7f7016bd2588) at
> core/rvalue.c:1921
>
> #12 0x00000000005a1a1d in do_action (h=0x7fff37146e90,
> a=0x7f7016bd2e08, msg=0x7f7016fbe208) at core/action.c:1047
>
> #13 0x00000000005aeb1e in run_actions (h=0x7fff37146e90,
> a=0x7f7016bcbd20, msg=0x7f7016fbe208) at core/action.c:1576
>
> #14 0x000000000059e97d in do_action (h=0x7fff37146e90,
> a=0x7f7016ef19b8, msg=0x7f7016fbe208) at core/action.c:695
>
> #15 0x00000000005aeb1e in run_actions (h=0x7fff37146e90,
> a=0x7f7016e3f578, msg=0x7f7016fbe208) at core/action.c:1576
>
> #16 0x000000000059e97d in do_action (h=0x7fff37146e90,
> a=0x7f7016c220a0, msg=0x7f7016fbe208) at core/action.c:695
>
> #17 0x00000000005aeb1e in run_actions (h=0x7fff37146e90,
> a=0x7f7016c220a0, msg=0x7f7016fbe208) at core/action.c:1576
>
> #18 0x00000000005aae93 in do_action (h=0x7fff37146e90,
> a=0x7f7016c23978, msg=0x7f7016fbe208) at core/action.c:1207
>
> #19 0x00000000005aeb1e in run_actions (h=0x7fff37146e90,
> a=0x7f7016c20748, msg=0x7f7016fbe208) at core/action.c:1576
>
> #20 0x00000000005a1ec6 in do_action (h=0x7fff37146e90,
> a=0x7f7016c576a0, msg=0x7f7016fbe208) at core/action.c:1062
>
> #21 0x00000000005aeb1e in run_actions (h=0x7fff37146e90,
> a=0x7f7016c0b770, msg=0x7f7016fbe208) at core/action.c:1576
>
> #22 0x000000000059e97d in do_action (h=0x7fff37146e90,
> a=0x7f7016bc9920, msg=0x7f7016fbe208) at core/action.c:695
>
> #23 0x00000000005aeb1e in run_actions (h=0x7fff37146e90,
> a=0x7f7016bb9100, msg=0x7f7016fbe208) at core/action.c:1576
>
> #24 0x00000000005af2a7 in run_top_route (a=0x7f7016bb9100,
> msg=0x7f7016fbe208, c=0x0) at core/action.c:1661
>
> #25 0x00000000005bcb7a in receive_msg (
>
>     buf=0xadbd80 <buf.6971> "INVITE sip:[email protected]
> SIP/2.0\r\nVia: SIP/2.0/UDP
> W.X.Y.Z;rport;branch=z9hG4bKZD8Za7p2XF7cF\r\nMax-Forwards: 69\r\nFrom:
> \"AAAAAAAAAA\" sip:[email protected];tag=aXy4Na2NtvKBK\r\nTo: <"...,
> len=1011, rcv_info=0x7fff371474c0) at core/receive.c:423
>
> #26 0x0000000000488e7f in udp_rcv_loop () at core/udp_server.c:548
>
> #27 0x000000000042650f in main_loop () at main.c:1673
>
> #28 0x000000000042ec18 in main (argc=7, argv=0x7fff37147c38) at
> main.c:2802
>
>  
>
> Is there anything relevant in this to know what's wrong?
>
>  
>
> Regards,
>
>  
>
> Igor.
>
>
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
>       Sans virus.www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
>
>
> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions
> To unsubscribe send an email to [email protected]
> Important: keep the mailing list in the recipients, do not reply only to the 
> sender!
> Edit mailing list options or unsubscribe:

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference - www.kamailioworld.com
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:

Reply via email to