```txt [New LWP 2144] [New LWP 2145] [New LWP 2146] [New LWP 2147] BFD: /lib/x86_64-linux-gnu/libm.so.6: unknown type [0x13] section `.relr.dyn'
warning: `/lib/x86_64-linux-gnu/libm.so.6': Shared library architecture unknown is not compatible with target architecture i386:x86-64. BFD: /lib/x86_64-linux-gnu/libc.so.6: unknown type [0x13] section `.relr.dyn'
warning: `/lib/x86_64-linux-gnu/libc.so.6': Shared library architecture unknown is not compatible with target architecture i386:x86-64. BFD: /lib64/ld-linux-x86-64.so.2: unknown type [0x13] section `.relr.dyn'
warning: `/lib64/ld-linux-x86-64.so.2': Shared library architecture unknown is not compatible with target architecture i386:x86-64. BFD: /lib/x86_64-linux-gnu/libpthread.so.0: unknown type [0x13] section `.relr.dyn'
warning: `/lib/x86_64-linux-gnu/libpthread.so.0': Shared library architecture unknown is not compatible with target architecture i386:x86-64. BFD: /lib/x86_64-linux-gnu/libdl.so.2: unknown type [0x13] section `.relr.dyn'
warning: `/lib/x86_64-linux-gnu/libdl.so.2': Shared library architecture unknown is not compatible with target architecture i386:x86-64. [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `kamailio'. Program terminated with signal SIGSEGV, Segmentation fault. #0 ___pthread_mutex_trylock (mutex=0x0) at ./nptl/pthread_mutex_trylock.c:33 33 ./nptl/pthread_mutex_trylock.c: No such file or directory. [Current thread is 1 (Thread 0x7fa6934b3740 (LWP 2144))] (gdb) bt #0 ___pthread_mutex_trylock (mutex=0x0) at ./nptl/pthread_mutex_trylock.c:33 #1 0x00007fa692617444 in natsMutex_Lock () from /usr/local/lib/libnats.so.3.6 #2 0x00007fa69260fc9e in natsSubscription_Unsubscribe () from /usr/local/lib/libnats.so.3.6 #3 0x00007fa69264a25d in nats_destroy_workers () at nats_mod.c:559 #4 0x00007fa69264abd4 in mod_destroy () at nats_mod.c:609 #5 0x000055ee7d9d0752 in destroy_modules () at core/sr_module.c:842 #6 0x000055ee7d793132 in cleanup (show_status=1) at main.c:561 #7 0x000055ee7d794d97 in shutdown_children (sig=15, show_status=1) at main.c:704 #8 0x000055ee7d79817b in handle_sigs () at main.c:802 #9 0x000055ee7d7a606b in main_loop () at main.c:1900 #10 0x000055ee7d7afb54 in main (argc=1, argv=0x7ffc10e5a368) at main.c:3078 (gdb) #0 ___pthread_mutex_trylock (mutex=0x0) at ./nptl/pthread_mutex_trylock.c:33 #1 0x00007fa692617444 in natsMutex_Lock () from /usr/local/lib/libnats.so.3.6 #2 0x00007fa69260fc9e in natsSubscription_Unsubscribe () from /usr/local/lib/libnats.so.3.6 #3 0x00007fa69264a25d in nats_destroy_workers () at nats_mod.c:559 #4 0x00007fa69264abd4 in mod_destroy () at nats_mod.c:609 #5 0x000055ee7d9d0752 in destroy_modules () at core/sr_module.c:842 #6 0x000055ee7d793132 in cleanup (show_status=1) at main.c:561 #7 0x000055ee7d794d97 in shutdown_children (sig=15, show_status=1) at main.c:704 #8 0x000055ee7d79817b in handle_sigs () at main.c:802 #9 0x000055ee7d7a606b in main_loop () at main.c:1900 #10 0x000055ee7d7afb54 in main (argc=1, argv=0x7ffc10e5a368) at main.c:3078
(gdb) bt full #0 ___pthread_mutex_trylock (mutex=0x0) at ./nptl/pthread_mutex_trylock.c:33 oldval = <optimized out> id = 2144 again = <optimized out> __PRETTY_FUNCTION__ = "___pthread_mutex_trylock" #1 0x00007fa692617444 in natsMutex_Lock () from /usr/local/lib/libnats.so.3.6 No symbol table info available. #2 0x00007fa69260fc9e in natsSubscription_Unsubscribe () from /usr/local/lib/libnats.so.3.6 No symbol table info available. #3 0x00007fa69264a25d in nats_destroy_workers () at nats_mod.c:559 i = 0 worker = 0x7fa68e491f00 pub_worker = 0x3000000010 __func__ = "nats_destroy_workers" #4 0x00007fa69264abd4 in mod_destroy () at nats_mod.c:609 __func__ = "mod_destroy" #5 0x000055ee7d9d0752 in destroy_modules () at core/sr_module.c:842 t = 0x7fa692d59ee8 foo = 0x7fa692d59940 __func__ = "destroy_modules" #6 0x000055ee7d793132 in cleanup (show_status=1) at main.c:561 memlog = 0 __func__ = "cleanup" #7 0x000055ee7d794d97 in shutdown_children (sig=15, show_status=1) at main.c:704 __func__ = "shutdown_children" #8 0x000055ee7d79817b in handle_sigs () at main.c:802 chld = 0 chld_status = 139 any_chld_stopped = 1 memlog = 0 __func__ = "handle_sigs" #9 0x000055ee7d7a606b in main_loop () at main.c:1900 i = 4 pid = 2177 si = 0x0 si_desc = "udp receiver child=3 sock=172.18.0.1:5060\000\066\060\000\206\225-\030\000\000\000\000\000\000\000\210м}\356U\000\000\000\000\000\000\000\000\000\000\223<\276}\356U\000\000\037\000\000\000\000\000\000\000pr[\223\003\000\000\000\270cԒ\246\177\000\000\006s[\223\246\177\000\000\020\000\000\000\060\000\000\000\340\235\345\020\374\177\000" nrprocs = 4 woneinit = 1 __func__ = "main_loop" --Type <RET> for more, q to quit, c to continue without paging--c #10 0x000055ee7d7afb54 in main (argc=1, argv=0x7ffc10e5a368) at main.c:3078 cfg_stream = 0x55ee7ebf2380 c = -1 r = 0 tmp = 0x100000000 <error: Cannot access memory at address 0x100000000> tmp_len = 0 port = 895 proto = 32678 ahost = 0x0 aport = 0 options = 0x55ee7dbd0278 ":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 = 2445687282 rfd = 4 debug_save = 0 debug_flag = 0 dont_fork_cnt = 0 n_lst = 0xc000 p = 0x0 st = {st_dev = 22, st_ino = 932, st_nlink = 2, st_mode = 16832, st_uid = 0, st_gid = 0, __pad0 = 0, st_rdev = 0, st_size = 100, st_blksize = 4096, st_blocks = 0, st_atim = {tv_sec = 1679042469, tv_nsec = 894794388}, st_mtim = {tv_sec = 1679046821, tv_nsec = 776224656}, st_ctim = {tv_sec = 1679046821, tv_nsec = 776224656}, __glibc_reserved = {0, 0, 0}} tbuf = '\000' <repeats 40 times>, "p\026x\223\246\177\000\000\r\000\000\000\000\000\000\000\230\201h\223\246\177\000\000x\243\345\020\374\177\000\000H\255\312}\356U\000\000 P{\223\246\177\000\000\256/y\223\246\177\000\000\001", '\000' <repeats 15 times>, "x8x\223\246\177\000\000\300\230y\223\246\177\000\000\000\000\000\000\000\000\000\000\340\242\345\020\374\177\000\000\001", '\000' <repeats 15 times>, "x\243\345\020\374\177\000\000\332Qy\223\246\177\000\000\000\000\000\000\000\000\000\000H\255\312}\356U\000\000x\243\345\020\374\177\000\000\000\000\000\000\000\000\000\000"... option_index = 0 long_options = {{name = 0x55ee7dbd26e6 "help", has_arg = 0, flag = 0x0, val = 104}, {name = 0x55ee7dbcd524 "version", has_arg = 0, flag = 0x0, val = 118}, {name = 0x55ee7dbd26eb "alias", has_arg = 1, flag = 0x0, val = 1024}, {name = 0x55ee7dbd26f1 "subst", has_arg = 1, flag = 0x0, val = 1025}, {name = 0x55ee7dbd26f7 "substdef", has_arg = 1, flag = 0x0, val = 1026}, {name = 0x55ee7dbd2700 "substdefs", has_arg = 1, flag = 0x0, val = 1027}, {name = 0x55ee7dbd270a "server-id", has_arg = 1, flag = 0x0, val = 1028}, {name = 0x55ee7dbd2714 "loadmodule", has_arg = 1, flag = 0x0, val = 1029}, {name = 0x55ee7dbd271f "modparam", has_arg = 1, flag = 0x0, val = 1030}, {name = 0x55ee7dbd2728 "log-engine", has_arg = 1, flag = 0x0, val = 1031}, {name = 0x55ee7dbd2733 "debug", has_arg = 1, flag = 0x0, val = 1032}, {name = 0x55ee7dbd2739 "cfg-print", has_arg = 0, flag = 0x0, val = 1033}, {name = 0x55ee7dbd2743 "atexit", has_arg = 1, flag = 0x0, val = 1034}, {name = 0x0, has_arg = 0, flag = 0x0, val = 0}} __func__ = "main" (gdb) ```