[sr-dev] [tracker] Task opened: crash in 4.1.6 with uac_replace_from

sip-router bugtracker at sip-router.org
Mon Oct 13 11:06:42 CEST 2014


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Klaus Darilion (klaus3000) 

Attached to Project - sip-router
Summary - crash in 4.1.6 with uac_replace_from
Task Type - Bug Report
Category - Module
Status - New
Assigned To - 
Operating System - Linux
Severity - Low
Priority - Normal
Reported Version - 4.1
Due in Version - Undecided
Due Date - Undecided
Details - Hi! Kamailio 4.1.6 (nightly build compiled on 06:07:15 Oct 10 2014)

Crashes on receiving the 200 OK response for the BYE (BYE sent by caller).

It seems the crash only happens when dialog module is used but restore_from_avp is configured:

modparam("uac","restore_mode","auto")
modparam("uac","restore_dlg", 1)
modparam("uac","restore_from_avp","$avp(original_uri_from)")

Backtrace:
Program terminated with signal 11, Segmentation fault.
#0  0xb75f2221 in ?? () from /lib/i686/cmov/libc.so.6
(gdb) bt
#0  0xb75f2221 in ?? () from /lib/i686/cmov/libc.so.6
#1  0xb75bf86f in vfprintf () from /lib/i686/cmov/libc.so.6
#2  0xb7647346 in __vsyslog_chk () from /lib/i686/cmov/libc.so.6
#3  0xb76474c7 in syslog () from /lib/i686/cmov/libc.so.6
#4  0xb65d7a76 in restore_uri_reply (rpl=0xb72bba68, rpl_hdr=0xb724e23c, req_hdr=0xb2749760, stored_value=0xbf93bb20) at replace.c:674
#5  0xb65d85f5 in restore_uris_reply (t=0xb2743318, type=2, p=0xbf93bbec) at replace.c:751
#6  0xb6dcf3a9 in run_trans_callbacks_internal (cb_lst=0xb2743358, type=2, trans=0xb2743318, params=0xbf93bbec) at t_hooks.c:290
#7  0xb6dcf4ba in run_trans_callbacks (type=2, trans=0xb2743318, req=0xb2748d94, rpl=0xb72bba68, code=200) at t_hooks.c:317
#8  0xb6dd4ea6 in t_reply_matching (p_msg=0xb72bba68, p_branch=0xbf93bf7c) at t_lookup.c:1027
#9  0xb6dd5f12 in t_check_msg (p_msg=0xb72bba68, param_branch=0xbf93bf7c) at t_lookup.c:1130
#10 0xb6dd63e4 in t_check (p_msg=0xb72bba68, param_branch=0xbf93bf7c) at t_lookup.c:1172
#11 0xb6df2c95 in reply_received (p_msg=0xb72bba68) at t_reply.c:2188
#12 0x0809ef89 in do_forward_reply (msg=0xb72bba68, mode=0) at forward.c:777
#13 0x0809f7e8 in forward_reply (msg=0xb72bba68) at forward.c:860
#14 0x080e3343 in receive_msg (
    buf=0x82e3820 "SIP/2.0 200 Ok\r\nVia: SIP/2.0/UDP 80.86.190.20;branch=z9hG4bK9f1d.491180a5fd9ae00657af986cc90ea171.0\r\nVia: SIP/2.0/UDP 10.10.0.51:25740;received=83.136.33.3;branch=z9hG4bK-d8754z-3d05d174695cef52-1---d"..., len=496, rcv_info=0xbf93c230) at receive.c:273
#15 0x081710c3 in udp_rcv_loop () at udp_server.c:536
#16 0x080adff3 in main_loop () at main.c:1619
#17 0x080b10c1 in main (argc=13, argv=0xbf93c514) at main.c:2547




More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=479

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the sr-dev mailing list