[sr-dev] [kamailio/kamailio] dispatcher: kamailio-devel segfaults on ping (#859)

Timmo Verlaan notifications at github.com
Tue Nov 15 10:30:17 CET 2016


Here is the actual debug output :-)

```
#0  run_onsend (orig_msg=orig_msg at entry=0x0, dst=dst at entry=0x7f70720bde60, buf=<optimized out>, len=<optimized out>) at ../../onsend.h:80
        onsnd_info = {to = 0x7f70720bde68, send_sock = 0x7f707a285ba8,
          buf = 0x7f70720bf2a8 "OPTIONS sip:10.0.20.191:5062;transport=udp SIP/2.0\r\nVia: SIP/2.0/UDP 10.0.20.193:5021;branch=z9hG4bK673d.161b70b", '0' <repeats 25 times>, ".0\r\nTo: <sip:10.0.20.191:5062;transport=udp>\r\nFrom: <sip:dispat"...,
          len = 411, msg = 0x0}
        ret = 1
        ra_ctx = {rec_lev = 1913380352, run_flags = 32624, last_retcode = 48, jmp_env = {{__jmpbuf = {140730243347504, 140730243347248, 140730243348000, 140120926445056, 54134, 21, 26318, 7368058}, __mask_was_saved = 1913380448, __saved_mask = {
                __val = {0, 140730243347552, 140730243347704, 7368058, 21, 140120926445072, 10875460, 140121027388988, 140121062554736, 4294967295, 4294967295, 140120926350396, 21, 411, 140120926450344, 10877216}}}}}
        bctx = <optimized out>
        backup_route_type = 1
        fwd_snd_flags_bak = <optimized out>
        rpl_snd_flags_bak = <optimized out>
        keng = 0x0
#1  0x00007f7078e1bf00 in send_prepared_request_impl (request=<optimized out>, retransmit=retransmit at entry=1, branch=branch at entry=0) at uac.c:618
        t = 0x7f70720bdbf8
        p_msg = 0x0
        uac = 0x7f70720bde00
        ip = {af = 2, len = 4, u = {addrl = {3205758986, 140730243347728}, addr32 = {3205758986, 0, 1344926992, 32766}, addr16 = {10, 48916, 0, 0, 62736, 20521, 32766, 0}, addr = "\n\000\024\277\000\000\000\000\020\365)P\376\177\000"}}
        ret = <optimized out>
        __func__ = "send_prepared_request_impl"
#2  0x00007f7078e22a37 in t_uac_with_ids (uac_r=uac_r at entry=0x7ffe5029f620, ret_index=ret_index at entry=0x0, ret_label=ret_label at entry=0x0) at uac.c:683
        request = 0x7f70720bde10
        cell = 0x7f70720bdbf8
        ret = 1
        is_ack = <optimized out>
        branch_ret = <optimized out>
        i = 0
        added_branches = 1
#3  0x00007f7078e22b29 in t_uac (uac_r=uac_r at entry=0x7ffe5029f620) at uac.c:658
No locals.
#4  0x00007f7078e271d7 in request (uac_r=0x7ffe5029f620, ruri=<optimized out>, to=<optimized out>, from=<optimized out>, next_hop=<optimized out>) at uac.c:1005
        callid = {s = 0x7f70790a6700 <callid_buf> "16f83c1827128151-26318 at 10.0.20.193", len = 34}
        fromtag = {s = 0x7f70790a65e0 <from_tag> "67a6bee51647e3e1ce6833e5724e26f7-c9ed", len = 37}
        dialog = 0x7f70720bd868
        res = <optimized out>
        __func__ = "request"
#5  0x00007f7076076db1 in ds_ping_set (node=0x7f70720a5620) at dispatch.c:2887
        uac_r = {method = 0x7f70762975b0 <ds_ping_method>, headers = 0x0, body = 0x0, ssock = 0x7f70720a41f0, dialog = 0x7f70720bd868, cb_flags = 1024, cb = 0x7f707607fb80 <ds_options_callback>, cbp = 0x1f, callid = 0x0}
        i = 2
        j = 0
        __func__ = "ds_ping_set"
#6  0x00007f7076076c00 in ds_ping_set (node=0x7f70720a5c08) at dispatch.c:2863
        uac_r = {method = 0x0, headers = 0x0, body = 0xffffffffffff0000, ssock = 0xffffffffffffffff, dialog = 0x0, cb_flags = 0, cb = 0x0, cbp = 0x0, callid = 0x0}
        i = 1
        j = <optimized out>
        __func__ = "ds_ping_set"
#7  0x00007f7076076c00 in ds_ping_set (node=0x7f70720a3df0) at dispatch.c:2863
        uac_r = {method = 0xffffffff, headers = 0x706d7a, body = 0x7f7075e39d80, ssock = 0x15, dialog = 0x6bca4aae, cb_flags = 5169481, cb = 0xaaa6c0 <is_ctx>, cbp = 0x7f707aa6ed96 <srandom_r+198>, callid = 0x0}
        i = 1
        j = <optimized out>
        __func__ = "ds_ping_set"
```

-- 
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/859#issuecomment-260591083
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20161115/4ab72033/attachment-0001.html>


More information about the sr-dev mailing list