[OpenSIPS-Users] opensips crash help

Vic Jolin adjolin at gmail.com
Thu Sep 17 02:04:44 EST 2020


Helo,

Can anyone help me know why opensips crashing? The last core dump backtrace
is as follows...


#0  0x00007f6cc4be5786 in shm_str_dup (src=0x7f6d78ed64d8, dst=<optimized
out>) at ../../ut.h:736
No locals.
#1  dlg_clone_callee_leg (dlg=dlg at entry=0x7f6d72b45050,
cloned_leg_idx=cloned_leg_idx at entry=6) at dlg_hash.c:381
        leg = <optimized out>
        src_leg = 0x7f6d78ed6430
        __FUNCTION__ = "dlg_clone_callee_leg"
#2  0x00007f6cc4bc0789 in push_reply_in_dialog (mangled_to=0x7ffe582be640,
mangled_from=0x7ffe582be630, dlg=<optimized out>, t=<optimized out>,
rpl=<optimized out>) at dlg_handlers.c:378
        tag = {
          s = 0x9fa969 <buf.9712+329> "9vSgcj14FDcgK\r\
ni:79d3534763616c6c035dce54 at 204.12.243.26\r\nCSeq:2140 INVITE\r\nm:<
sip:121715033630830 at 68.232.175.241;did=64f.ada21875>\r\nUser-Agent:VeriSwitch
3.1\r\nAccept:application/sdp\r\nAllow:INVITE,ACK,"..., len = 13}
        contact = {s = 0x0, len = 0}
        rr_set = {s = 0x0, len = 0}
        skip_rrs = 0
        cseq_no = <optimized out>
        leg = 6
#3  dlg_onreply (t=<optimized out>, type=<optimized out>, param=<optimized
out>) at dlg_handlers.c:482
        rpl = <optimized out>
        req = <optimized out>
        dlg = <optimized out>
        new_state = 0
        old_state = 10463593
        unref = 0
        event = <optimized out>
        mangled_from = {s = 0x0, len = 0}
        mangled_to = {s = 0x0, len = 0}
        req_out_buff = <optimized out>
        __FUNCTION__ = "dlg_onreply"
#4  0x00007f6cc8e1114d in run_trans_callbacks (type=type at entry=8,
trans=trans at entry=0x7f6d77bf7bd8, req=<optimized out>,
rpl=rpl at entry=0x7f6d86b01b18,
code=code at entry=180) at t_hooks.c:209
        params = {req = 0x7f6d771a42b0, rpl = 0x7f6d86b01b18, code = 180,
param = 0x7f6d11618c88, extra1 = 0x0, extra2 = 0x0}
        cbp = 0x7f6d11618c78
        backup = 0x9d3b18 <global_avps>
        trans_backup = 0x7f6d77bf7bd8
        __FUNCTION__ = "run_trans_callbacks"
#5  0x00007f6cc8dc4cc0 in relay_reply (t=0x7f6d77bf7bd8, p_msg=<optimized
out>, branch=5, msg_status=180, cancel_bitmap=0x7ffe582be8b0) at
t_reply.c:1275
        relay = 5
        save_clone = 0
        buf = 0x0
        res_len = 0
        relayed_code = 0
        relayed_msg = 0x7f6d86b01b18
        bm = {to_tag_val = {s = 0x7f6d86b01b18 "=\345\036", len =
-2032300008}}
        totag_retr = 0
        uas_rb = 0x7f6d77bf7cd8
        cb_s = {s = 0x0, len = 0}
        text = {s = 0x7f6d86b01b18 "=\345\036", len = 0}
        __FUNCTION__ = "relay_reply"
#6  0x00007f6cc8dc890c in reply_received (p_msg=0x7f6d86b01b18) at
t_reply.c:1638
        msg_status = 180
        last_uac_status = 100
        branch = 5
        reply_status = <optimized out>
        timer = 0
        cancel_bitmap = 0
        uac = 0x7f6d77bf87b0
        t = 0x7f6d77bf7bd8
        backup_list = <optimized out>
        has_reply_route = <optimized out>
        __FUNCTION__ = "reply_received"
#7  0x00000000004997cd in forward_reply (msg=msg at entry=0x7f6d86b01b18) at
forward.c:499
        new_buf = 0x0
---Type <return> to continue, or q <return> to quit---
        to = 0x0
        new_len = 2259688216
        mod = 0x7f6d86a98588
        proto = <optimized out>
        id = 0
        send_sock = <optimized out>
        s = <optimized out>
        len = <optimized out>
        __FUNCTION__ = "forward_reply"
#8  0x0000000000470b67 in receive_msg (
    buf=0x9fa820 <buf.9712> "SIP/2.0 180 Ringing\r\nVia: SIP/2.0/UDP
104.237.1.164:5060;branch=z9hG4bK0052.21e14e5.5\r\nVia: SIP/2.0/UDP
204.12.243.26:5060;branch=z9hG4bK48d9fd741d6c5597\r\nRecord-Route:
<sip:104.237.1.164;lr;ftag=0972"..., len=<optimized out>,
rcv_info=rcv_info at entry=0x7ffe582bea70,
existing_context=existing_context at entry=0x0, flags=flags at entry=0) at
receive.c:259
        ctx = 0x7f6d86b00db8
        msg = 0x7f6d86b01b18
        start = {tv_sec = 24, tv_usec = 138584260000}
        rc = 3
        in_buff = {
          s = 0x9fa820 <buf.9712> "SIP/2.0 180 Ringing\r\nVia: SIP/2.0/UDP
104.237.1.164:5060;branch=z9hG4bK0052.21e14e5.5\r\nVia: SIP/2.0/UDP
204.12.243.26:5060;branch=z9hG4bK48d9fd741d6c5597\r\nRecord-Route:
<sip:104.237.1.164;lr;ftag=0972"..., len = 630}
        __FUNCTION__ = "receive_msg"
#9  0x0000000000635e9e in udp_read_req (si=<optimized out>,
bytes_read=<optimized out>) at net/proto_udp/proto_udp.c:184
        ri = {src_ip = {af = 2, len = 4, u = {addrl = {4054837316, 0},
addr32 = {4054837316, 0, 0, 0}, addr16 = {59460, 61871, 0, 0, 0, 0, 0, 0},
addr = "D\350\257\361", '\000' <repeats 11 times>}}, dst_ip = {af = 2, len
= 4, u = {
              addrl = {2751589736, 0}, addr32 = {2751589736, 0, 0, 0},
addr16 = {60776, 41985, 0, 0, 0, 0, 0, 0}, addr = "h\355\001\244", '\000'
<repeats 11 times>}}, src_port = 5060, dst_port = 5060, proto = 1,
proto_reserved1 = 0,
          proto_reserved2 = 0, src_su = {s = {sa_family = 2, sa_data =
"\023\304D\350\257\361\000\000\000\000\000\000\000"}, sin = {sin_family =
2, sin_port = 50195, sin_addr = {s_addr = 4054837316},
              sin_zero = "\000\000\000\000\000\000\000"}, sin6 =
{sin6_family = 2, sin6_port = 50195, sin6_flowinfo = 4054837316, sin6_addr
= {__in6_u = {__u6_addr8 =
"\000\000\000\000\000\000\000\000\377\377\377\377\000\000\000",
                  __u6_addr16 = {0, 0, 0, 0, 65535, 65535, 0, 0},
__u6_addr32 = {0, 0, 4294967295, 0}}}, sin6_scope_id = 1}}, bind_address =
0x7f6d86a97cf8}
        len = <optimized out>
        buf = "SIP/2.0 180 Ringing\r\nVia: SIP/2.0/UDP
104.237.1.164:5060;branch=z9hG4bK0052.21e14e5.5\r\nVia:
SIP/2.0/UDP 204.12.243.26:5060;branch=z9hG4bK48d9fd741d6c5597\r\nRecord-Route:
<sip:104.237.1.164;lr;ftag=0972"...
        fromlen = 16
        p = <optimized out>
        msg = {
          s = 0x9fa820 <buf.9712> "SIP/2.0 180 Ringing\r\nVia: SIP/2.0/UDP
104.237.1.164:5060;branch=z9hG4bK0052.21e14e5.5\r\nVia: SIP/2.0/UDP
204.12.243.26:5060;branch=z9hG4bK48d9fd741d6c5597\r\nRecord-Route:
<sip:104.237.1.164;lr;ftag=0972"..., len = 630}
        __FUNCTION__ = "udp_read_req"
#10 0x0000000000601f4b in handle_io (idx=<optimized out>,
event_type=<optimized out>, fm=<optimized out>) at net/net_udp.c:272
        n = <optimized out>
        read = 32621
#11 io_wait_loop_epoll (repeat=<optimized out>, t=<optimized out>,
h=<optimized out>) at net/../io_wait_loop.h:284
        ret = 1
        n = 1
        r = 0
        i = <optimized out>
        e = <optimized out>
        ep_event = {events = 0, data = {ptr = 0x9d3d2000000000, fd = 0, u32
= 0, u64 = 44258778991820800}}
        fd = <optimized out>
#12 0x0000000000607f87 in udp_start_processes (chd_rank=chd_rank at entry=0x9d3d20
<chd_rank.13387>, startup_done=startup_done at entry=0x0) at net/net_udp.c:496
        si = <optimized out>
        p_id = <optimized out>
        i = <optimized out>
        __FUNCTION__ = "udp_start_processes"
#13 0x000000000041e72f in main_loop () at main.c:797
        startup_done = 0x0
        chd_rank = 6
        last_check = 0
        rc = <optimized out>
#14 main (argc=<optimized out>, argv=<optimized out>) at main.c:1482
        c = <optimized out>
        r = 0
        tmp = 0x7ffe582c0742 ""
        tmp_len = <optimized out>
---Type <return> to continue, or q <return> to quit---
        port = <optimized out>
        proto = <optimized out>
        protos_no = <optimized out>
        options = 0x664688
"f:cCm:M:b:l:n:N:rRvdDFEVhw:t:u:g:p:P:G:W:o:a:k:s:"
        ret = -1
        seed = 2352929151
        rfd = <optimized out>
        __FUNCTION__ = "main"
(gdb)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20200917/7181b013/attachment-0001.html>


More information about the Users mailing list