<h3>Description</h3>
<p>We have a Kamailio running and it crash randomly when trys to execute redis commands.</p>
<h3>Troubleshooting</h3>
<h4>Debugging Data</h4>
<pre><code>GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-114.el7
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/sbin/kamailio...Reading symbols from /usr/lib/debug/usr/sbin/kamailio.debug...done.
done.
[New LWP 31386]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/sbin/kamailio -P /run/kamailio/kamailio.pid -f /etc/kamailio/kamailio.cfg'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007fb5bc86a5f8 in __memcpy_ssse3_back () from /lib64/libc.so.6
Missing separate debuginfos, use: debuginfo-install cyrus-sasl-lib-2.1.26-20.el7_2.x86_64 glibc-2.17-196.el7.x86_64 hiredis-0.12.1-1.el7.x86_64 json-c-0.11-4.el7_0.x86_64 keyutils-libs-1.5.8-3.el7.x86_64 krb5-libs-1.15.1-8.el7.x86_64 libcom_err-1.42.9-9.el7.x86_64 libev-4.15-7.el7.x86_64 libevent-2.0.21-4.el7.x86_64 libselinux-2.5-6.el7.x86_64 libuuid-2.23.2-33.el7_3.2.x86_64 libxml2-2.9.1-6.el7_2.3.x86_64 nspr-4.13.1-1.0.el7_3.x86_64 nss-3.28.4-1.2.el7_3.x86_64 nss-softokn-freebl-3.28.3-8.el7_4.x86_64 nss-util-3.28.4-1.0.el7_3.x86_64 openldap-2.4.40-13.el7.x86_64 openssl-libs-1.0.1e-60.el7_3.1.x86_64 pcre-8.32-15.el7_2.1.x86_64 postgresql96-libs-9.6.5-1PGDG.rhel7.x86_64 xz-libs-5.2.2-1.el7.x86_64 zlib-1.2.7-17.el7.x86_64
(gdb) bk full
Undefined command: "bk".  Try "help".
(gdb) bt full
#0  0x00007fb5bc86a5f8 in __memcpy_ssse3_back () from /lib64/libc.so.6
No symbol table info available.
#1  0x00007fb5b00e692a in sdscatlen () from /lib64/libhiredis.so.0.12
No symbol table info available.
#2  0x00007fb5b00e51f3 in redisvFormatCommand () from /lib64/libhiredis.so.0.12
No symbol table info available.
#3  0x00007fb5b00e6312 in redisvAppendCommand () from /lib64/libhiredis.so.0.12
No symbol table info available.
#4  0x00007fb5b00e6519 in redisvCommand () from /lib64/libhiredis.so.0.12
No symbol table info available.
#5  0x00007fb5b02f51d7 in redisc_exec (srv=0x7ffd82728400, res=0x7ffd82728420, cmd=0x7ffd82728410) at redis_client.c:386
        rsrv = 0x7fb5b4745118
        rpl = 0x7fb5b4eaa5a0
        c = 0 '\000'
        ap = {{gp_offset = 48, fp_offset = 48, overflow_arg_area = 0x7ffd827283c8, reg_save_area = 0x7ffd827282d0}}
        ap2 = {{gp_offset = 24, fp_offset = 48, overflow_arg_area = 0x7ffd827283c0, reg_save_area = 0x7ffd827282d0}}
        __FUNCTION__ = "redisc_exec"
#6  0x00007fb5b02f8bd0 in w_redis_cmd3 (msg=0x7fb5b4f18bb8, ssrv=0x7fb5b4d46330 "P\321贵\177", scmd=0x7fb5b4d463b0 "\220\272贵\177", sres=0x7fb5b4d3cf18 "\020\262贵\177") at ndb_redis_mod.c:157
        s = {{s = 0x7fb5b4e8d150 "srv0", len = 4}, {s = 0x7fb5b47349e8 "HDEL calls@nos.ventask.gw.gotelecom.pt 0%bW7101115050H%beGhEfDmAjC0f@LOS30.INTIMS.NOS.PT", len = 88}, {s = 0x7fb5b4e8b210 "r", len = 1}}
        __FUNCTION__ = "w_redis_cmd3"
#7  0x0000000000572a9e in do_action (h=0x7ffd82728b90, a=0x7fb5b4e8b6d8, msg=0x7fb5b4f18bb8) at action.c:1072
        ret = -5
        v = 1
        dst = {send_sock = 0x0, to = {s = {sa_family = 65535, sa_data = "\377\377\377\377\377\377\210iv\274\265\177\000"}, sin = {sin_family = 65535, sin_port = 65535, sin_addr = {s_addr = 4294967295},
              sin_zero = "\210iv\274\265\177\000"}, sin6 = {sin6_family = 65535, sin6_port = 65535, sin6_flowinfo = 4294967295, sin6_addr = {__in6_u = {__u6_addr8 = "\210iv\274\265\177\000\000\002\000\000\000\375\177\000",
                  __u6_addr16 = {27016, 48246, 32693, 0, 2, 0, 32765, 0}, __u6_addr32 = {3161876872, 32693, 2, 32765}}}, sin6_scope_id = 2188544368}}, id = 32765, proto = 0 '\000', send_flags = {f = 0 '\000', blst_imask = 0 '\000'}}
        tmp = 0x0
        new_uri = 0x0
        end = 0x7fb5b3e99198 ""
        crt = 0x0
        cmd = 0x7fb5b4744970
        len = 32765
        user = -2106410192
        uri = {user = {s = 0x0, len = -1243959280}, passwd = {s = 0x7fb5b4f10052 "", len = 0}, host = {s = 0x3000000018 <Address 0x3000000018 out of bounds>, len = -2106421808}, port = {s = 0x7ffd82728d10 "\303\r", len = 82}, params = {
            s = 0x52 <Address 0x52 out of bounds>, len = 0}, sip_params = {s = 0x7ffd827289c0 "@\212r\202\375\177", len = 1793148052}, headers = {s = 0x0, len = 0}, port_no = 0, proto = 0, type = ERROR_URI_T,
          flags = (unknown: 2188544688), transport = {s = 0x7ffd82728da0 "P\267\020\266\265\177", len = -2106421872}, ttl = {s = 0x7fb5b3e938d7 " ", len = -1276539403}, user_param = {s = 0x7fb5b3e938cf "%s%.*s%s ", len = -1133096311},
          maddr = {
            s = 0xa13b02 <buf.6635+258> "user=phone>;tag=eQDy7ZZjy4gte\r\nTo: <sip:+351938376228@ims.sonae.com;user=phone>;tag=07021343700064\r\nCall-ID: 0%bW7101115050H%beGhEfDmAjC0f@LOS30.INTIMS.NOS.PT\r\nCSeq: 135943 BYE\r\nUser-Agent: FSCloudIPB"..., len = 36}, method = {s = 0x4 <Address 0x4 out of bounds>, len = 0}, lr = {
            s = 0x7fb576b122e0 "INVITE sip:351212441162@10.255.169.10 SIP/2.0\r\nRecord-Route: <sip:10.255.169.30;lr=on;ftag=1eDX9NH796pej;did=0af.02b1>\r\nVia: SIP/2.0/UDP 10.255.169.30;branch=z9hG4bKeb15.a765ea6f2f46694012a1d69da7cf56"..., len = 6}, r2 = {s = 0x4 <Address 0x4 out of bounds>, len = 0}, gr = {s = 0x7fb56ae27691 "", len = -2106423024}, transport_val = {s = 0x7ffd827288d0 "\330\070鳵\177", len = 0}, ttl_val = {
            s = 0x7fb5b4ed7320 "udp:10.255.169.30:5060", len = 0}, user_param_val = {s = 0x7ffd82728e40 "Џr\202\375\177", len = -2106421712}, maddr_val = {s = 0xa <Address 0xa out of bounds>, len = -2106421336}, method_val = {
            s = 0x7fb5b3e9918e ") values (", len = -1133096311}, lr_val = {s = 0x7fb5bc766988 <vfprintf+6152> "\200\275", len = 0}, r2_val = {s = 0x0, len = 0}, gr_val = {s = 0x0, len = 0}}
        next_hop = {user = {s = 0x7fb5b3e93657 "", len = 6}, passwd = {s = 0x7fb5b3e93654 "%-d", len = -1133096311}, host = {s = 0x7fb5b3e94450 "core", len = -1}, port = {s = 0x7fb5b3e9512e <__FUNCTION__.4332> "db_free_result",
            len = -1276557688}, params = {s = 0x7fb5b5dab010 "", len = -1267609584}, sip_params = {s = 0x7ffd8272bb30 "\017", len = -1243959280}, headers = {s = 0x0, len = -2106423552}, port_no = 27016, proto = 48246, type = 32693,
          flags = (unknown: 3027357712), transport = {s = 0x7ffd82728900 "", len = 0}, ttl = {s = 0xfffffffffffffffa <Address 0xfffffffffffffffa out of bounds>, len = 0}, user_param = {s = 0x25394 <Address 0x25394 out of bounds>,
            len = 0}, maddr = {s = 0x7ffd82728620 "\224S\002", len = 0}, method = {s = 0x7ffd00000000 <Address 0x7ffd00000000 out of bounds>, len = 1}, lr = {s = 0x7ffd7fffffff <Address 0x7ffd7fffffff out of bounds>, len = 0}, r2 = {
            s = 0x7ffd00000006 <Address 0x7ffd00000006 out of bounds>, len = 0}, gr = {s = 0x0, len = -1}, transport_val = {s = 0x7fb5bc766988 <vfprintf+6152> "\200\275", len = 0}, ttl_val = {s = 0x7fb5b4f191e8 "", len = -2106410192},
          user_param_val = {s = 0x0, len = -1276561836}, maddr_val = {s = 0x0, len = 6}, method_val = {s = 0x7fb5b3e93657 "", len = 0}, lr_val = {s = 0x0, len = 0}, r2_val = {s = 0xc6b02b220 <Address 0xc6b02b220 out of bounds>,
            len = -2106423424}, gr_val = {s = 0x7ffd82728900 "", len = -1259505136}}
        u = 0x7fb5b4f191e8
        port = 0
        dst_host = 0x7ffd82728fc0
        i = -1259236832
        flags = 32765
        avp = 0x0
        st = {flags = 3035730408, id = 4, name = {n = -1276558256, s = {s = 0x7fb5b3e94450 "core", len = 0}, re = 0x7fb5b3e94450}, avp = 0x0}
        sct = 0x7fb5bc766988 <vfprintf+6152>
        sjt = 0x0
        rve = 0x7fb5b4f191e8
        mct = 0x20
        rv = 0x64ff19 <fm_free+4159>
---Type <return> to continue, or q <return> to quit---
        rv1 = 0x7ffd00000001
        c1 = {cache_type = 3051007944, val_type = 32693, c = {avp_val = {n = -1267609584, s = {s = 0x7fb5b471d010 "\001", len = 0}, re = 0x7fb5b471d010}, pval = {rs = {s = 0x7fb5b471d010 "\001", len = 0}, ri = 7964281, flags = 22}},
          i2s = "\000\000\000\000\000\000\000\000\270\071\f\266\265\177\000\000\060\206r\202\375\177"}
        s = {s = 0x94 <Address 0x94 out of bounds>, len = -1267609584}
        srevp = {0x19f0358, 0x8}
        mod_f_params = {{type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0, select = 0x0}}, {type = NUMBER_ST, u = {number = 1, string = 0x1 <Address 0x1 out of bounds>, str = {
                s = 0x1 <Address 0x1 out of bounds>, len = 0}, data = 0x1, attr = 0x1, select = 0x1}}, {type = RVE_FREE_FIXUP_ST, u = {number = 0, string = 0x0, str = {s = 0x0, len = 38}, data = 0x0, attr = 0x0, select = 0x0}}, {
            type = RVE_FREE_FIXUP_ST, u = {number = 0, string = 0x0, str = {s = 0x0, len = 1}, data = 0x0, attr = 0x0, select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0,
              select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0, select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0,
              attr = 0x0, select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0, select = 0x0}}}
        __FUNCTION__ = "do_action"
#8  0x000000000057f07c in run_actions (h=0x7ffd82728b90, a=0x7fb5b4e8a378, msg=0x7fb5b4f18bb8) at action.c:1549
        t = 0x7fb5b4e8b6d8
        ret = 1
        mod = 0x7fb56fcc1000
        ms = 0
        __FUNCTION__ = "run_actions"
#9  0x000000000057f801 in run_top_route (a=0x7fb5b4e8a378, msg=0x7fb5b4f18bb8, c=0x0) at action.c:1635
        ctx = {rec_lev = 1, run_flags = 0, last_retcode = 1, jmp_env = {{__jmpbuf = {336012649, -2174460352084716979, 4288336, 140726792010544, 0, 0, -2174460352147631539, 2173487778003276365}, __mask_was_saved = 0, __saved_mask = {
                __val = {140417185257536, 140417244383280, 6285309008, 140726791998800, 140417184833887, 140417185309280, 140417185293887, 4294968940, 140417354935744, 140417355447144, 134803662698136, 140417244497768, 140417227416472,
                  6284606240, 336012649, 25774092112}}}}}
        p = 0x7ffd82728b90
        ret = 0
        sfbk = 0
#10 0x00007fb56c6ee287 in dlg_run_event_route (dlg=0x7fb5768fadc0, msg=0x7fb5b4f18bb8, ostate=4, nstate=5) at dlg_handlers.c:1651
        fmsg = 0x7fb5b4f18bb8
        rt = 4
        bkroute = 1
        h_entry = 3523
        h_id = 11797
        dlg0 = 0x0
        __FUNCTION__ = "dlg_run_event_route"
#11 0x00007fb56c6ea5a9 in dlg_onroute (req=0x7fb5b4f18bb8, route_params=0x7ffd82728fd0, param=0x0) at dlg_handlers.c:1318
        dlg = 0x7fb5768fadc0
        iuid = 0x0
        val = {
          s = 0xa13abf <buf.6635+191> "3cd.51e2>\r\nMax-Forwards: 69\r\nFrom: <sip:351212441162@ims.sonae.com;user=phone>;tag=eQDy7ZZjy4gte\r\nTo: <sip:+351938376228@ims.sonae.com;user=phone>;tag=07021343700064\r\nCall-ID: 0%bW7101115050H%beGhEfDm"..., len = 8}
        callid = {
          s = 0xa13b6f <buf.6635+367> "0%bW7101115050H%beGhEfDmAjC0f@LOS30.INTIMS.NOS.PT\r\nCSeq: 135943 BYE\r\nUser-Agent: FSCloudIPBX-sip_finesource/1.6.19gitb1b21d0~64bit\r\nAllow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REG"..., len = 49}
        ftag = {
          s = 0xa13b12 <buf.6635+274> "eQDy7ZZjy4gte\r\nTo: <sip:+351938376228@ims.sonae.com;user=phone>;tag=07021343700064\r\nCall-ID: 0%bW7101115050H%beGhEfDmAjC0f@LOS30.INTIMS.NOS.PT\r\nCSeq: 135943 BYE\r\nUser-Agent: FSCloudIPBX-sip_finesource"..., len = 13}
        ttag = {
          s = 0xa13b56 <buf.6635+342> "07021343700064\r\nCall-ID: 0%bW7101115050H%beGhEfDmAjC0f@LOS30.INTIMS.NOS.PT\r\nCSeq: 135943 BYE\r\nUser-Agent: FSCloudIPBX-sip_finesource/1.6.19gitb1b21d0~64bit\r\nAllow: INVITE, ACK, BYE, CANCEL, OPTIONS, M"..., len = 14}
        h_entry = 3523
        h_id = 11797
        new_state = 5
        old_state = 4
        unref = 1
        event = 7
        timeout = -2106421408
        reset = 0
        dir = 2
        ret = 0
        __FUNCTION__ = "dlg_onroute"
#12 0x00007fb56e5b9d4a in run_rr_callbacks (req=0x7fb5b4f18bb8, rr_param=0x7ffd82729070) at rr_cb.c:96
        l_param = {
          s = 0xa13aa1 <buf.6635+161> "lr=on;ftag=07021343700064;did=3cd.51e2>\r\nMax-Forwards: 69\r\nFrom: <sip:351212441162@ims.sonae.com;user=phone>;tag=eQDy7ZZjy4gte\r\nTo: <sip:+351938376228@ims.sonae.com;user=phone>;tag=07021343700064\r\nCal"..., len = 38}
---Type <return> to continue, or q <return> to quit---
        cbp = 0x7fb5b4eeb098
        __FUNCTION__ = "run_rr_callbacks"
#13 0x00007fb56e5c9d6d in after_loose (_m=0x7fb5b4f18bb8, preloaded=0) at loose.c:928
        hdr = 0x7fb5b60ec508
        puri = {user = {s = 0x0, len = 0}, passwd = {s = 0x0, len = 0}, host = {
            s = 0xa13a93 <buf.6635+147> "10.255.169.30;lr=on;ftag=07021343700064;did=3cd.51e2>\r\nMax-Forwards: 69\r\nFrom: <sip:351212441162@ims.sonae.com;user=phone>;tag=eQDy7ZZjy4gte\r\nTo: <sip:+351938376228@ims.sonae.com;user=phone>;tag=07021"..., len = 13}, port = {s = 0x0, len = 0}, params = {
            s = 0xa13aa1 <buf.6635+161> "lr=on;ftag=07021343700064;did=3cd.51e2>\r\nMax-Forwards: 69\r\nFrom: <sip:351212441162@ims.sonae.com;user=phone>;tag=eQDy7ZZjy4gte\r\nTo: <sip:+351938376228@ims.sonae.com;user=phone>;tag=07021343700064\r\nCal"..., len = 38}, sip_params = {
            s = 0xa13aa1 <buf.6635+161> "lr=on;ftag=07021343700064;did=3cd.51e2>\r\nMax-Forwards: 69\r\nFrom: <sip:351212441162@ims.sonae.com;user=phone>;tag=eQDy7ZZjy4gte\r\nTo: <sip:+351938376228@ims.sonae.com;user=phone>;tag=07021343700064\r\nCal"..., len = 38}, headers = {s = 0x0, len = 0}, port_no = 0, proto = 0, type = SIP_URI_T, flags = (unknown: 0), transport = {s = 0x0, len = 0}, ttl = {s = 0x0, len = 0}, user_param = {s = 0x0, len = 0}, maddr = {s = 0x0,
            len = 0}, method = {s = 0x0, len = 0}, lr = {
            s = 0xa13aa1 <buf.6635+161> "lr=on;ftag=07021343700064;did=3cd.51e2>\r\nMax-Forwards: 69\r\nFrom: <sip:351212441162@ims.sonae.com;user=phone>;tag=eQDy7ZZjy4gte\r\nTo: <sip:+351938376228@ims.sonae.com;user=phone>;tag=07021343700064\r\nCal"..., len = 5}, r2 = {s = 0x0, len = 0}, gr = {s = 0x0, len = 0}, transport_val = {s = 0x0, len = 0}, ttl_val = {s = 0x0, len = 0}, user_param_val = {s = 0x0, len = 0}, maddr_val = {s = 0x0, len = 0}, method_val = {s = 0x0,
            len = 0}, lr_val = {
            s = 0xa13aa4 <buf.6635+164> "on;ftag=07021343700064;did=3cd.51e2>\r\nMax-Forwards: 69\r\nFrom: <sip:351212441162@ims.sonae.com;user=phone>;tag=eQDy7ZZjy4gte\r\nTo: <sip:+351938376228@ims.sonae.com;user=phone>;tag=07021343700064\r\nCall-I"..., len = 2}, r2_val = {s = 0x0, len = 0}, gr_val = {s = 0x0, len = 0}}
        rt = 0x7fb5b610b258
        res = 1
        status = 1
        uri = {
          s = 0xa13a8f <buf.6635+143> "sip:10.255.169.30;lr=on;ftag=07021343700064;did=3cd.51e2>\r\nMax-Forwards: 69\r\nFrom: <sip:351212441162@ims.sonae.com;user=phone>;tag=eQDy7ZZjy4gte\r\nTo: <sip:+351938376228@ims.sonae.com;user=phone>;tag=0"..., len = 56}
        si = 0x7ffd827292c0
        uri_is_myself = 1
        use_ob = 0
        rparams = {
          s = 0xa13aa1 <buf.6635+161> "lr=on;ftag=07021343700064;did=3cd.51e2>\r\nMax-Forwards: 69\r\nFrom: <sip:351212441162@ims.sonae.com;user=phone>;tag=eQDy7ZZjy4gte\r\nTo: <sip:+351938376228@ims.sonae.com;user=phone>;tag=07021343700064\r\nCal"..., len = 38}
        __FUNCTION__ = "after_loose"
#14 0x00007fb56e5ca3fe in loose_route (_m=0x7fb5b4f18bb8) at loose.c:962
        ret = 0
        __FUNCTION__ = "loose_route"
#15 0x00007fb56e5cda81 in w_loose_route (msg=0x7fb5b4f18bb8, p1=0x0, p2=0x0) at rr_mod.c:265
No locals.
#16 0x00000000005728ef in do_action (h=0x7ffd82729a80, a=0x7fb5b480d208, msg=0x7fb5b4f18bb8) at action.c:1054
        ret = -5
        v = -2106419248
        dst = {send_sock = 0x1, to = {s = {sa_family = 34684, sa_data = "\372o\265\177\000\000\000\000\000\000\000\000\000"}, sin = {sin_family = 34684, sin_port = 28666, sin_addr = {s_addr = 32693},
              sin_zero = "\000\000\000\000\000\000\000"}, sin6 = {sin6_family = 34684, sin6_port = 28666, sin6_flowinfo = 32693, sin6_addr = {__in6_u = {__u6_addr8 = '\000' <repeats 15 times>, __u6_addr16 = {0, 0, 0, 0, 0, 0, 0, 0},
                  __u6_addr32 = {0, 0, 0, 0}}}, sin6_scope_id = 2188548048}}, id = 1, proto = 124 '|', send_flags = {f = 135 '\207', blst_imask = 250 '\372'}}
        tmp = 0x7fb56fcc1000 ""
        new_uri = 0x76ec55 "core: usr_avp.c"
        end = 0xaf00000000 <Address 0xaf00000000 out of bounds>
        crt = 0x40 <Address 0x40 out of bounds>
        cmd = 0x7fb5b4748e48
        len = 0
        user = 7793749
        uri = {user = {s = 0x7ffd82729654 "udp:10.255.169.32:5080", len = 22}, passwd = {
            s = 0xa13b56 <buf.6635+342> "07021343700064\r\nCall-ID: 0%bW7101115050H%beGhEfDmAjC0f@LOS30.INTIMS.NOS.PT\r\nCSeq: 135943 BYE\r\nUser-Agent: FSCloudIPBX-sip_finesource/1.6.19gitb1b21d0~64bit\r\nAllow: INVITE, ACK, BYE, CANCEL, OPTIONS, M"..., len = 14}, host = {s = 0x7ffd82729620 "udp:10.255.169.30:5060", len = 22}, port = {s = 0x322e30313a706475 <Address 0x322e30313a706475 out of bounds>, len = 825111861}, params = {
            s = 0x303630353a30 <Address 0x303630353a30 out of bounds>, len = 0}, sip_params = {s = 0x0, len = 0}, headers = {s = 0x3a70647500000000 <Address 0x3a70647500000000 out of bounds>, len = 841887793}, port_no = 14646,
          proto = 13102, type = 808794674, flags = (unknown: 12344), transport = {s = 0x0, len = 0}, ttl = {s = 0x0, len = 1549379471}, user_param = {s = 0x25394 <Address 0x25394 out of bounds>, len = 82}, maddr = {
            s = 0x7fb5b47e8278 "", len = -1240411568}, method = {s = 0x2982729740 <Address 0x2982729740 out of bounds>, len = 0}, lr = {s = 0x0, len = 336012649}, r2 = {
            s = 0x416f50 <_start> "1\355I\211\321^H\211\342H\203\344\360PTI\307\300`\300q", len = -2106410192}, gr = {s = 0x1600000000 <Address 0x1600000000 out of bounds>, len = -1259238472}, transport_val = {
            s = 0x7ffd82729cf0 "\270\213\361\264\265\177", len = 5690755}, ttl_val = {s = 0xffffffffffffffff <Address 0xffffffffffffffff out of bounds>, len = 6633478}, user_param_val = {
            s = 0x3a70697382729750 <Address 0x3a70697382729750 out of bounds>, len = 10566412}, maddr_val = {s = 0x100000000 <Address 0x100000000 out of bounds>, len = 0}, method_val = {
            s = 0x82729790 <Address 0x82729790 out of bounds>, len = -1240411280}, lr_val = {s = 0x7fb5b610d2f0 "\002;\241", len = 336012649}, r2_val = {s = 0x416f50 <_start> "1\355I\211\321^H\211\342H\203\344\360PTI\307\300`\300q",
            len = -1259238472}, gr_val = {s = 0x7fb5b4d8e240 "9\017", len = -2106412320}}
        next_hop = {user = {s = 0x0, len = -2106419872}, passwd = {s = 0x7ffd82729500 "\360\226r\202\375\177", len = 1793143976}, host = {s = 0xab6b40 <ut_buf_int2str> "", len = 0}, port = {s = 0x7ffd82729620 "udp:10.255.169.30:5060",
            len = 336012649}, params = {s = 0x0, len = -2106419872}, sip_params = {s = 0x416f50 <_start> "1\355I\211\321^H\211\342H\203\344\360PTI\307\300`\300q", len = 1}, headers = {s = 0x0, len = 336012649}, port_no = 28496,
          proto = 65, type = ERROR_URI_T, flags = (unknown: 2188557104), transport = {s = 0x0, len = 0}, ttl = {s = 0x7ffd827296f0 "\360\234r\202\375\177", len = 1793163485}, user_param = {
---Type <return> to continue, or q <return> to quit---
            s = 0xa00000000 <Address 0xa00000000 out of bounds>, len = -1259238472}, maddr = {
            s = 0xa13ad8 <buf.6635+216> "69\r\nFrom: <sip:351212441162@ims.sonae.com;user=phone>;tag=eQDy7ZZjy4gte\r\nTo: <sip:+351938376228@ims.sonae.com;user=phone>;tag=07021343700064\r\nCall-ID: 0%bW7101115050H%beGhEfDmAjC0f@LOS30.INTIMS.NOS.PT"..., len = 2}, method = {s = 0x7fb56d1cf940 "sanity", len = -1240427704}, lr = {s = 0x2a6d1d4eb0 <Address 0x2a6d1d4eb0 out of bounds>, len = 0}, r2 = {s = 0x0, len = -1259238472}, gr = {s = 0x0, len = 0}, transport_val = {
            s = 0x0, len = 0}, ttl_val = {s = 0x0, len = 0}, user_param_val = {s = 0x0, len = 10566144}, maddr_val = {s = 0x2b3 <Address 0x2b3 out of bounds>, len = 10566511}, method_val = {s = 0x31 <Address 0x31 out of bounds>,
            len = 10566144}, lr_val = {s = 0x3 <Address 0x3 out of bounds>, len = 1793226385}, r2_val = {s = 0x0, len = 1793228670}, gr_val = {
            s = 0xa13b12 <buf.6635+274> "eQDy7ZZjy4gte\r\nTo: <sip:+351938376228@ims.sonae.com;user=phone>;tag=07021343700064\r\nCall-ID: 0%bW7101115050H%beGhEfDmAjC0f@LOS30.INTIMS.NOS.PT\r\nCSeq: 135943 BYE\r\nUser-Agent: FSCloudIPBX-sip_finesource"..., len = 13}}
        u = 0x770dd5 <__FUNCTION__.8078>
        port = 0
        dst_host = 0x0
        i = 336012649
        flags = 32765
        avp = 0x76ec50
        st = {flags = 0, id = 0, name = {n = 0, s = {s = 0x0, len = 0}, re = 0x0}, avp = 0x14072569}
        sct = 0x7fb5b47f9cb8
        sjt = 0x7fb56c6bb0e5 <internal_get_dlg+1183>
        rve = 0x7fb5b4f18bb8
        mct = 0x7ffd827298b0
        rv = 0x0
        rv1 = 0x7ffd8272b2e0
        c1 = {cache_type = 1795338928, val_type = 32693, c = {avp_val = {n = -2106419872, s = {s = 0x7ffd82729560 "", len = 1795338960}, re = 0x7ffd82729560}, pval = {rs = {s = 0x7ffd82729560 "", len = 1795338960}, ri = 1795338976,
              flags = 32693}}, i2s = "\003\000\000\000\r", '\000' <repeats 11 times>, "PoA\000\000"}
        s = {s = 0x2b36b02b230 <Address 0x2b36b02b230 out of bounds>, len = 10566144}
        srevp = {0x7fb56b02b290 <fromip_column>, 0x0}
        mod_f_params = {{type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0, select = 0x0}}, {type = NUMBER_ST, u = {number = 1, string = 0x1 <Address 0x1 out of bounds>, str = {
                s = 0x1 <Address 0x1 out of bounds>, len = 0}, data = 0x1, attr = 0x1, select = 0x1}}, {type = RVE_FREE_FIXUP_ST, u = {number = 0, string = 0x0, str = {s = 0x0, len = 38}, data = 0x0, attr = 0x0, select = 0x0}}, {
            type = RVE_FREE_FIXUP_ST, u = {number = 0, string = 0x0, str = {s = 0x0, len = 1}, data = 0x0, attr = 0x0, select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0,
              select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0, select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0,
              attr = 0x0, select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0, select = 0x0}}}
        __FUNCTION__ = "do_action"
#17 0x000000000057f07c in run_actions (h=0x7ffd82729a80, a=0x7fb5b480d208, msg=0x7fb5b4f18bb8) at action.c:1549
        t = 0x7fb5b480d208
        ret = -1
        mod = 0x10000000e
        ms = 0
        __FUNCTION__ = "run_actions"
#18 0x000000000057f739 in run_actions_safe (h=0x7ffd8272b2e0, a=0x7fb5b480d208, msg=0x7fb5b4f18bb8) at action.c:1614
        ctx = {rec_lev = 1, run_flags = 0, last_retcode = 0, jmp_env = {{__jmpbuf = {336012649, -2174460351583497651, 4288336, 140726792010544, 0, 0, -2174460351612857779, 2173487778003276365}, __mask_was_saved = 0, __saved_mask = {
                __val = {5896990097411, 1183304555312, 10924032, 140726792002488, 140417352161400, 140726792002400, 5882144, 140418394150112, 9, 140418393593285, 5896990097411, 140726792002384, 1181452019049, 10924032, 70908033840,
                  0}}}}}
        ret = 336012649
        ign_on_break = 0
#19 0x00000000004257b8 in rval_get_int (h=0x7ffd8272b2e0, msg=0x7fb5b4f18bb8, i=0x7ffd8272a220, rv=0x7fb5b480de20, cache=0x0) at rvalue.c:912
        r_avp = 0x0
        avp_val = {n = 1, s = {s = 0x1 <Address 0x1 out of bounds>, len = 336012649}, re = 0x1}
        pval = {rs = {s = 0x2 <Address 0x2 out of bounds>, len = 0}, ri = 0, flags = 0}
        tmp = {s = 0x7fb5b47855c5 "log)", len = 3}
        s = 0x0
        r = 0
        ret = 0
        destroy_pval = 0
        __FUNCTION__ = "rval_get_int"
#20 0x0000000000429d3e in rval_expr_eval_int (h=0x7ffd8272b2e0, msg=0x7fb5b4f18bb8, res=0x7ffd8272a220, rve=0x7fb5b480de18) at rvalue.c:1910
        i1 = -2106410192
        i2 = 0
        ret = -1
        c1 = {cache_type = 11234132, val_type = RV_NONE, c = {avp_val = {n = 1, s = {s = 0x1 <Address 0x1 out of bounds>, len = 3}, re = 0x1}, pval = {rs = {s = 0x1 <Address 0x1 out of bounds>, len = 3}, ri = 0, flags = 0}},
          i2s = "\000ր\264\265\177\000\000\020݀\264\265\177\000\000\270\213\361\264\265\177"}
        c2 = {cache_type = 2188549600, val_type = 32765, c = {avp_val = {n = 5678653, s = {s = 0x56a63d <lval_assign+2878> "\213E\314\353\030H\203}\300", len = -1240410240}, re = 0x56a63d <lval_assign+2878>}, pval = {rs = {
                s = 0x56a63d <lval_assign+2878> "\213E\314\353\030H\203}\300", len = -1240410240}, ri = 1818962901, flags = 928}}, i2s = "\377\377\377\377\000\000\000\000\300݀\264\265\177\000\000\030\065x\264\265\177"}
        rv1 = 0x0
        rv2 = 0x0
---Type <return> to continue, or q <return> to quit---
        __FUNCTION__ = "rval_expr_eval_int"
#21 0x00000000005723ca in do_action (h=0x7ffd8272b2e0, a=0x7fb5b4853248, msg=0x7fb5b4f18bb8) at action.c:1030
        ret = -5
        v = 1
        dst = {send_sock = 0x7ffd8272a360, to = {s = {sa_family = 45694, sa_data = "B\000\000\000\000\000\270\273\270\264\265\177\000"}, sin = {sin_family = 45694, sin_port = 66, sin_addr = {s_addr = 0},
              sin_zero = "\270\273\270\264\265\177\000"}, sin6 = {sin6_family = 45694, sin6_port = 66, sin6_flowinfo = 0, sin6_addr = {__in6_u = {__u6_addr8 = "\270\273\270\264\265\177\000\000\000\000\000\000\000\000\000",
                  __u6_addr16 = {48056, 46264, 32693, 0, 0, 0, 0, 0}, __u6_addr32 = {3032005560, 32693, 0, 0}}}, sin6_scope_id = 11234132}}, id = 0, proto = 105 'i', send_flags = {f = 37 '%', blst_imask = 7 '\a'}}
        tmp = 0x8272b2f0 <Address 0x8272b2f0 out of bounds>
        new_uri = 0x0
        end = 0x0
        crt = 0x0
        cmd = 0x7fb5b47524a8
        len = 32693
        user = -1259238472
        uri = {user = {s = 0x7ffd00000000 <Address 0x7ffd00000000 out of bounds>, len = 336012649}, passwd = {s = 0x71f5e0 "core", len = -2106410192}, host = {s = 0x727710 <__FUNCTION__.7347> "rval_destroy", len = 7468652}, port = {
            s = 0x7fb5b610d780 "\002", len = -1267609584}, params = {s = 0x0, len = 4360031}, sip_params = {s = 0x0, len = -1259238472}, headers = {s = 0x7fb5b480c090 "\314\004", len = -2106416784}, port_no = 48056, proto = 46264,
          type = 32693, flags = (unknown: 0), transport = {s = 0xb4ef87c8 <Address 0xb4ef87c8 out of bounds>, len = -1259238472}, ttl = {s = 0x100000000 <Address 0x100000000 out of bounds>, len = 0}, user_param = {
            s = 0x7ffd8272a190 "PoA", len = 336012649}, maddr = {s = 0x416f50 <_start> "1\355I\211\321^H\211\342H\203\344\360PTI\307\300`\300q", len = -2106410192}, method = {s = 0x0, len = 0}, lr = {
            s = 0x7ffd8272a250 "`\243r\202\375\177", len = 5764921}, r2 = {s = 0x7fb5b4b8bbc0 "\260\260\270\264\265\177", len = -1259238472}, gr = {s = 0x7fb5b480c090 "\314\004", len = -2106412320}, transport_val = {s = 0x0, len = 1},
          ttl_val = {s = 0x14072569 <Address 0x14072569 out of bounds>, len = -879635891}, user_param_val = {s = 0x416f50 <_start> "1\355I\211\321^H\211\342H\203\344\360PTI\307\300`\300q", len = -2106410192}, maddr_val = {s = 0x0,
            len = 0}, method_val = {s = 0xe1d2c3d4c9d1d24d <Address 0xe1d2c3d4c9d1d24d out of bounds>, len = 1401541197}, lr_val = {s = 0x7fb500000000 "", len = 336012649}, r2_val = {
            s = 0x416f50 <_start> "1\355I\211\321^H\211\342H\203\344\360PTI\307\300`\300q", len = -2106410192}, gr_val = {s = 0x0, len = 0}}
        next_hop = {user = {s = 0x0, len = 336012649}, passwd = {s = 0x1 <Address 0x1 out of bounds>, len = -2106410192}, host = {s = 0x0, len = 0}, port = {s = 0x7ffd82729fa0 "", len = 6081900}, params = {
            s = 0x7fb5b4751b18 "b,am\265\177", len = -2106416928}, sip_params = {s = 0x0, len = -2106416424}, headers = {s = 0x7fb5b4dc97c0 "\023", len = -1259238472}, port_no = 56014, proto = 46608, type = 32693,
          flags = (URI_SIP_USER_PHONE | unknown: 6633476), transport = {s = 0x7ffd82729fb0 "", len = -1267609584}, ttl = {s = 0x0, len = -1267609584}, user_param = {s = 0x7ffd82729ff0 "8\327\020\266\265\177", len = 1869173822},
          maddr = {s = 0x0, len = 0}, method = {s = 0x8000000 <Address 0x8000000 out of bounds>, len = 107033216}, lr = {s = 0xfd1bb0 <Address 0xfd1bb0 out of bounds>, len = 27184512}, r2 = {
            s = 0x19f0358 <Address 0x19f0358 out of bounds>, len = 8}, gr = {s = 0xca <Address 0xca out of bounds>, len = 0}, transport_val = {s = 0x7fb5b610d738 "\320\003", len = -1267609584}, ttl_val = {s = 0x0, len = 7964281},
          user_param_val = {s = 0x0, len = 0}, maddr_val = {s = 0x7ffd8272a110 "\220\241r\202\375\177", len = 336012649}, method_val = {s = 0x416f50 <_start> "1\355I\211\321^H\211\342H\203\344\360PTI\307\300`\300q", len = -2106410192},
          lr_val = {s = 0x0, len = 0}, r2_val = {s = 0x7ffd8272a140 "P\242r\202\375\177", len = 5763196}, gr_val = {s = 0x0, len = 0}}
        u = 0x7fb5b4d946d8
        port = 0
        dst_host = 0x0
        i = -2106416064
        flags = 0
        avp = 0x0
        st = {flags = 3054557902, id = 32693, name = {n = -2106417376, s = {s = 0x7ffd82729f20 "\240\237r\202\375\177", len = 0}, re = 0x7ffd82729f20}, avp = 0x1}
        sct = 0x7fb5b4b8c2c0
        sjt = 0x4257b8 <rval_get_int+293>
        rve = 0x7fb5b480de18
        mct = 0x7ffd8272a360
        rv = 0x400000001
        rv1 = 0x0
        c1 = {cache_type = RV_CACHE_PVAR, val_type = RV_NONE, c = {avp_val = {n = 37906512, s = {s = 0x2426850 " mB\002", len = 0}, re = 0x2426850}, pval = {rs = {s = 0x2426850 " mB\002", len = 0}, ri = 0, flags = 0}},
          i2s = "8ᰴ\265\177", '\000' <repeats 15 times>}
        s = {s = 0xb4dc97d8 <Address 0xb4dc97d8 out of bounds>, len = -2106417392}
        srevp = {0x5dd15b3100000031, 0x7ffd8272a2d8}
        mod_f_params = {{type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0, select = 0x0}}, {type = NUMBER_ST, u = {number = 1, string = 0x1 <Address 0x1 out of bounds>, str = {
                s = 0x1 <Address 0x1 out of bounds>, len = 0}, data = 0x1, attr = 0x1, select = 0x1}}, {type = RVE_FREE_FIXUP_ST, u = {number = 0, string = 0x0, str = {s = 0x0, len = 38}, data = 0x0, attr = 0x0, select = 0x0}}, {
            type = RVE_FREE_FIXUP_ST, u = {number = 0, string = 0x0, str = {s = 0x0, len = 1}, data = 0x0, attr = 0x0, select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0,
              select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0, select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0,
              attr = 0x0, select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0, select = 0x0}}}
        __FUNCTION__ = "do_action"
#22 0x000000000057f07c in run_actions (h=0x7ffd8272b2e0, a=0x7fb5b480cbd8, msg=0x7fb5b4f18bb8) at action.c:1549
        t = 0x7fb5b4853248
        ret = 1
        mod = 0x7ffd00000000
        ms = 0
        __FUNCTION__ = "run_actions"
#23 0x000000000057285e in do_action (h=0x7ffd8272b2e0, a=0x7fb5b48534a8, msg=0x7fb5b4f18bb8) at action.c:1045
        ret = 1
        v = 1
        dst = {send_sock = 0x7ffd8272a960, to = {s = {sa_family = 14782, sa_data = "2n\265\177\000\000\000\000\000\b\000\000\000"}, sin = {sin_family = 14782, sin_port = 28210, sin_addr = {s_addr = 32693},
---Type <return> to continue, or q <return> to quit---
              sin_zero = "\000\000\000\b\000\000\000"}, sin6 = {sin6_family = 14782, sin6_port = 28210, sin6_flowinfo = 32693, sin6_addr = {__in6_u = {__u6_addr8 = "\000\000\000\b\000\000\000\000i%\a\024\000\000\000", __u6_addr16 = {0,
                    2048, 0, 0, 9577, 5127, 0, 0}, __u6_addr32 = {134217728, 0, 336012649, 0}}}, sin6_scope_id = 4288336}}, id = 4, proto = 6 '\006', send_flags = {f = 56 '8', blst_imask = 101 'e'}}
        tmp = 0x7fb5b60e7220 "@"
        new_uri = 0x0
        end = 0x7fb5b4afa0c0 "0"
        crt = 0x0
        cmd = 0x7fb5b47524a8
        len = 8
        user = 7964281
        uri = {user = {s = 0x7ffd8272a7c0 "\300=x\264\265\177", len = 1869173822}, passwd = {s = 0xfd0d70 <Address 0xfd0d70 out of bounds>, len = 0}, host = {s = 0x8000000 <Address 0x8000000 out of bounds>, len = 107035208}, port = {
            s = 0xfd13e8 <Address 0xfd13e8 out of bounds>, len = 27182520}, params = {s = 0x19f0358 <Address 0x19f0358 out of bounds>, len = 8}, sip_params = {s = 0xd3 <Address 0xd3 out of bounds>, len = -1259238472}, headers = {
            s = 0x7fb5b4783dc0 "|\003", len = -2106415008}, port_no = 0, proto = 0, type = ERROR_URI_T, flags = (URI_USER_NORMALIZE | unknown: 7964280), transport = {s = 0x0, len = -1259295928}, ttl = {
            s = 0xffffffff8272a8e0 <Address 0xffffffff8272a8e0 out of bounds>, len = 0}, user_param = {s = 0x416f50 <_start> "1\355I\211\321^H\211\342H\203\344\360PTI\307\300`\300q", len = 336012649}, maddr = {
            s = 0x416f50 <_start> "1\355I\211\321^H\211\342H\203\344\360PTI\307\300`\300q", len = -2106410192}, method = {s = 0x0, len = 0}, lr = {s = 0x7ffd8272a940 "P\252r\202\375\177", len = 5764921}, r2 = {
            s = 0x7b5052 <__FUNCTION__.6384> "get_hdr_field", len = -1259238472}, gr = {s = 0x7fb5b4783dc0 "|\003", len = -2106412320}, transport_val = {s = 0x0, len = -1}, ttl_val = {s = 0x14072569 <Address 0x14072569 out of bounds>,
            len = -646852019}, user_param_val = {s = 0x416f50 <_start> "1\355I\211\321^H\211\342H\203\344\360PTI\307\300`\300q", len = -2106410192}, maddr_val = {s = 0x0, len = 0}, method_val = {
            s = 0xe1d2c3d4c7b1d24d <Address 0xe1d2c3d4c7b1d24d out of bounds>, len = 1401541197}, lr_val = {s = 0x7ffd00000000 <Address 0x7ffd00000000 out of bounds>, len = 336012649}, r2_val = {
            s = 0x416f50 <_start> "1\355I\211\321^H\211\342H\203\344\360PTI\307\300`\300q", len = -2106410192}, gr_val = {s = 0x0, len = 0}}
        next_hop = {user = {s = 0x19f0358 <Address 0x19f0358 out of bounds>, len = 8}, passwd = {s = 0x7fb5b471d010 "\001", len = -1240447808}, host = {s = 0x7fb5b4f20638 "0", len = -1259207112}, port = {s = 0xa13cb3 <buf.6635+691> "",
            len = 336012649}, params = {s = 0x7fb5b4750bd0 "\241\346\246m\265\177", len = 6633478}, sip_params = {s = 0x7ffd8272a670 "", len = -1267609584}, headers = {s = 0x7ffd8272a790 "\350", <incomplete sequence \375>,
            len = -1267609584}, port_no = 42672, proto = 33394, type = 32765, flags = (URI_SIP_USER_PHONE | unknown: 1869173820), transport = {s = 0x5007fb5b6104478 <Address 0x5007fb5b6104478 out of bounds>, len = 0}, ttl = {
            s = 0x8000000 <Address 0x8000000 out of bounds>, len = 107036344}, user_param = {s = 0xfd0f78 <Address 0xfd0f78 out of bounds>, len = 27181384}, maddr = {s = 0x19f0358 <Address 0x19f0358 out of bounds>, len = 8}, method = {
            s = 0xd0 <Address 0xd0 out of bounds>, len = 8066288}, lr = {s = 0x7ffd8272a6e0 "Чr\202\375\177", len = 6109892}, r2 = {s = 0x0, len = -1267196040}, gr = {s = 0x7fb5b4f18bb8 "t\210\024", len = -2106412320},
          transport_val = {s = 0x7ffd8272a7d0 "", len = 6614586}, ttl_val = {s = 0x7af770 "core", len = 10566213}, user_param_val = {s = 0xfd0938 <Address 0xfd0938 out of bounds>, len = 27179784}, maddr_val = {
            s = 0x5050358 <Address 0x5050358 out of bounds>, len = 336012649}, method_val = {s = 0x416f50 <_start> "1\355I\211\321^H\211\342H\203\344\360PTI\307\300`\300q", len = -2106410192}, lr_val = {s = 0x0, len = 0}, r2_val = {
            s = 0x7ffd8272a830 "@\251r\202\375\177", len = 5763196}, gr_val = {s = 0x7b14f0 <__FUNCTION__.6165> "parse_to_param", len = -1267609584}}
        u = 0x0
        port = 0
        dst_host = 0x0
        i = 0
        flags = 0
        avp = 0x0
        st = {flags = 8058736, id = 0, name = {n = 6614586, s = {s = 0x1140064ee3a <Address 0x1140064ee3a out of bounds>, len = 8066288}, re = 0x1140064ee3a}, avp = 0x7afb10}
        sct = 0x0
        sjt = 0x4257b8 <rval_get_int+293>
        rve = 0x7fb5b480c450
        mct = 0x7ffd8272aa50
        rv = 0x0
        rv1 = 0x65007a6ce3
        c1 = {cache_type = 2188551840, val_type = 32765, c = {avp_val = {n = 6756223, s = {s = 0x67177f <parse_via_param+13028> "\203\370\002\017\216T\005", len = -2106415696}, re = 0x67177f <parse_via_param+13028>}, pval = {rs = {
                s = 0x67177f <parse_via_param+13028> "\203\370\002\017\216T\005", len = -2106415696}, ri = 6109892, flags = 0}}, i2s = "\000\000\000\000\000\000\000\000y\206y\000\005\000\000\000\000\000\000\000\000"}
        s = {s = 0x7af770 "core", len = 8}
        srevp = {0x7ffd8272a640, 0x64ee3a <fm_malloc+4060>}
        mod_f_params = {{type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0, select = 0x0}}, {type = NUMBER_ST, u = {number = 1, string = 0x1 <Address 0x1 out of bounds>, str = {
                s = 0x1 <Address 0x1 out of bounds>, len = 0}, data = 0x1, attr = 0x1, select = 0x1}}, {type = RVE_FREE_FIXUP_ST, u = {number = 0, string = 0x0, str = {s = 0x0, len = 38}, data = 0x0, attr = 0x0, select = 0x0}}, {
            type = RVE_FREE_FIXUP_ST, u = {number = 0, string = 0x0, str = {s = 0x0, len = 1}, data = 0x0, attr = 0x0, select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0,
              select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0, select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0,
              attr = 0x0, select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0, select = 0x0}}}
        __FUNCTION__ = "do_action"
#24 0x000000000057f07c in run_actions (h=0x7ffd8272b2e0, a=0x7fb5b48534a8, msg=0x7fb5b4f18bb8) at action.c:1549
        t = 0x7fb5b48534a8
        ret = -1
        mod = 0x7ffd8272bb30
        ms = 0
        __FUNCTION__ = "run_actions"
#25 0x000000000056f34a in do_action (h=0x7ffd8272b2e0, a=0x7fb5b4786bc8, msg=0x7fb5b4f18bb8) at action.c:678
        ret = -5
        v = 0
        dst = {send_sock = 0x19f0358, to = {s = {sa_family = 8, sa_data = "\000\000\000\000\000\000\323\000\000\000\002\000\000"}, sin = {sin_family = 8, sin_port = 0, sin_addr = {s_addr = 0},
              sin_zero = "\323\000\000\000\002\000\000"}, sin6 = {sin6_family = 8, sin6_port = 0, sin6_flowinfo = 0, sin6_addr = {__in6_u = {__u6_addr8 = "\323\000\000\000\002\000\000\000p\351\071n\265\177\000", __u6_addr16 = {211, 0,
                    2, 0, 59760, 28217, 32693, 0}, __u6_addr32 = {211, 2, 1849289072, 32693}}}, sin6_scope_id = 2188554272}}, id = 32765, proto = -60 '\304', send_flags = {f = 58 ':', blst_imask = 93 ']'}}
        tmp = 0x13e00000000 <Address 0x13e00000000 out of bounds>
---Type <return> to continue, or q <return> to quit---
        new_uri = 0x7fb5b6104478 "@"
        end = 0x7fb5b471d010 "\001"
        crt = 0xa13ba2 <buf.6635+418> "CSeq: 135943 BYE\r\nUser-Agent: FSCloudIPBX-sip_finesource/1.6.19gitb1b21d0~64bit\r\nAllow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY\r\nSupported: timer, path, repla"...
        cmd = 0x40
        len = 0
        user = 0
        uri = {user = {s = 0x8000000 <Address 0x8000000 out of bounds>, len = 336012649}, passwd = {s = 0x400416f50 <Address 0x400416f50 out of bounds>, len = 8058736}, host = {s = 0x0, len = 0}, port = {
            s = 0x7ffd8272af80 "\260\257r\202\375\177", len = 6921649}, params = {s = 0x7ffd8272aec0 "\260\257r\202\375\177", len = 6109892}, sip_params = {s = 0x0, len = 7964281}, headers = {s = 0x7fb500000000 "", len = 0},
          port_no = 44976, proto = 33394, type = 32765, flags = (URI_SIP_USER_PHONE | unknown: 6614584), transport = {s = 0x7b2180 "core", len = 10566239}, ttl = {
            s = 0x416f50 <_start> "1\355I\211\321^H\211\342H\203\344\360PTI\307\300`\300q", len = -1240427776}, user_param = {s = 0xa13cb3 <buf.6635+691> "", len = 10566437}, maddr = {
            s = 0x1d8272b0b0 <Address 0x1d8272b0b0 out of bounds>, len = 10566368}, method = {s = 0x7ffd8272af50 "\263<\241", len = 10566835}, lr = {s = 0x7b2180 "core", len = 6936108}, r2 = {
            s = 0x7b5052 <__FUNCTION__.6384> "get_hdr_field", len = 0}, gr = {
            s = 0xa13b66 <buf.6635+358> "Call-ID: 0%bW7101115050H%beGhEfDmAjC0f@LOS30.INTIMS.NOS.PT\r\nCSeq: 135943 BYE\r\nUser-Agent: FSCloudIPBX-sip_finesource/1.6.19gitb1b21d0~64bit\r\nAllow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UP"..., len = -1267609584}, transport_val = {s = 0xa13cb3 <buf.6635+691> "", len = -1240447808}, ttl_val = {s = 0xa13cb3 <buf.6635+691> "", len = 10566502}, user_param_val = {s = 0x7ffd8272afb0 "\020\261r\202\375\177",
            len = -1267609584}, maddr_val = {s = 0x7ffd8272afb0 "\020\261r\202\375\177", len = 336012649}, method_val = {s = 0xa00000144 <Address 0xa00000144 out of bounds>, len = 10566561}, lr_val = {s = 0xa13cb3 <buf.6635+691> "",
            len = 10566835}, r2_val = {s = 0x7ffd8272b110 "\340\261r\202\375\177", len = 6959209}, gr_val = {s = 0xfd13e8 <Address 0xfd13e8 out of bounds>, len = 27182520}}
        next_hop = {user = {s = 0x7fb5b610adf0 "\003", len = -1240418248}, passwd = {s = 0x7fb5b471d010 "\001", len = -1240420880}, host = {s = 0x7fb5b4afa0c0 "0", len = -1263558464}, port = {
            s = 0x7fb5b61031e8 <incomplete sequence \350>, len = 336012649}, params = {s = 0x400416f50 <Address 0x400416f50 out of bounds>, len = 8058736}, sip_params = {s = 0x0, len = 0}, headers = {
            s = 0x7ffd8272ae80 "\200\257r\202\375\177", len = 6887847}, port_no = 0, proto = 0, type = ERROR_URI_T, flags = (unknown: 0), transport = {s = 0x0, len = 6633478}, ttl = {s = 0x7ffd8272ada0 "", len = -1267609584},
          user_param = {s = 0x0, len = -1267609584}, maddr = {s = 0x7ffd8272ade0 "\020\256r\202\375\177", len = 1869173822}, method = {s = 0x0, len = -2106413308}, lr = {s = 0x8000000 <Address 0x8000000 out of bounds>,
            len = -1240427776}, r2 = {s = 0xa13cb3 <buf.6635+691> "", len = 10566481}, gr = {s = 0x19f0358 <Address 0x19f0358 out of bounds>, len = 8}, transport_val = {s = 0x7ffd8272af00 "\260\260r\202\035", len = 6756223}, ttl_val = {
            s = 0x7ffd8272ae10 "P\256r\202\375\177", len = 6109892}, user_param_val = {s = 0x0, len = 7964281}, maddr_val = {s = 0x0, len = 6633478}, method_val = {s = 0x7ffd8272ae50 "", len = -1267609584}, lr_val = {
            s = 0x7a4b40 "core", len = -1267609584}, r2_val = {
            s = 0xa13b66 <buf.6635+358> "Call-ID: 0%bW7101115050H%beGhEfDmAjC0f@LOS30.INTIMS.NOS.PT\r\nCSeq: 135943 BYE\r\nUser-Agent: FSCloudIPBX-sip_finesource/1.6.19gitb1b21d0~64bit\r\nAllow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UP"..., len = 29}, gr_val = {s = 0x0, len = -1263558392}}
        u = 0x0
        port = 0
        dst_host = 0x7b2180
        i = 10
        flags = 32693
        avp = 0x0
        st = {flags = 8058736, id = 0, name = {n = 10566199, s = {s = 0x11400a13a37 <Address 0x11400a13a37 out of bounds>, len = 8066288}, re = 0x11400a13a37}, avp = 0x7afb10}
        sct = 0xa13cb3 <buf.6635+691>
        sjt = 0x7fb5b61044c0
        rve = 0x7fb5b4783fb8
        mct = 0x7b2180
        rv = 0xa13a04 <buf.6635+4>
        rv1 = 0x7fb5b4f18bb8
        c1 = {cache_type = RV_CACHE_EMPTY, val_type = RV_NONE, c = {avp_val = {n = 0, s = {s = 0x0, len = 0}, re = 0x0}, pval = {rs = {s = 0x0, len = 0}, ri = 0, flags = 0}},
          i2s = "\001\000\001\000@\000\000\000\000:\241\000\000\000\000\000\003\000\000\000\000"}
        s = {s = 0x7af770 "core", len = 22}
        srevp = {0x7ffd8272ad30, 0x64ee3a <fm_malloc+4060>}
        mod_f_params = {{type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0, select = 0x0}}, {type = NUMBER_ST, u = {number = 1, string = 0x1 <Address 0x1 out of bounds>, str = {
                s = 0x1 <Address 0x1 out of bounds>, len = 0}, data = 0x1, attr = 0x1, select = 0x1}}, {type = RVE_FREE_FIXUP_ST, u = {number = 0, string = 0x0, str = {s = 0x0, len = 38}, data = 0x0, attr = 0x0, select = 0x0}}, {
            type = RVE_FREE_FIXUP_ST, u = {number = 0, string = 0x0, str = {s = 0x0, len = 1}, data = 0x0, attr = 0x0, select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0,
              select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0, select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0,
              attr = 0x0, select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0, select = 0x0}}}
        __FUNCTION__ = "do_action"
#26 0x000000000057f07c in run_actions (h=0x7ffd8272b2e0, a=0x7fb5b477ec78, msg=0x7fb5b4f18bb8) at action.c:1549
        t = 0x7fb5b4786bc8
        ret = 1
        mod = 0x5ccda2 <pv_get_spec_value+811>
        ms = 0
        __FUNCTION__ = "run_actions"
#27 0x000000000057f801 in run_top_route (a=0x7fb5b477ec78, msg=0x7fb5b4f18bb8, c=0x0) at action.c:1635
        ctx = {rec_lev = 3, run_flags = 0, last_retcode = 1, jmp_env = {{__jmpbuf = {336012649, -2174460350799162803, 4288336, 140726792010544, 0, 0, -2174460350828522931, 2173487778003276365}, __mask_was_saved = 0, __saved_mask = {
                __val = {4294967296, 140726792008560, 140417234957196, 4294967296, 13, 13, 18446744073709551615, 140726792008608, 140417234958122, 4288336, 0, 4611686022722355200, 140418401536952, 140726792008656, 6277691,
                  6483522512}}}}}
        p = 0x7ffd8272b2e0
        ret = 0
        sfbk = 0
---Type <return> to continue, or q <return> to quit---
#28 0x00000000005825b6 in receive_msg (
    buf=0xa13a00 <buf.6635> "BYE sip:+351938376228@172.20.20.227:5060;transport=udp SIP/2.0\r\nVia: SIP/2.0/UDP 10.255.169.32:5080;rport;branch=z9hG4bKN9FegrcBj70Fg\r\nRoute: <sip:10.255.169.30;lr=on;ftag=07021343700064;did=3cd.51e2>"..., len=691, rcv_info=0x7ffd8272b620) at receive.c:240
        msg = 0x7fb5b4f18bb8
        ctx = {rec_lev = -2106411280, run_flags = 32765, last_retcode = -1125066466, jmp_env = {{__jmpbuf = {1, 0, 140726792008896, 140418527434552, 336012649, 140418535740359, 167503724544, 10631680}, __mask_was_saved = -2106411480,
              __saved_mask = {__val = {0, 60129542147, 336012649, 4288336, 140726792010544, 140726792009088, 4760304, 6510615555426900570, 6510615555426900570, 1, 140417241492544, 0, 4756648, 10631680, 4755823, 140726792009072}}}}}
        ret = -1259505032
        inb = {
          s = 0xa13a00 <buf.6635> "BYE sip:+351938376228@172.20.20.227:5060;transport=udp SIP/2.0\r\nVia: SIP/2.0/UDP 10.255.169.32:5080;rport;branch=z9hG4bKN9FegrcBj70Fg\r\nRoute: <sip:10.255.169.30;lr=on;ftag=07021343700064;did=3cd.51e2>"..., len = 691}
        netinfo = {data = {s = 0x0, len = 10523560}, dst = 0x416f50 <_start>, rcv = 0x7ffd8272bb30}
        __FUNCTION__ = "receive_msg"
#29 0x00000000004908b4 in udp_rcv_loop () at udp_server.c:495
        len = 691
        buf = "BYE sip:+351938376228@172.20.20.227:5060;transport=udp SIP/2.0\r\nVia: SIP/2.0/UDP 10.255.169.32:5080;rport;branch=z9hG4bKN9FegrcBj70Fg\r\nRoute: <sip:10.255.169.30;lr=on;ftag=07021343700064;did=3cd.51e2>"...
        tmp = 0xa23a00 <buff.5558> "213.205.95.248"
        from = 0x7fb5b4ed7a78
        fromlen = 16
        ri = {src_ip = {af = 2, len = 4, u = {addrl = {548011786, 140726792009472}, addr32 = {548011786, 0, 2188556032, 32765}, addr16 = {65290, 8361, 0, 0, 46848, 33394, 32765, 0},
              addr = "\n\377\251 \000\000\000\000\000\267r\202\375\177\000"}}, dst_ip = {af = 2, len = 4, u = {addrl = {514457354, 0}, addr32 = {514457354, 0, 0, 0}, addr16 = {65290, 7849, 0, 0, 0, 0, 0, 0},
              addr = "\n\377\251\036", '\000' <repeats 11 times>}}, src_port = 5080, dst_port = 5060, proto_reserved1 = 0, proto_reserved2 = 0, src_su = {s = {sa_family = 2, sa_data = "\023\330\n\377\251 \000\000\000\000\000\000\000"},
            sin = {sin_family = 2, sin_port = 55315, sin_addr = {s_addr = 548011786}, sin_zero = "\000\000\000\000\000\000\000"}, sin6 = {sin6_family = 2, sin6_port = 55315, sin6_flowinfo = 548011786, sin6_addr = {__in6_u = {
                  __u6_addr8 = '\000' <repeats 15 times>, __u6_addr16 = {0, 0, 0, 0, 0, 0, 0, 0}, __u6_addr32 = {0, 0, 0, 0}}}, sin6_scope_id = 0}}, bind_address = 0x7fb5b473e9f0, proto = 1 '\001'}
        __FUNCTION__ = "udp_rcv_loop"
#30 0x0000000000514914 in main_loop () at main.c:1614
        i = 1
        pid = 0
        si = 0x7fb5b473e9f0
        si_desc = "udp receiver child=1 sock=10.255.169.30:5060\000\177\000\000\240\267r\202\375\177\000\000\177\307d\000\000\000\000\000PoA\000\000\000\000\000PV\vv\265\177\000\000pktk\265\177\000\000\310S봵\177\000\000\360:tk\265\177\000\000\003\000\000\000\000\000\000\000\000\232s\000\000\000\000\000i%\a\024n\000\000"
        nrprocs = 8
        woneinit = 1
        __FUNCTION__ = "main_loop"
#31 0x000000000051be65 in main (argc=15, argv=0x7ffd8272bb38) at main.c:2631
        cfg_stream = 0x2338010
        c = -1
        r = 0
        tmp = 0x7ffd8272bebb ""
        tmp_len = 0
        port = 0
        proto = 0
        options = 0x755ce8 ":f:cm:M:dVIhEeb:l:L:n:vKrRDTN:W:w:t:u:g:P:G:SQ:O:a:A:x:X:"
        ret = -1
        seed = 3709913901
        rfd = 4
        debug_save = 0
        debug_flag = 0
        dont_fork_cnt = 0
        n_lst = 0x0
        p = 0x0
        st = {st_dev = 19, st_ino = 1230251, st_nlink = 2, st_mode = 16877, st_uid = 992, st_gid = 990, __pad0 = 0, st_rdev = 0, st_size = 140, st_blksize = 4096, st_blocks = 0, st_atim = {tv_sec = 1540159292, tv_nsec = 533176849},
          st_mtim = {tv_sec = 1547600165, tv_nsec = 331990245}, st_ctim = {tv_sec = 1547600165, tv_nsec = 331990245}, __unused = {0, 0, 0}}
        __FUNCTION__ = "main"
</code></pre>
<h4>Log Messages</h4>
<pre><code>Feb 05 15:11:12 telvent13 /usr/sbin/kamailio[31555]: CRITICAL: <core> [pass_fd.c:277]: receive_fd(): EOF on 30
Feb 05 15:11:12 telvent13 /usr/sbin/kamailio[31361]: ALERT: <core> [main.c:740]: handle_sigs(): child process 31386 exited by a signal 11
Feb 05 15:11:12 telvent13 /usr/sbin/kamailio[31361]: ALERT: <core> [main.c:743]: handle_sigs(): core was generated
</code></pre>
<h3>Additional Information</h3>
<ul>
<li><strong>Kamailio Version</strong> - output of <code>kamailio -v</code></li>
</ul>
<pre><code>version: kamailio 4.4.5 (x86_64/linux)
flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: 812fa55
compiled on 20:31:25 May 17 2017 with gcc 4.8.5
</code></pre>
<ul>
<li><strong>Operating System</strong>:</li>
</ul>
<pre><code>Linux telvent13 3.10.0-514.el7.x86_64 #1 SMP Tue Nov 22 16:42:41 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
</code></pre>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/1853">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36ZZqtDwMlCAcOaYPx_Rzpk9OtlhqRks5vNt6sgaJpZM4a9-5R">mute the thread</a>.<img src="https://github.com/notifications/beacon/AF36ZXFQbTzjbGNG4BzR4MpYXxPFuhULks5vNt6sgaJpZM4a9-5R.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/kamailio/kamailio","title":"kamailio/kamailio","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/kamailio/kamailio"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Kamailio 4.4.5 segfault (redis_client) (#1853)"}],"action":{"name":"View Issue","url":"https://github.com/kamailio/kamailio/issues/1853"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/1853",
"url": "https://github.com/kamailio/kamailio/issues/1853",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>