[OpenSIPS-Devel] [ opensips-Bugs-2862280 ] b2bua crash

SourceForge.net noreply at sourceforge.net
Sun Sep 20 20:36:34 CEST 2009


Bugs item #2862280, was opened at 2009-09-19 14:38
Message generated for change (Comment added) made by sokhapkin
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2862280&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: trunk
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Sergey Okhapkin (sokhapkin)
Assigned to: Nobody/Anonymous (nobody)
Summary: b2bua crash

Initial Comment:
Core was generated by `/usr/local/sbin/opensips -P /var/run/opensips.pid -m 512'.
Program terminated with signal 11, Segmentation fault.
#0  0xb7d06791 in b2b_logic_notify (src=0, msg=0x81bf7f0, key=0xbf86b418, type=0, param=0x97d07f78) at logic.c:696
696                     if(entity->peer && entity->peer->key.s)
(gdb) bt
#0  0xb7d06791 in b2b_logic_notify (src=0, msg=0x81bf7f0, key=0xbf86b418, type=0, param=0x97d07f78) at logic.c:696
#1  0xb7d07f96 in b2b_server_notify (msg=0x81bf7f0, key=0xbf86b418, type=0, param=0x97d07f78) at logic.c:918
#2  0xb7d16b68 in b2b_prescript_f (msg=0x81bf7f0, uparam=0x0) at dlg.c:444
#3  0x080b6bda in exec_pre_req_cb (msg=0x81bf7f0) at script_cb.c:155
#4  0x0809f4f4 in receive_msg (
    buf=0x8191280 "CANCEL sip:15167973100 at 216.86.152.88 SIP/2.0\r\nVia: SIP/2.0/UDP 38.99.108.126;branch=z9hG4bK9193.37a1e097.1\r\nFrom: \"V0919141542006817107\"<sip:8664606632 at 206.123.79.110:5060>;tag=bb70c027\r\nCall-ID: ZWFi"..., len=362,
    rcv_info=0xbf86b4e4) at receive.c:156
#5  0x080e5bed in udp_rcv_loop () at udp_server.c:490
#6  0x08072096 in main (argc=5, argv=0xbf86b6e4) at main.c:818


----------------------------------------------------------------------

>Comment By: Sergey Okhapkin (sokhapkin)
Date: 2009-09-20 14:36

Message:
One more coredump:

Core was generated by `/usr/local/sbin/opensips -P /var/run/opensips.pid
-m 512'.
Program terminated with signal 11, Segmentation fault.
#0  0xb7dd1f15 in b2b_client_build_dlg (dlg=0x97dff038, leg=0x0) at
client.c:229
229             td->id.rem_tag = leg->tag;
(gdb) bt
#0  0xb7dd1f15 in b2b_client_build_dlg (dlg=0x97dff038, leg=0x0) at
client.c:229
#1  0xb7dd39d3 in b2b_client_dlg (dlg=0x97dff038) at dlg.c:888
#2  0xb7dd6f13 in b2b_send_request (et=B2B_CLIENT, b2b_key=0x97e071f0,
method=0xbf863144, extra_headers=0x0, body=0x0)
    at dlg.c:1003
#3  0xb7dc75af in b2b_logic_notify (src=0, msg=0x81bf7f0, key=0xbf863308,
type=0, param=0x97dc9ec8) at logic.c:697
#4  0xb7dc8fa8 in b2b_server_notify (msg=0x81bf7f0, key=0xbf863308,
type=0, param=0x97dc9ec8) at logic.c:918
#5  0xb7dd7b68 in b2b_prescript_f (msg=0x81bf7f0, uparam=0x0) at
dlg.c:444
#6  0x080b6bda in exec_pre_req_cb (msg=0x81bf7f0) at script_cb.c:155
#7  0x0809f4f4 in receive_msg (
    buf=0x8191280 "ACK sip:0011101355682700402 at sip.voxbeam.com
SIP/2.0\r\nVia: SIP/2.0/UDP
38.99.108.126;branch=z9hG4bK0053.e71e8485.0\r\nFrom: \"12486356887\"
<sip:12486356887 at 38.99.70.226>;tag=as64f545f3\r\nCall-ID: 0fa19b8f2"...,
len=386,
    rcv_info=0xbf8633d4) at receive.c:156
#8  0x080e5bed in udp_rcv_loop () at udp_server.c:490
#9  0x08072096 in main (argc=5, argv=0xbf8635d4) at main.c:818
(gdb) 

----------------------------------------------------------------------

Comment By: Sergey Okhapkin (sokhapkin)
Date: 2009-09-19 14:41

Message:
In real world entity variable could be NULL.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2862280&group_id=232389



More information about the Devel mailing list