Below you can find the core dump from the last commit in the master branch:

(gdb) bt
#0  0x00007f4ac66041cc in uv.io_stop () from /lib64/libuv.so.1
#1  0x00007f4ac660a71a in uv.poll_stop.lto_priv () from /lib64/libuv.so.1
#2  0x00007f4ac660a763 in uv_poll_stop () from /lib64/libuv.so.1
#3  0x00007f4ac66b4d3d in nats_destroy_workers () at nats_mod.c:591
#4  0x00007f4ac66b4dd3 in mod_destroy () at nats_mod.c:606
#5  0x0000000000641fb5 in destroy_modules () at core/sr_module.c:861
#6  0x000000000041f089 in cleanup (show_status=0) at main.c:563
#7  0x0000000000420af1 in shutdown_children (sig=15, show_status=0) at main.c:706
#8  0x0000000000439a8e in main (argc=13, argv=0x7fff8f4a7cc8) at main.c:3100
(gdb) bt full
#0  0x00007f4ac66041cc in uv.io_stop () from /lib64/libuv.so.1
No symbol table info available.
#1  0x00007f4ac660a71a in uv.poll_stop.lto_priv () from /lib64/libuv.so.1
No symbol table info available.
#2  0x00007f4ac660a763 in uv_poll_stop () from /lib64/libuv.so.1
No symbol table info available.
#3  0x00007f4ac66b4d3d in nats_destroy_workers () at nats_mod.c:591
        i = 0
        worker = 0x7f4ac67c4c68
        pub_worker = 0x7f4ac67c4d08
        __func__ = "nats_destroy_workers"
#4  0x00007f4ac66b4dd3 in mod_destroy () at nats_mod.c:606
        __func__ = "mod_destroy"
#5  0x0000000000641fb5 in destroy_modules () at core/sr_module.c:861
        t = 0x7f4bc77ca570
        foo = 0x7f4bc77ca098
        __func__ = "destroy_modules"
#6  0x000000000041f089 in cleanup (show_status=0) at main.c:563
        memlog = -1077952723
        __func__ = "cleanup"
#7  0x0000000000420af1 in shutdown_children (sig=15, show_status=0) at main.c:706
        __func__ = "shutdown_children"
#8  0x0000000000439a8e in main (argc=13, argv=0x7fff8f4a7cc8) at main.c:3100
        cfg_stream = 0x13f1380
        c = -1
        r = 0
        tmp = 0x7fff8f4a8eaf ""
        tmp_len = 0
        port = 0
        proto = 0
        ahost = 0x0
        aport = 0
        options = 0x823308 ":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 = 1254916872
        rfd = 4
        debug_save = 0
        debug_flag = 0
        dont_fork_cnt = 0
        n_lst = 0x300000000
        p = 0x40 <error: Cannot access memory at address 0x40>
        st = {st_dev = 25, st_ino = 1308, st_nlink = 2, st_mode = 16832, st_uid = 1001, st_gid = 1002, __pad0 = 0, st_rdev = 0, st_size = 40, st_blksize = 4096, st_blocks = 0, st_atim = {tv_sec = 1664442191, tv_nsec = 175708131}, st_mtim = {tv_sec = 1665675696, tv_nsec = 415332480},
          st_ctim = {tv_sec = 1665675696, tv_nsec = 415332480}, __glibc_reserved = {0, 0, 0}}
        tbuf = "\342lf\310K\177\000\000\070+c\310K\177\000\000@yJ\217\377\177\000\000\a\000\000\000\000\000\000\000\330\030c\310K\177\000\000\a\000\000\000#\000\000\000\060zf\310K\177\000\000\225Fd\310K\177\000\000\000\000\000\000\000\000\000\000\200Yd\310K\177\000\000\070\240\063\310K\177\000\000\320\375b\310K\177\000\000\000\000\000\000\000\000\000\000\020yJ\217\377\177\000\000\360nf\310K\177\000\000\330*c\310K\177\000\000\330*c\310K\177\000\000\000\000\000\000\000\000\000\000\250\fc\310K\177\000\000\020yJ\217\377\177\000\000\220\205f\310K\177\000\000\000\020c\310K\177\000\000\022\034c\310K\177\000\000\066\021d\310K\177\000\000\344\303\062\310K\177\000\000"...
        option_index = 0
        long_options = {{name = 0x8259a6 "help", has_arg = 0, flag = 0x0, val = 104}, {name = 0x820521 "version", has_arg = 0, flag = 0x0, val = 118}, {name = 0x8259ab "alias", has_arg = 1, flag = 0x0, val = 1024}, {name = 0x8259b1 "subst", has_arg = 1, flag = 0x0, val = 1025}, {
            name = 0x8259b7 "substdef", has_arg = 1, flag = 0x0, val = 1026}, {name = 0x8259c0 "substdefs", has_arg = 1, flag = 0x0, val = 1027}, {name = 0x8259ca "server-id", has_arg = 1, flag = 0x0, val = 1028}, {name = 0x8259d4 "loadmodule", has_arg = 1, flag = 0x0, val = 1029}, {
            name = 0x8259df "modparam", has_arg = 1, flag = 0x0, val = 1030}, {name = 0x8259e8 "log-engine", has_arg = 1, flag = 0x0, val = 1031}, {name = 0x8259f3 "debug", has_arg = 1, flag = 0x0, val = 1032}, {name = 0x8259f9 "cfg-print", has_arg = 0, flag = 0x0, val = 1033}, {
            name = 0x825a03 "atexit", has_arg = 1, flag = 0x0, val = 1034}, {name = 0x825a0a "all-errors", has_arg = 0, flag = 0x0, val = 1035}, {name = 0x0, has_arg = 0, flag = 0x0, val = 0}}
        __func__ = "main"
(gdb)


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/issues/3253/1277833386@github.com>