Hi, we had this same kind of crash last night:
``` kamailio[19419]: ERROR: <core> [io_wait.h:394]: io_watch_add(): trying to overwrite entry 564 watched for 1 in the hash(564, 2, 0x7fc348f5b960) with (564, 2, 0x7fc34aca4420) kamailio[19419]: CRITICAL: <core> [tcp_main.c:4049]: handle_new_connect(): failed to add new socket to the fd list kamailio[19419]: CRITICAL: <core> [pass_fd.c:293]: receive_fd(): EOF on 125 kamailio[19324]: ALERT: <core> [main.c:784]: handle_sigs(): child process 19417 exited by a signal 11 kamailio[19324]: ALERT: <core> [main.c:787]: handle_sigs(): core was generated ```
We have the backtrace:
``` #0 0x0000000000566906 in local_timer_list_expire (l=0xa37f80 <tcp_reader_ltimer>, t=1559677467, h=0xa42138 <tcp_reader_ltimer+41400>) at local_timer.c:214 #1 0x0000000000566a60 in local_timer_expire (h=0xa37f80 <tcp_reader_ltimer>, t=1559677467) at local_timer.c:243 #2 0x0000000000566d0a in local_timer_run (lt=0xa37f80 <tcp_reader_ltimer>, saved_ticks=1559677469) at local_timer.c:266 #3 0x00000000005f94fe in tcp_reader_timer_run () at tcp_read.c:1713 #4 0x00000000005f986f in tcp_receive_loop (unix_sock=129) at tcp_read.c:1765 #5 0x00000000004e75d8 in tcp_init_children () at tcp_main.c:4880 #6 0x0000000000517828 in main_loop () at main.c:1714 #7 0x000000000051caec in main (argc=15, argv=0x7fff764de168) at main.c:2581 ``` local_timer.c:214 corresponds to:
``` while(h->next!=(struct timer_ln*)h){ tl=h->next; => _timer_rm_list(tl); /* detach */ tl->next=tl->prev=0; /* debugging */ /*FIXME: process tcpconn */ ```
We are running kamailio 4.2.4 (with backports of tcpops module and ursloc's close_expired_tcp new feature)
Any idea?
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/158#issuecomment-113459306