I have recently moved some traffic to kamailio-4.2 (installed on a seperate box) and it crashes quite often. Below is the backtrace of the core files -
(gdb) bt
#0 0x00000033d8c32635 in raise () from /lib64/libc.so.6
#1 0x00000033d8c33e15 in abort () from /lib64/libc.so.6
#2 0x000000000049add5 in sig_alarm_abort (signo=14) at main.c:689
#3 <signal handler called>
#4 0x00000033d8ce50c7 in syscall () from /lib64/libc.so.6
#5 0x00007f7ca2ea0a1e in futex_get (lock=0x7f7ca3334388) at ../../mem/../futexlock.h:110
#6 0x00007f7ca2ea1e99 in remove_dialog_timer (tl=0x7f7ca3384c98) at dlg_timer.c:168
#7 0x00007f7ca2e83e9b in destroy_dlg (dlg=0x7f7ca3384c40) at dlg_hash.c:357
#8 0x00007f7ca2e84e19 in destroy_dlg_table () at dlg_hash.c:438
#9 0x00007f7ca2e50b89 in mod_destroy () at dialog.c:773
#10 0x000000000058dfd5 in destroy_modules () at sr_module.c:818
#11 0x0000000000499ad3 in cleanup (show_status=1) at main.c:564
#12 0x000000000049b096 in shutdown_children (sig=15, show_status=1) at main.c:706
#13 0x000000000049d66c in handle_sigs () at main.c:797
#14 0x00000000004a4e57 in main_loop () at main.c:1757
#15 0x00000000004a8a43 in main (argc=2, argv=0x7fff58d21368) at main.c:2609
(gdb) quit
<CORE#2>
(gdb) bt
#0 0x00007f7ca2ea22d7 in update_dlg_timer (tl=0x58, timeout=10) at dlg_timer.c:203
#1 0x00007f7ca2e824f3 in dlg_clean_run (ti=44865910) at dlg_hash.c:253
#2 0x00007f7ca2e566fc in dlg_clean_timer_exec (ticks=44865910, param=0x0) at dialog.c:1250
#3 0x00000000005f93e8 in fork_sync_timer (child_id=-1, desc=0x7f7ca2eb3a71 "Dialog Clean Timer", make_sock=1, f=0x7f7ca2e566e3 <dlg_clean_timer_exec>, param=0x0,
interval=90) at timer_proc.c:232
#4 0x00007f7ca2e50476 in child_init (rank=0) at dialog.c:730
#5 0x000000000058e385 in init_mod_child (m=0x7f7ca8c09eb8, rank=0) at sr_module.c:930
#6 0x000000000058e0c0 in init_mod_child (m=0x7f7ca8c0b000, rank=0) at sr_module.c:927
#7 0x000000000058e68f in init_child (rank=0) at sr_module.c:957
#8 0x00000000004a435c in main_loop () at main.c:1705
#9 0x00000000004a8a43 in main (argc=2, argv=0x7fff58d21368) at main.c:2609
(gdb) quit
kamailio -v
version: kamailio 4.2.0-pre0 (x86_64/linux) a78764-dirty
flags: STATS: Off, USE_TCP, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, DBG_F_MALLOC, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 4MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: a78764 -dirty
Kindly let me know which version to move.
--
Warm Regds.
MathuRahul