<div dir="ltr">Thanks, will apply this patch and let you know if the bug still occurs.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 21, 2013 at 12:44 AM, Bogdan-Andrei Iancu <span dir="ltr">&lt;<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>

  
    
    
  
  <div text="#000000" bgcolor="#ffffff">
    <tt>Ups, sorry...here is the proper patch.<br>
      <br>
      Regards,<br>
    </tt><div class="im">
    <pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
    <br></div><div><div class="h5">
    On 05/20/2013 07:40 PM, Ronald Cepres wrote:
    <blockquote 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&#39;t contain anything).</div>
        <div><br>
        </div>
        <div>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 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 href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
              <div>
                <div> <br>
                  On 05/16/2013 07:28 PM, Ronald Cepres wrote: </div>
              </div>
              <blockquote type="cite">
                <div>
                  <div>
                    <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&#39;s carrier status is disabled
                        but the carrier&#39;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 &#39;dont optimize&#39; flag
                        was not set so some of the values were optimized
                        and the crash happened randomly so I can&#39;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&#39;m using Opensips 1.9 using this source
                        tarball: <a 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 href="mailto:Devel@lists.opensips.org" target="_blank">Devel@lists.opensips.org</a>
<a 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. <a href="http://www.netvoipcommunications.com/" style="color:rgb(17,85,204)" target="_blank">www.netvoipcommunications.com</a><br>
          <br>
        </div>
      </div>
    </blockquote>
  </div></div></div>

<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></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. <a href="http://www.netvoipcommunications.com/" style="color:rgb(17,85,204)" target="_blank">www.netvoipcommunications.com</a><br>
<br></div>
</div>