The same crash happens on kamailio 5.8.2
[centos@esrp-0a ~]$ cat /etc/centos-release
CentOS Stream release 8
[centos@esrp-0a ~]$ uname -a
Linux esrp-0a.fl.nga911.com 4.18.0-536.el8.aarch64 #1 SMP Thu Jan 18 15:21:54 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux
[centos@esrp-0a coredump]# sudo rpm -qa | grep openssl
openssl-devel-1.1.1k-12.el8.aarch64
openssl-libs-1.1.1k-12.el8.aarch64
openssl-1.1.1k-12.el8.aarch64
[centos@esrp-0a ~]$ kamailio -v
version: kamailio 5.8.2 (aarch64/linux) f0f03c-dirty
flags: USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MMAP, PKG_MALLOC, MEM_JOIN_FREE, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT-NOSMP, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLOCKLIST, HAVE_RESOLV_RES, TLS_PTHREAD_MUTEX_SHARED
ADAPTIVE_WAIT_LOOPS 1024, MAX_RECV_BUFFER_SIZE 262144, MAX_SEND_BUFFER_SIZE 262144, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: f0f03c -dirty
compiled on 18:18:25 Jul 17 2024 with gcc 8.5.0
This is stack backtrace for this crash on kamailio 5.8.2, it looks the same
(gdb) bt full
#0 0x0000ffff9e7f05d8 in event_del_ () from /lib64/libevent-2.1.so.6
No symbol table info available.
#1 0x0000ffff9db99c14 in sock_cb (e=0xffffa11cdb80, s=9, what=4, cbp=0xffffa106c4b0, sockp=0xffffa11fb400) at http_multi.c:170
g = 0xffffa106c4b0
cell = 0xffffa11fb400
whatstr = {0xffff9dbbb718 "none", 0xffff9dbbb720 "IN", 0xffff9dbbb728 "OUT", 0xffff9dbbb730 "INOUT", 0xffff9dbbb738 "REMOVE"}
__func__ = "sock_cb"
#2 0x0000ffff9db0ffa8 in Curl_multi_closed () from /lib64/libcurl.so.4
No symbol table info available.
#3 0x0000ffff9db0d43c in Curl_closesocket () from /lib64/libcurl.so.4
No symbol table info available.
#4 0x0000ffff9dafc8f8 in conn_free.part () from /lib64/libcurl.so.4
No symbol table info available.
#5 0x0000ffff9dafd544 in Curl_disconnect () from /lib64/libcurl.so.4
No symbol table info available.
#6 0x0000ffff9db10948 in multi_done () from /lib64/libcurl.so.4
No symbol table info available.
#7 0x0000ffff9db12b10 in curl_multi_remove_handle () from /lib64/libcurl.so.4
No symbol table info available.
#8 0x0000ffff9db9801c in event_cb (fd=59, kind=1, userp=0xffffa11cdb80) at http_multi.c:124
error = 0xffff9dbbae80 "TIMEOUT"
g = 0xffffa106c4b0
rc = 2040172201
easy = 0xffffa11cdb80
cell = 0xffffa11fb400
__func__ = "event_cb"
action = 0
#9 0x0000ffff9e7f3628 in event_process_active_single_queue () from /lib64/libevent-2.1.so.6
No symbol table info available.
#10 0x0000ffff9e7f3ee8 in event_base_loop () from /lib64/libevent-2.1.so.6
No symbol table info available.
#11 0x0000ffff9db87250 in async_http_run_worker (worker=0xffffa09e0f40) at async_http.c:95
ret = 65535
__func__ = "async_http_run_worker"
#12 0x0000ffff9dbac578 in child_init (rank=0) at http_async_client_mod.c:388
pid = 0
i = 0
__func__ = "child_init"
#13 0x00000000005fd458 in init_mod_child (m=0xffffb086bd80, rank=0) at core/sr_module.c:920
ret = 0
__func__ = "init_mod_child"
#14 0x00000000005fcfe8 in init_mod_child (m=0xffffb086cba0, rank=0) at core/sr_module.c:912
ret = 0
__func__ = "init_mod_child"
#15 0x00000000005fcfe8 in init_mod_child (m=0xffffb086e740, rank=0) at core/sr_module.c:912
ret = 0
__func__ = "init_mod_child"
#16 0x00000000005fcfe8 in init_mod_child (m=0xffffb08aaf90, rank=0) at core/sr_module.c:912
ret = 0
__func__ = "init_mod_child"
#17 0x00000000005fcfe8 in init_mod_child (m=0xffffb090dbe0, rank=0) at core/sr_module.c:912
ret = 0
__func__ = "init_mod_child"
#18 0x00000000005fcfe8 in init_mod_child (m=0xffffb09634e0, rank=0) at core/sr_module.c:912
ret = 1
__func__ = "init_mod_child"
#19 0x00000000005fde74 in init_child (rank=0) at core/sr_module.c:999
ret = -762743888
type = 0x939e78 "PROC_MAIN"
__func__ = "init_child"
#20 0x00000000004339e0 in main_loop () at main.c:1942
i = 8
pid = 3440811
si = 0x0
si_desc = "udp receiver child=7 sock=[2605:84c0:4a:204:1::6]:5080\000\000\270\322&\260\377\377\000\000\360t\211\322\377\377\000\000\020\211\206\260\377\377\000\000\300t\211\322\377\377\000\000\320\377\377\377\200\377\377\377\340t\211\322\377\377\000\000\360t\211\322\377\377\000\000\360t\211\322\377\377\000\000\300t\211\322\377\377\000"
nrprocs = 8
woneinit = 1
__func__ = "main_loop"
#21 0x0000000000440020 in main (argc=11, argv=0xffffd2897a88) at main.c:3256
cfg_stream = 0x2c8702a0
c = -1
r = 0
tmp = 0xffffd289fe34 ""
tmp_len = 65535
port = 5060
proto = 0
aproto = 0
ahost = 0x0
aport = 0
options = 0x8fd0b8 ":f:cm:M:dVIhEeb:B:l:L:n:vKrRDTN:W:w:t:u:g:P:G:SQ:O:a:A:x:X:Y:"
ret = -1
seed = 1933999959
rfd = 4
debug_save = 0
debug_flag = 0
dont_fork_cnt = 2
n_lst = 0xffffb3276390 <__pthread_initialize_minimal+688>
p = 0xffffb3114348 <__libc_start_main+160> ""
st = {st_dev = 25, st_ino = 18453, st_mode = 16877, st_nlink = 3, st_uid = 0, st_gid = 987, st_rdev = 0, __pad1 = 0, st_size = 80, st_blksize = 65536, __pad2 = 0, st_blocks = 0, st_atim = {tv_sec = 1708716961, tv_nsec = 749999981}, st_mtim = {tv_sec = 1730276508, tv_nsec = 825303614}, st_ctim = {tv_sec = 1730276531, tv_nsec = 494692804}, __glibc_reserved = {0, 0}}
l1 = 256
tbuf = "\330\375F\263\377\377", '\000' <repeats 58 times>, "x\376F\263\377\377\000\000h\376F\263\377\377\000\000\b\376F\263\377\377\000\000(\376F\263\377\377\000\000\070\376F\263\377\377\000\000\250\376F\263\377\377\000\000\270\376F\263\377\377\000\000\310\376F\263\377\377\000\000H\376F\263\377\377\000\000X\376F\263\377\377", '\000' <repeats 18 times>, "\330\375F\263\377\377", '\000' <repeats 42 times>...
option_index = 12
long_options = {{name = 0x8ff528 "help", has_arg = 0, flag = 0x0, val = 104}, {name = 0x8fa228 "version", has_arg = 0, flag = 0x0, val = 118}, {name = 0x8ff530 "alias", has_arg = 1, flag = 0x0, val = 1024}, {name = 0x8ff538 "subst", has_arg = 1, flag = 0x0, val = 1025}, {name = 0x8ff540 "substdef", has_arg = 1, flag = 0x0, val = 1026}, {name = 0x8ff550 "substdefs", has_arg = 1, flag = 0x0, val = 1027}, {name = 0x8ff560 "server-id", has_arg = 1, flag = 0x0, val = 1028}, {name = 0x8ff570 "loadmodule", has_arg = 1, flag = 0x0, val = 1029}, {name = 0x8ff580 "modparam", has_arg = 1, flag = 0x0, val = 1030}, {name = 0x8ff590 "log-engine", has_arg = 1, flag = 0x0, val = 1031}, {name = 0x8ff5a0 "debug", has_arg = 1, flag = 0x0, val = 1032}, {name = 0x8ff5a8 "cfg-print", has_arg = 0, flag = 0x0, val = 1033}, {name = 0x8ff5b8 "atexit", has_arg = 1, flag = 0x0, val = 1034}, {name = 0x8ff5c0 "all-errors", has_arg = 0, flag = 0x0, val = 1035}, {name = 0x0, has_arg = 0, flag = 0x0, val = 0}}
__func__ = "main"
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.