[sr-dev] [kamailio/kamailio] Kamailio-5.4.0 : Crashes from keepalive module (#2448)

sagarmalam notifications at github.com
Wed Sep 2 10:31:38 CEST 2020


@NGSegovia , I tested latest changes under 
https://github.com/NGSegovia/kamailio/commit/aaded162a6523642873703f6b52e191c86d5aee6

Now it is crashing again but from different place : 
```
(gdb) bt full
#0  0x00007f3153cd82cc in __strncpy_ssse3 () from /lib64/libc.so.6
No symbol table info available.
#1  0x00007f312a7d5132 in ka_str_copy (src=0x7f2ff2441b38, dest=0x7f2ff2416380, prefix=0x0) at keepalive_core.c:203
        lp = 0
        __FUNCTION__ = "ka_str_copy"
#2  0x00007f312a7d2d19 in ka_check_timer (ticks=931009473, tl=0x7f2ff2416618, param=0x7f2ff2416360) at keepalive_core.c:71
        ka_dest = 0x7f2ff2416360
        ka_ping_method = {s = 0x7f312a7d9740 "OPTIONS", len = 7}
        ka_outbound_proxy = {s = 0x0, len = 0}
        uac_r = {method = 0x140b788ad20, headers = 0x7f2ff24162c8, body = 0x0, ssock = 0x0, ssockname = 0x0, dialog = 0x0, cb_flags = 1024, 
          cb = 0x7f312a7d3174 <ka_options_callback>, cbp = 0x7f2ff243f378, callid = 0x0}
        __FUNCTION__ = "ka_check_timer"
        uuid = 0x7f2ff2441b38
#3  0x00000000004c3517 in slow_timer_main () at core/timer.c:1105
        n = 12
        ret = 320
        tl = 0x7f2ff2416618
        i = 1
        __FUNCTION__ = "slow_timer_main"
#4  0x000000000042a5f3 in main_loop () at main.c:1737
        i = 16
        pid = 0
        si = 0x0
        si_desc = "udp receiver child=15 sock=10.50.8.11:9090\000:0:0:11]:5060\000\061:5060)\000\000\000\000\000\000\000\000\000\220\374\361/\177\000\000\002\000\000\000\000\000\000\000\360\004-\362/\177\000\000\060\260\210\267\375\177\000\000\322CL\000\000\000\000\000\340\271A\000\000\000\000\000\250=\306\064\061\177\000"
        nrprocs = 16
        woneinit = 1
        __FUNCTION__ = "main_loop"
#5  0x0000000000433ba5 in main (argc=7, argv=0x7ffdb788b598) at main.c:2861
        cfg_stream = 0x27e1010
        c = -1
        r = 0
        tmp = 0x7ffdb788bf26 ""
        tmp_len = 0
---Type <return> to continue, or q <return> to quit---
        port = 0
        proto = 0
        ahost = 0x0
        aport = 0
        options = 0x7cfaa0 ":f:cm:M:dVIhEeb:l:L:n:vKrRDTN:W:w:t:u:g:P:G:SQ:O:a:A:x:X:Y:"
        ret = -1
        seed = 862902793
        rfd = 4
        debug_save = 0
        debug_flag = 0
        dont_fork_cnt = 0
        n_lst = 0x0
        p = 0x0
        st = {st_dev = 23, st_ino = 30676, st_nlink = 2, st_mode = 16877, st_uid = 0, st_gid = 5001, __pad0 = 0, st_rdev = 0, st_size = 40, 
          st_blksize = 4096, st_blocks = 0, st_atim = {tv_sec = 1599034463, tv_nsec = 259945261}, st_mtim = {tv_sec = 1599034433, 
            tv_nsec = 160818732}, st_ctim = {tv_sec = 1599034463, tv_nsec = 259945261}, __unused = {0, 0, 0}}
        tbuf = '\000' <repeats 88 times>, "p\262\252\000\000\000\000\000\340\271A\000\000\000\000\000\220\265\210\267\375\177", '\000' <repeats 26 times>, "\036\017gT1\177\000\000\001", '\000' <repeats 23 times>, "\340c\270S1\177\000\000`\265\210\267\375\177\000\000*\213gT1\177\000\000\034\000\000\000\000\000\000\000"...
        option_index = 0
        long_options = {{name = 0x7d1c8f "help", has_arg = 0, flag = 0x0, val = 104}, {name = 0x7cd2a1 "version", has_arg = 0, flag = 0x0, 
            val = 118}, {name = 0x7d1c94 "alias", has_arg = 1, flag = 0x0, val = 1024}, {name = 0x7d1c9a "subst", has_arg = 1, flag = 0x0, 
            val = 1025}, {name = 0x7d1ca0 "substdef", has_arg = 1, flag = 0x0, val = 1026}, {name = 0x7d1ca9 "substdefs", has_arg = 1, flag = 0x0, 
            val = 1027}, {name = 0x7d1cb3 "server-id", has_arg = 1, flag = 0x0, val = 1028}, {name = 0x7d1cbd "loadmodule", has_arg = 1, flag = 0x0, 
            val = 1029}, {name = 0x7d1cc8 "modparam", has_arg = 1, flag = 0x0, val = 1030}, {name = 0x7d1cd1 "log-engine", has_arg = 1, flag = 0x0, 
            val = 1031}, {name = 0x7d1cdc "debug", has_arg = 1, flag = 0x0, val = 1032}, {name = 0x0, has_arg = 0, flag = 0x0, val = 0}}
        __FUNCTION__ = "main"

```

-- 
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/2448#issuecomment-685443487
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20200902/7c49cad7/attachment-0001.htm>


More information about the sr-dev mailing list