<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Hi, Ravi!<br>
      <br>
      Are you using async TCP? Also, please update to the latest 1.11.9
      Version to get all the latest bug fixes.<br>
      <br>
      PS: also, please subscribe to the opensips mailing list, otherwise
      you might miss some emails.<br>
      <br>
      Best regards,<br>
    </tt>
    <pre class="moz-signature" cols="72">Răzvan Crainea
OpenSIPS Solutions
<a class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a></pre>
    <div class="moz-cite-prefix">On 01/27/2017 10:14 PM, Ravitez Ravi
      wrote:<br>
    </div>
    <blockquote
cite="mid:CANs_LF9gfbVzwAJm6X3jXknW7S6K5sT=qxNHCj=yrRv4Y4P+1A@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi All,
        <div>        Good Day,</div>
        <div>        OpenSips(1.11.5) is constantly crashing at
          " vfprintf ()"</div>
        <div>        Logs are filled up with the following error
          message </div>
        <div>              2017-01-24T18:14:02.000-05:00 [local2] [err]
          <a moz-do-not-send="true" href="http://E01Z01.dev.com">E01Z01.dev.com</a>
          /usr/sbin/opensips[4473]: ERROR:core:io_watch_del: trying to
          delete already erased entry 46 in the hash(0, 0, (nil)) )</div>
        <div>              2017-01-24T18:14:02.000-05:00 [local2] [err]
          <a moz-do-not-send="true" href="http://E01Z01.dev.com">E01Z01.dev.com</a>
          /usr/sbin/opensips[4473]: ERROR:core:tcp_read_req: bad
          request, state=0, error=2 buf:</div>
        <div><br>
        </div>
        <div>        We see the following in tcp_connection list :</div>
        <div>                Connection::  ID=4029 Type=<b>tcp</b> <b>State=18446744073709551615</b>
          Source=<a moz-do-not-send="true"
            href="http://172.29.106.95:5060">172.29.106.95:5060</a>
          Destination=<a moz-do-not-send="true"
            href="http://172.29.106.10:5060">172.29.106.10:5060</a>
          Timeout=2017-01-25 19:35:35 Pending lifetime=0</div>
        <div>        not sure if its a valid state.</div>
        <div>        Here's the debug log :</div>
        <div>        [20758]: DBG:core:tcp_read_req: - received from:
          port 5060</div>
        <div>        [20758]: DBG:core:print_ip: - received from: ip <b>172.29.106.95</b></div>
        <div>        [20758]: DBG:core:io_watch_del: io_watch_del op on
          index -1 52 (0x8100e0, 52, -1, 0x10,0x3) fd_no=2 called</div>
        <div>        [20758]: ERROR:core:io_watch_del: trying to delete
          already erased entry 52 in the hash(0, 0, (nil)) )</div>
        <div>        [20758]: DBG:core:release_tcpconn:  releasing con
          0x7f543179d700, state -2, fd=52, id=4029</div>
        <div>        [20758]: DBG:core:release_tcpconn:  extra_data
          (nil)  </div>
        <div>        [20758]: DBG:core:tcp_read_req: Using the global (
          per process ) buff</div>
        <div>        [20758]: ERROR:core:tcp_read_req: bad request,
          state=0, error=2 buf</div>
        <div><br>
        </div>
        <div>         Please find the attached Stack Trace and logs
          generated.</div>
        <div>         Not sure if this is already address in a different
          version of OpenSips or a know issue,please share your
          thoughts.</div>
        <div>         Thank you for your time.</div>
        <div><br>
        </div>
        <div>Attached Log File Contains Following Sections : </div>
        <div>
          <div>        Line 1: ###### Core 1  Time : 2017-01-24T18:04
            ######</div>
          <div><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>Line
            174: ###### Log Information ######<br>
          </div>
          <div><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>Line
            175: ###### Before Crash ######<br>
          </div>
          <div><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>Line
            188: 2017-01-24T18:04:29.000-05:00 [local2] [err] <a
              moz-do-not-send="true" href="http://E01Z01.dev.com">E01Z01.dev.com</a>
            /usr/sbin/opensips[31607]: ERROR:core:tls_shutdown:
            something wrong in SSL:        #### Crash ############<br>
          </div>
          <div><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>Line
            190: ###### After Crash ###### <br>
          </div>
          <div><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>Line
            215: ###### Continuous Errors ######<br>
          </div>
          <div><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>Line
            235: ######   Second Crash ######<br>
          </div>
          <div><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>Line
            249: ######  Core 2  Time : 2017-01-25T09:08 ######<br>
          </div>
          <div><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>Line
            421: ##### Core 3 Time : 2017-01-25T09:08 #####<br>
          </div>
          <div><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>Line
            619: ##### Core 4 Time : 2017-01-25T09:08 #####<br>
          </div>
          <div><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>Line
            820: ##### Core 5 Time : 2017-01-25T19:35 #####<br>
          </div>
          <div><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>Line
            1011: ##### Additional Logs ##### --> This section
            contains TCP Connection list and Debug information from
            Opensips<br>
          </div>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Regards,</div>
        <div>Ravitez.D</div>
        <div><br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>