[OpenSIPS-Devel] [opensips] error in infinite loop "io_watch_del: BUG - trying to del fd 34 with flags 2 1" (#591)

rgupta0110 notifications at github.com
Tue Aug 11 18:19:22 CEST 2015


Hi Bogdan, I have reproduced the issue and uploaded the core file along with opensips bins,libs and other logs at the following location

http://www81.zippyshare.com/v/LdXDN5r6/file.html

Call flow and timestamps :
1) Tue Aug 11 11:36:54 --- created a TCP connection to send out SIP NOTIFY to 10.205.203.130
2) Tue Aug 11 11:37:07 --- unplugged the network cable from the endpoint 10.205.203.130
3) Tue Aug 11 11:39:38 --- tcp connection timed out (FYI tcp_connection_lifetime=120 in opensips.cfg)
4) Tue Aug 11 11:41:08 --- Tried another call to the same end point while the network cable was unplugged. opensips created another TCP connection to send another SIP NOTIFY, netstat showed this connection in SYN_SENT state
5) 2015-08-11T11:42:10.000 --- the above connection went away from net stat and opensips started printed "BUG - trying to del fd 34 with flags 2 1 ABORT" and it generated the uploaded core file

following is the backtrace
#0  0x00007f217ed2a925 in raise () from /lib64/libc.so.6
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.132.el6.x86_64 keyutils-libs-1.4-4.el6.x86_64 krb5-libs-1.10.3-33.el6.x86_64 libcom_err-1.41.12-18.el6.x86_64 libselinux-2.0.94-5.3.el6_4.1.x86_64 openssl-1.0.1e-30.el6.x86_64 zlib-1.2.3-29.el6.x86_64
(gdb) bt
#0  0x00007f217ed2a925 in raise () from /lib64/libc.so.6
#1  0x00007f217ed2c105 in abort () from /lib64/libc.so.6
#2  0x00000000004aa981 in io_watch_del (fd=34, idx=<value optimized out>, flags=0, sock_flags=1, h=0x7e6d00) at io_wait.h:608
#3  0x00000000004b049b in handle_tcpconn_ev (tcpconn=0x7f216b26eb00, fd_i=-1, event_type=<value optimized out>) at tcp_main.c:1560
#4  0x00000000004b7eba in io_wait_loop_epoll () at io_wait.h:846
#5  tcp_main_loop () at tcp_main.c:2138
#6  0x0000000000438058 in main_loop (argc=<value optimized out>, argv=<value optimized out>) at main.c:1053
#7  main (argc=<value optimized out>, argv=<value optimized out>) at main.c:1634

Thanks
Rahul Gupta

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/591#issuecomment-129952925
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20150811/27e6504a/attachment-0001.htm>


More information about the Devel mailing list