[sr-dev] [kamailio/kamailio] cnxcc: Kamailio crashes with a seg fault at high traffic load (#563)

lfzaracho notifications at github.com
Thu Apr 14 23:48:54 CEST 2016


Sure, here it is:

(gdb) bt
#0  0x00007f1c8bc45206 in str_hash_get (ht=0x7f1c83a8cfd0,
    key=0x7f1c8a8f8df8 "19679-8762 at 192.168.0.121sip:sipp at 192.168.0.121:5060sip:1945019482 at 192.168.0.11:5060sip:5019482 at 192.168.0.122:5060", len=24)
    at ../../str_hash.h:96
#1  0x00007f1c8bc4a404 in try_get_call_entry (callid=0x7f1c8a8f8d08, call=0x7ffef29d70e0, hts=0x7ffef29d70d8) at cnxcc_mod.c:527
#2  0x00007f1c8bc4a7c6 in __stop_billing (callid=0x7f1c8a8f8d08) at cnxcc_mod.c:576
#3  0x00007f1c8bc49c25 in __dialog_terminated_callback (cell=0x7f1c8a8f8c98, type=64, params=0x7f1c8c1140a0) at cnxcc_mod.c:456
#4  0x00007f1c8bea0773 in run_dlg_callbacks (type=64, dlg=0x7f1c8a8f8c98, req=0x7f1c8ff3f6a0, rpl=0x0, dir=1, dlg_data=0x0) at dlg_cb.c:256
#5  0x00007f1c8beb697e in dlg_terminated (req=0x7f1c8ff3f6a0, dlg=0x7f1c8a8f8c98, dir=1) at dlg_handlers.c:368
#6  0x00007f1c8bec1952 in dlg_onroute (req=0x7f1c8ff3f6a0, route_params=0x7ffef29d76a0, param=0x0) at dlg_handlers.c:1306
#7  0x00007f1c8e872a57 in run_rr_callbacks (req=0x7f1c8ff3f6a0, rr_param=0x7f1c8ea81a90) at rr_cb.c:96
#8  0x00007f1c8e8672dd in after_loose (_m=0x7f1c8ff3f6a0, preloaded=0) at loose.c:914
#9  0x00007f1c8e867927 in loose_route (_m=0x7f1c8ff3f6a0) at loose.c:947
#10 0x00007f1c8e87440b in w_loose_route (msg=0x7f1c8ff3f6a0, p1=0x0, p2=0x0) at rr_mod.c:265
#11 0x000000000041dedd in do_action (h=0x7ffef29d8100, a=0x7f1c8fece658, msg=0x7f1c8ff3f6a0) at action.c:1053
#12 0x000000000042a5f3 in run_actions (h=0x7ffef29d8100, a=0x7f1c8fece658, msg=0x7f1c8ff3f6a0) at action.c:1548
#13 0x000000000042ac58 in run_actions_safe (h=0x7ffef29d9920, a=0x7f1c8fece658, msg=0x7f1c8ff3f6a0) at action.c:1613
#14 0x0000000000544b40 in rval_get_int (h=0x7ffef29d9920, msg=0x7f1c8ff3f6a0, i=0x7ffef29d88c0, rv=0x7f1c8fece7a8, cache=0x0) at rvalue.c:912
#15 0x0000000000548de5 in rval_expr_eval_int (h=0x7ffef29d9920, msg=0x7f1c8ff3f6a0, res=0x7ffef29d88c0, rve=0x7f1c8fece7a0) at rvalue.c:1910
#16 0x000000000041d9c7 in do_action (h=0x7ffef29d9920, a=0x7f1c8fed9288, msg=0x7f1c8ff3f6a0) at action.c:1029
#17 0x000000000042a5f3 in run_actions (h=0x7ffef29d9920, a=0x7f1c8fed9288, msg=0x7f1c8ff3f6a0) at action.c:1548
#18 0x000000000041de46 in do_action (h=0x7ffef29d9920, a=0x7f1c8fed9518, msg=0x7f1c8ff3f6a0) at action.c:1044
#19 0x000000000042a5f3 in run_actions (h=0x7ffef29d9920, a=0x7f1c8fed9518, msg=0x7f1c8ff3f6a0) at action.c:1548
#20 0x000000000041a963 in do_action (h=0x7ffef29d9920, a=0x7f1c8febb798, msg=0x7f1c8ff3f6a0) at action.c:677
#21 0x000000000042a5f3 in run_actions (h=0x7ffef29d9920, a=0x7f1c8feb52b0, msg=0x7f1c8ff3f6a0) at action.c:1548
#22 0x000000000042ad20 in run_top_route (a=0x7f1c8feb52b0, msg=0x7f1c8ff3f6a0, c=0x0) at action.c:1634
#23 0x000000000050b6bc in receive_msg (
    buf=0xa77de0 "BYE sip:192.168.0.122:5060;transport=UDP SIP/2.0\r\nVia: SIP/2.0/UDP 192.168.0.121:5060;branch=z9hG4bK-8762-19679-7\r\nFrom: sipp <sip:sipp at 192.168.0.121:5060>;tag=8762SIPpTag0019679\r\nTo: 1945019482 <sip:"..., len=451, rcv_info=0x7ffef29d9c10) at receive.c:196
#24 0x000000000060c84e in udp_rcv_loop () at udp_server.c:495
#25 0x00000000004a8324 in main_loop () at main.c:1577
#26 0x00000000004aed02 in main (argc=5, argv=0x7ffef29da0e8) at main.c:2553
(gdb)


---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/563#issuecomment-210167311
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20160414/82b4e288/attachment.html>


More information about the sr-dev mailing list