Hi @henningw ,
Please find the core dump below:
```
(gdb) bt
#0 0x00007fb35c0961cc in uv.io_stop () from /lib64/libuv.so.1
#1 0x00007fb35c09c71a in uv.poll_stop.lto_priv () from /lib64/libuv.so.1
#2 0x00007fb35c09c763 in uv_poll_stop () from /lib64/libuv.so.1
#3 0x00007fb35c146d3d in nats_destroy_workers () at nats_mod.c:591
#4 0x00007fb35c146dc0 in mod_destroy () at nats_mod.c:603
#5 0x0000000000636b22 in destroy_modules () at core/sr_module.c:842
#6 0x000000000041f059 in cleanup (show_status=0) at main.c:561
#7 0x0000000000420ac1 in shutdown_children (sig=15, show_status=0) at main.c:704
#8 0x0000000000439a81 in main (argc=5, argv=0x7ffd6bebd598) at main.c:3093
(gdb) bt full
#0 0x00007fb35c0961cc in uv.io_stop () from /lib64/libuv.so.1
No symbol table info available.
#1 0x00007fb35c09c71a in uv.poll_stop.lto_priv () from /lib64/libuv.so.1
No symbol table info available.
#2 0x00007fb35c09c763 in uv_poll_stop () from /lib64/libuv.so.1
No symbol table info available.
#3 0x00007fb35c146d3d in nats_destroy_workers () at nats_mod.c:591
i = 0
worker = 0x100000598
pub_worker = 0x7fb35c256b20
__func__ = "nats_destroy_workers"
#4 0x00007fb35c146dc0 in mod_destroy () at nats_mod.c:603
__func__ = "mod_destroy"
#5 0x0000000000636b22 in destroy_modules () at core/sr_module.c:842
t = 0x7fb36125b6a8
foo = 0x7fb36125b1d0
__func__ = "destroy_modules"
#6 0x000000000041f059 in cleanup (show_status=0) at main.c:561
memlog = 0
__func__ = "cleanup"
#7 0x0000000000420ac1 in shutdown_children (sig=15, show_status=0) at main.c:704
__func__ = "shutdown_children"
#8 0x0000000000439a81 in main (argc=5, argv=0x7ffd6bebd598) at main.c:3093
cfg_stream = 0x244d380
c = -1
r = 0
tmp = 0xc5 <error: Cannot access memory at address 0xc5>
tmp_len = 0
port = 0
proto = 0
ahost = 0x0
aport = 0
options = 0x8152f8
":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 = 4101768862
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 = 1402, st_nlink = 2, st_mode = 16832, st_uid = 1001,
st_gid = 1002, __pad0 = 0, st_rdev = 0, st_size = 60, st_blksize = 4096, st_blocks = 0,
st_atim = {tv_sec = 1663600770, tv_nsec = 489002484}, st_mtim = {tv_sec = 1664316775,
tv_nsec = 681629684},
st_ctim = {tv_sec = 1664316775, tv_nsec = 681629684}, __glibc_reserved = {0, 0,
0}}
tbuf =
"\342\214\317a\263\177\000\000\070K\314a\263\177\000\000\020\322\353k\375\177\000\000\a\000\000\000\000\000\000\000\330\070\314a\263\177\000\000\a\000\000\000#\000\000\000\060\232\317a\263\177\000\000\225f\315a\263\177\000\000\000\000\000\000\000\000\000\000\200y\315a\263\177\000\000\070\300\234a\263\177\000\000\320\035\314a\263\177\000\000\000\000\000\000\000\000\000\000\340\321\353k\375\177\000\000\360\216\317a\263\177\000\000\330J\314a\263\177\000\000\330J\314a\263\177\000\000\000\000\000\000\000\000\000\000\230,\314a\263\177\000\000\340\321\353k\375\177\000\000\220\245\317a\263\177\000\000\000\060\314a\263\177\000\000\022<\314a\263\177\000\000\066\061\315a\263\177\000\000\344\343\233a\263\177\000\000"...
option_index = 0
long_options = {{name = 0x817966 "help", has_arg = 0, flag = 0x0, val =
104}, {name = 0x812514 "version", has_arg = 0, flag = 0x0, val = 118}, {name =
0x81796b "alias", has_arg = 1, flag = 0x0, val = 1024}, {name = 0x817971
"subst", has_arg = 1, flag = 0x0, val = 1025}, {
name = 0x817977 "substdef", has_arg = 1, flag = 0x0, val = 1026},
{name = 0x817980 "substdefs", has_arg = 1, flag = 0x0, val = 1027}, {name =
0x81798a "server-id", has_arg = 1, flag = 0x0, val = 1028}, {name = 0x817994
"loadmodule", has_arg = 1, flag = 0x0, val = 1029}, {
name = 0x81799f "modparam", has_arg = 1, flag = 0x0, val = 1030},
{name = 0x8179a8 "log-engine", has_arg = 1, flag = 0x0, val = 1031}, {name =
0x8179b3 "debug", has_arg = 1, flag = 0x0, val = 1032}, {name = 0x8179b9
"cfg-print", has_arg = 0, flag = 0x0, val = 1033}, {
name = 0x8179c3 "atexit", has_arg = 1, flag = 0x0, val = 1034},
{name = 0x0, has_arg = 0, flag = 0x0, val = 0}}
__func__ = "main"
```
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3253#issuecomment-1260594653
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/3253/1260594653(a)github.com>