Hi,
I have recently migrated from Kamailio 5.2.5 to Kamailio 5.5.7. After a
migration, the Kamailio crashed. Find the details below. Thanks in advance.
Back trace:
=========
Core was generated by `/usr/local/sbin/kamailio -DD -E -m 1941 -M 970 -f
/etc/kamailio/kamailio.cfg --'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f8e27a2be15 in OPENSSL_cleanse () from
/lib/x86_64-linux-gnu/libcrypto.so.3
(gdb) bt
#0 0x00007f8e27a2be15 in OPENSSL_cleanse () from
/lib/x86_64-linux-gnu/libcrypto.so.3
#1 0x00007f8e278faa8a in CRYPTO_clear_free () from
/lib/x86_64-linux-gnu/libcrypto.so.3
#2 0x00007f8e27838175 in BUF_MEM_free () from
/lib/x86_64-linux-gnu/libcrypto.so.3
#3 0x00007f8e27bc0c98 in SSL_free () from /lib/x86_64-linux-gnu/libssl.so.3
#4 0x00007f8e27c8cd6e in tls_h_tcpconn_clean_f (c=0x7f8db0fa1e90) at
tls_server.c:701
#5 0x000055f7f42cc6e1 in _tcpconn_free (c=0x7f8db0fa1e90) at
core/tcp_main.c:1541
#6 0x000055f7f42e2f3c in tcpconn_put_destroy (tcpconn=0x7f8db0fa1e90) at
core/tcp_main.c:3285
#7 0x000055f7f42e8759 in handle_tcp_child (tcp_c=0x7f8e27d88078, fd_i=-1)
at core/tcp_main.c:3722
#8 0x000055f7f42f506f in handle_io (fm=0x7f8e27db1578, ev=1, idx=-1) at
core/tcp_main.c:4539
#9 0x000055f7f42b6e49 in io_wait_loop_epoll (h=0x55f7f45ae240 <io_h>, t=5,
repeat=0) at core/io_wait.h:1070
#10 0x000055f7f42f8bc3 in tcp_main_loop () at core/tcp_main.c:4824
#11 0x000055f7f4057fc2 in main_loop () at main.c:1856
#12 0x000055f7f4062670 in main (argc=10, argv=0x7ffc6d583528) at main.c:3052
OS: Ubuntu 22.04.5 LTS \n \l
# kamailio --version version: kamailio 5.5.7 (x86_64/linux) 272fdd flags:
USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE,
USE_MCAST, DNS_IP_HACK, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC,
TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT,
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_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT
PKG_SIZE 8MB poll method support: poll, epoll_lt, epoll_et, sigio_rt,
select. id: 272fdd compiled on 14:21:35 Oct 21 2024 with gcc 11.4.0
# dpkg -l |grep openssl ii openssl 3.0.2-0ubuntu1.18 amd64 Secure Sockets
Layer toolkit - cryptographic utility
Regards.