<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body text="#000000" bgcolor="#ffffff">
    <tt>Ups, sorry...here is the proper patch.<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/20/2013 07:40 PM, Ronald Cepres wrote:
    <blockquote
cite="mid:CAGCQ4Jo7fBb5SuUDccEE32GqzZsdfFM9yhLj8-1bS-cV32KGDQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi Bogdan,
        <div><br>
        </div>
        <div>Thanks for the reply. However, the patch that is attached
          is empty (0 bytes and doesn't contain anything).</div>
        <div><br>
        </div>
        <div style="">Regards,</div>
      </div>
      <div class="gmail_extra">
        <br>
        <br>
        <div class="gmail_quote">On Tue, May 21, 2013 at 12:36 AM,
          Bogdan-Andrei Iancu <span dir="ltr">&lt;<a
              moz-do-not-send="true" href="mailto:bogdan@opensips.org"
              target="_blank">bogdan@opensips.org</a>&gt;</span> wrote:<br>
          <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
            0.8ex; border-left: 1px solid rgb(204, 204, 204);
            padding-left: 1ex;">
            <div 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 cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
              <div>
                <div class="h5"> <br>
                  On 05/16/2013 07:28 PM, Ronald Cepres wrote: </div>
              </div>
              <blockquote type="cite">
                <div>
                  <div class="h5">
                    <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;" target="_blank">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>
                  </div>
                </div>
                <pre><fieldset></fieldset>
_______________________________________________
Devel mailing list
<a moz-do-not-send="true" href="mailto:Devel@lists.opensips.org" target="_blank">Devel@lists.opensips.org</a>
<a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/devel" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/devel</a>
</pre>
              </blockquote>
            </div>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        <div dir="ltr"><br>
          Ronald Cepres<br>
          Network Operations Center<br>
          Net Voip Communications, Inc.<br>
          <br>
          <br>
          This message contains confidential information and is intended
          only<br>
          for the individual named. If you are not the named addressee
          you<br>
          should not disseminate, distribute or copy this e-mail. Please
          notify<br>
          the sender immediately by e-mail if you have received this
          e-mail by<br>
          mistake and delete this e-mail from your system. E-mail
          transmission<br>
          cannot be guaranteed to be secure or error-free as information
          could<br>
          be intercepted, corrupted, lost, destroyed, arrive late or
          incomplete,<br>
          or contain viruses. The sender therefore does not accept
          liability for<br>
          any errors or omissions in the contents of this message, which
          arise<br>
          as a result of e-mail transmission. If verification is
          required please<br>
          request a hard-copy version. Net Voip Communications, Inc.,
          2721<br>
          Forsyth Rd #256, Winter park, FL 32792.&nbsp;<a
            moz-do-not-send="true"
            href="http://www.netvoipcommunications.com/" style="color:
            rgb(17, 85, 204);" target="_blank">www.netvoipcommunications.com</a><br>
          <br>
        </div>
      </div>
    </blockquote>
  </body>
</html>