Hello,
since it seems reproduces quite quickly, can you enable dumping of the core file on crash?
Usually requires to run:
ulimit -c unlimited
echo "1" > /proc/sys/kernel/core_uses_pid
Then start kamailio as root user and wait for the crash, when that happens, core files with name core.PID should be generated. Grab backtrace with gdb from each of those core files, see some additional details at:
* https://www.kamailio.org/wiki/tutorials/troubleshooting/coredumpfile
Cheers,
Daniel
Hi,
in my previous email I reported an issue with kamailio version 5.4.3 I wanted to test whether the kamailio will crash also on newer commits , so I upgraded kamailio to 5.4.4:
version: kamailio 5.4.4 (x86_64/linux) e46c76-dirty
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_BLACKLIST, 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: e46c76 -dirty
compiled on 14:58:45 Apr 13 2021 with gcc 8.3.0
But now I am receiving exactly every 5 min a segfault. It does not crash kamailio, kamailio keeps running.
Thank you for your help.
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla -- www.asipto.com www.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio Advanced Training - Online May 17-20, 2021 (Europe Timezone) - June 7-10, 2021 (America Timezone) * https://www.asipto.com/sw/kamailio-advanced-training-online/