Hello Daniel,

 

Thank you for pinpoint.

Is this commit into branch 5 only?

 

Regards,

 

Igor.

 

De : Daniel-Constantin Mierla [mailto:miconda@gmail.com]
Envoyé : mardi 3 octobre 2017 20:23
À : Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>; igor.potjevlesch@gmail.com
Objet : Re: [SR-Users] Multi crashes in the same day

 

Hello,

likely you got hit by the issue fixed by:

  - https://github.com/kamailio/kamailio/commit/25f2180999dafb807068313c4a329a163dd99f92

4.2 series is old and I expect this commit was not backported there.

Cheers,
Daniel

 

On 03.10.17 18:49, igor.potjevlesch@gmail.com wrote:

Hello !

 

I have multi crashes on a Kamailio 4.2.8 instance.

Already 6 coredump today, same time with the same scenario. Below the output of the last coredump:

 

(gdb) where

#0  0x0000003d6f6328a5 in raise () from /lib64/libc.so.6

#1  0x0000003d6f634085 in abort () from /lib64/libc.so.6

#2  0x000000000061aad2 in qm_debug_frag (qm=0x7f9a8a7aa010, f=0x7f9a8aca5968) at mem/q_malloc.c:161

#3  0x000000000061bf1c in qm_malloc (qm=0x7f9a8a7aa010, size=24, file=0x7131d0 "<core>: re.c", func=0x71483e "subst_run", line=440) at mem/q_malloc.c:388

#4  0x0000000000505e2c in subst_run (se=0x7f9a8ac08b78, input=0x7f9a8aca5918 "sip:0123456789@customer.local", msg=0x7f9a8abfef38, count=0x0) at re.c:440

#5  0x0000000000506fff in subst_str (input=0x7f9a8aca5918 "sip:0123456789@customer.local", msg=0x7f9a8abfef38, se=0x7f9a8ac08b78, count=0x0) at re.c:515

#6  0x00007f9a87ff629d in subst_uri_f (msg=0x7f9a8abfef38, subst=0x7f9a8ac08b78 "X\215\300\212\232\177", ignored=0x0) at textops.c:744

#7  0x000000000041d51b in do_action (h=0x7fffed0800d0, a=0x7f9a8ab64cc8, msg=0x7f9a8abfef38) at action.c:1094

#8  0x0000000000429ba3 in run_actions (h=0x7fffed0800d0, a=0x7f9a8ab64cc8, msg=0x7f9a8abfef38) at action.c:1583

#9  0x000000000042a208 in run_actions_safe (h=0x7fffed081380, a=0x7f9a8ab64cc8, msg=0x7f9a8abfef38) at action.c:1648

#10 0x0000000000542994 in rval_get_int (h=0x7fffed081380, msg=0x7f9a8abfef38, i=0x7fffed080890, rv=0x7f9a8ab64ef8, cache=0x0) at rvalue.c:924

#11 0x0000000000546bcc in rval_expr_eval_int (h=0x7fffed081380, msg=0x7f9a8abfef38, res=0x7fffed080890, rve=0x7f9a8ab64ef0) at rvalue.c:1918

#12 0x000000000041cf77 in do_action (h=0x7fffed081380, a=0x7f9a8ab66a30, msg=0x7f9a8abfef38) at action.c:1064

#13 0x0000000000429ba3 in run_actions (h=0x7fffed081380, a=0x7f9a8ab66a30, msg=0x7f9a8abfef38) at action.c:1583

#14 0x000000000041d3f6 in do_action (h=0x7fffed081380, a=0x7f9a8ab6b070, msg=0x7f9a8abfef38) at action.c:1079

#15 0x0000000000429ba3 in run_actions (h=0x7fffed081380, a=0x7f9a8ab607b8, msg=0x7f9a8abfef38) at action.c:1583

#16 0x000000000042a2d0 in run_top_route (a=0x7f9a8ab607b8, msg=0x7f9a8abfef38, c=0x7fffed081380) at action.c:1669

#17 0x00007f9a891f6d0f in prepare_new_uac (t=0x7f9a6de86518, i_req=0x7f9a8abfef38, branch=0, uri=0x7fffed0814d0, path=0x7fffed0814b0, next_hop=0x7f9a8abff1a8, fsocket=0x0,

    snd_flags=..., fproto=0, flags=2, instance=0x7fffed0814a0, ruid=0x7fffed081490, location_ua=0x7fffed081480) at t_fwd.c:410

#18 0x00007f9a891faded in add_uac (t=0x7f9a6de86518, request=0x7f9a8abfef38, uri=0x7f9a8abff1a8, next_hop=0x7f9a8abff1a8, path=0x7f9a8abff568, proxy=0x0, fsocket=0x0,

    snd_flags=..., proto=0, flags=2, instance=0x7f9a8abff578, ruid=0x7f9a8abff590, location_ua=0x7f9a8abff5a0) at t_fwd.c:855

#19 0x00007f9a89201ddd in t_forward_nonack (t=0x7f9a6de86518, p_msg=0x7f9a8abfef38, proxy=0x0, proto=0) at t_fwd.c:1723

#20 0x00007f9a891ee374 in t_relay_to (p_msg=0x7f9a8abfef38, proxy=0x0, proto=0, replicate=0) at t_funcs.c:355

#21 0x00007f9a8922bd89 in _w_t_relay_to (p_msg=0x7f9a8abfef38, proxy=0x0, force_proto=0) at tm.c:1517

#22 0x00007f9a8922ceee in w_t_relay (p_msg=0x7f9a8abfef38, _foo=0x0, _bar=0x0) at tm.c:1718

#23 0x000000000041d48d in do_action (h=0x7fffed082190, a=0x7f9a8a83e878, msg=0x7f9a8abfef38) at action.c:1088

#24 0x0000000000429ba3 in run_actions (h=0x7fffed082190, a=0x7f9a8a83e878, msg=0x7f9a8abfef38) at action.c:1583

#25 0x000000000042a208 in run_actions_safe (h=0x7fffed0848f0, a=0x7f9a8a83e878, msg=0x7f9a8abfef38) at action.c:1648

#26 0x0000000000542994 in rval_get_int (h=0x7fffed0848f0, msg=0x7f9a8abfef38, i=0x7fffed082668, rv=0x7f9a8a83eb60, cache=0x0) at rvalue.c:924

#27 0x0000000000546bcc in rval_expr_eval_int (h=0x7fffed0848f0, msg=0x7f9a8abfef38, res=0x7fffed082668, rve=0x7f9a8a83eb58) at rvalue.c:1918

#28 0x0000000000546fc2 in rval_expr_eval_int (h=0x7fffed0848f0, msg=0x7f9a8abfef38, res=0x7fffed082af0, rve=0x7f9a8a83f280) at rvalue.c:1926

#29 0x000000000041cf77 in do_action (h=0x7fffed0848f0, a=0x7f9a8a83fbd0, msg=0x7f9a8abfef38) at action.c:1064

#30 0x0000000000429ba3 in run_actions (h=0x7fffed0848f0, a=0x7f9a8a838c88, msg=0x7f9a8abfef38) at action.c:1583

#31 0x0000000000419f13 in do_action (h=0x7fffed0848f0, a=0x7f9a8a996598, msg=0x7f9a8abfef38) at action.c:712

#32 0x0000000000429ba3 in run_actions (h=0x7fffed0848f0, a=0x7f9a8a9955b8, msg=0x7f9a8abfef38) at action.c:1583

#33 0x000000000041d3f6 in do_action (h=0x7fffed0848f0, a=0x7f9a8a996a50, msg=0x7f9a8abfef38) at action.c:1079

#34 0x0000000000429ba3 in run_actions (h=0x7fffed0848f0, a=0x7f9a8a8fa068, msg=0x7f9a8abfef38) at action.c:1583

#35 0x0000000000419f13 in do_action (h=0x7fffed0848f0, a=0x7f9a8a830c70, msg=0x7f9a8abfef38) at action.c:712

#36 0x0000000000429ba3 in run_actions (h=0x7fffed0848f0, a=0x7f9a8a830c70, msg=0x7f9a8abfef38) at action.c:1583

#37 0x000000000041d3f6 in do_action (h=0x7fffed0848f0, a=0x7f9a8a830db8, msg=0x7f9a8abfef38) at action.c:1079

#38 0x0000000000429ba3 in run_actions (h=0x7fffed0848f0, a=0x7f9a8a81e7d0, msg=0x7f9a8abfef38) at action.c:1583

#39 0x000000000042a2d0 in run_top_route (a=0x7f9a8a81e7d0, msg=0x7f9a8abfef38, c=0x0) at action.c:1669

#40 0x00000000005095b6 in receive_msg (

    buf=0xa78b60 "INVITE sip:0123456789@A.B.C.181:5060;transport=UDP;user=phone SIP/2.0\r\nFrom: <sip:0987654321@A.B.C.148:5060>;tag=BN1507883839-1-1507047459-332794206;transport=UDP\r\nTo: <sip:0123456789@H.G.F.D"..., len=1119, rcv_info=0x7fffed084be0) at receive.c:216

#41 0x000000000060945a in udp_rcv_loop () at udp_server.c:521

#42 0x00000000004a6e62 in main_loop () at main.c:1629

#43 0x00000000004acfa6 in main (argc=7, argv=0x7fffed085018) at main.c:2581

 

Regards,

 

Igor.

 

 




_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users



-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - www.kamailioworld.com