<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    <tt>Hello,<br>
      <br>
      Thanks to the help in debugging this, the bug was found and a
      patch is available for testing (see attached). Please have it
      tested and let me know if it fixes the problem.<br>
      <br>
      Regards,<br>
    </tt>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
    <br>
    On 05/16/2013 07:28 PM, Ronald Cepres wrote:
    <blockquote
cite="mid:CAGCQ4Joakj6qTxkcWkMNL0ZV7XMoRTMdMCzqCNH24dkn9MePiQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <p style="margin: 0px; padding: 0px 10px 1em; border: 0px none;
          outline: 0px none; font-size: 13px; vertical-align: baseline;
          color: rgb(85, 85, 85); font-family: sans-serif; line-height:
          18px;">Drouting crashes when selecting next gateway. Did a
          little investigation, and FWIW the next gateway's carrier
          status is disabled but the carrier's only gateway is enabled.
          Looked at the backtrace of the core dump, and found that it
          crashed while comparing two strings on get_gw_by_id called by
          use_next_gw. The strings compared were apparently GW ID
          strings.</p>
        <p style="margin: 0px; padding: 0px 10px 1em; border: 0px none;
          outline: 0px none; font-size: 13px; vertical-align: baseline;
          color: rgb(85, 85, 85); font-family: sans-serif; line-height:
          18px;">I attached the GDB btfull logs (replaced some sensitive
          info with dummy text) for reference. Take note that 'dont
          optimize' flag was not set so some of the values were
          optimized and the crash happened randomly so I can't actually
          reproduce the crash.</p>
        <p style="margin: 0px; padding: 0px 10px 1em; border: 0px none;
          outline: 0px none; font-size: 13px; vertical-align: baseline;
          color: rgb(85, 85, 85); font-family: sans-serif; line-height:
          18px;">I'm using Opensips 1.9 using this source tarball:&nbsp;<a
            moz-do-not-send="true"
href="http://opensips.org/pub/opensips/latest/src/opensips-1.9.0_src.tar.gz"
            rel="nofollow" style="margin: 0px; padding: 0px;
            vertical-align: baseline; background-color: transparent;
            outline: medium none; color: rgb(0, 102, 153);
            text-decoration: none;">http://opensips.org/pub/opensips/latest/src/opensips-1.9.0_src.tar.gz</a></p>
        <div><br>
        </div>
        -- <br>
        <div dir="ltr"><br>
          <div>Regards,</div>
          <div><br>
          </div>
          <div>Ronald Cepres</div>
          <div><br>
          </div>
        </div>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Devel@lists.opensips.org">Devel@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/devel">http://lists.opensips.org/cgi-bin/mailman/listinfo/devel</a>
</pre>
    </blockquote>
  </body>
</html>