Hi guys,
I observed a crash in Kamailio IMS P-CSCF when there is an incoming REGISTER.

This is Kamailio 4.4.2 installed on Debian 8.3 Jessie on X86_64. Below is the backtrace:

<nabble_embed>
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007fc9bfa9b143 in unlink_unsafe_dlg (d_entry=0x7fc9b6cd7a10, dlg=0x7fc9c1371c90) at dlg_hash.h:208
208             dlg->next->prev = dlg->prev;
(gdb) bt
#0  0x00007fc9bfa9b143 in unlink_unsafe_dlg (d_entry=0x7fc9b6cd7a10, dlg=0x7fc9c1371c90) at dlg_hash.h:208
#1  0x00007fc9bfaabc1c in unref_dlg (dlg=0x7fc9c1371c90, cnt=1) at dlg_hash.c:1056
#2  0x00007fc9bfab3f00 in dlg_release (dlg=0x7fc9c1371c90) at dlg_hash.c:1816
#3  0x00007fc9baa81aa0 in NAT_Keepalive (msg=0x7fc9c1371c90) at nat_traversal.c:1406
#4  0x0000000000573fc1 in do_action (h=0x7ffe69938980, a=0x7fc9c13008e0, msg=0x7fc9c1371c90) at action.c:1054
#5  0x00000000005806a6 in run_actions (h=0x7ffe69938980, a=0x7fc9c13003c8, msg=0x7fc9c1371c90) at action.c:1549
#6  0x0000000000573f30 in do_action (h=0x7ffe69938980, a=0x7fc9c1300a10, msg=0x7fc9c1371c90) at action.c:1045
#7  0x00000000005806a6 in run_actions (h=0x7ffe69938980, a=0x7fc9c12ff6d0, msg=0x7fc9c1371c90) at action.c:1549
#8  0x0000000000573f30 in do_action (h=0x7ffe69938980, a=0x7fc9c1300b40, msg=0x7fc9c1371c90) at action.c:1045
#9  0x00000000005806a6 in run_actions (h=0x7ffe69938980, a=0x7fc9c12fdca8, msg=0x7fc9c1371c90) at action.c:1549
#10 0x0000000000570ae3 in do_action (h=0x7ffe69938980, a=0x7fc9c12d6958, msg=0x7fc9c1371c90) at action.c:678
#11 0x00000000005806a6 in run_actions (h=0x7ffe69938980, a=0x7fc9c12d64a0, msg=0x7fc9c1371c90) at action.c:1549
#12 0x0000000000580df3 in run_top_route (a=0x7fc9c12d64a0, msg=0x7fc9c1371c90, c=0x0) at action.c:1635
#13 0x0000000000588fe9 in receive_msg (
    buf=0xa0efc0 <buf> "REGISTER sip:domain.com:5432 SIP/2.0\r\nTo: bob&lt;sip:bob@domain.com&gt;\r\nFrom: bob&lt;sip:bob@domain.com&gt;;tag=0e0eaf0d\r\nVia: SIP/2.0/UDP 1.2.3.4:9764;branch=z9hG4bK-d87543-56117650-1--d87543-;rpor"..., len=469, rcv_info=0x7ffe69938c60) at receive.c:240
#14 0x00000000004718f8 in udp_rcv_loop () at udp_server.c:495
#15 0x00000000004f4f76 in main_loop () at main.c:1600
#16 0x00000000004fc4ac in main (argc=3, argv=0x7ffe69939148) at main.c:2616
</nabble_embed>

Let me know if any more details are required.
Regards,
Owais

        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://sip-router.1086192.n5.nabble.com/Kamailio-4-4-2-Crashed-on-receiving-REGISTER-tp151405.html">Kamailio 4.4.2 Crashed on receiving REGISTER</a><br/>
Sent from the <a href="http://sip-router.1086192.n5.nabble.com/Development-f28106.html">Development mailing list archive</a> at Nabble.com.<br/>