<div dir="ltr">Spot on Liviu.  Thought I checked everything new in the database but I missed that the datatype changed.  That fixed it.<div><br></div><div>Thanks.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Mon, Aug 18, 2014 at 12:43 AM, Liviu Chircu <span dir="ltr">&lt;<a href="mailto:liviu@opensips.org" target="_blank">liviu@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">

  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <div><font face="monospace">Hello Duane,<br>
        <br>
        Make sure the &quot;cflags&quot; column is also migrated to a &quot;CHAR&quot; type
        instead of the old &quot;INT&quot; type.<br>
        <br>
        Best regards,</font><br>
      <pre cols="72">Liviu Chircu
OpenSIPS Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre><div><div class="h5">
      On 18.08.2014 01:50, Duane Larson wrote:<br>
    </div></div></div>
    <blockquote type="cite"><div><div class="h5">
      <div dir="ltr">I am trying to upgrade to the latest version and I
        am running into some segfault issues
        <div><br>
        </div>
        <div>I&#39;ve update the database version numbers and don&#39;t have any
          WARNINGs showing up when I start OpenSIPS.  Here is the issue
          I see in syslog</div>
        <div><br>
        </div>
        <div>
          <div>Aug 17 17:44:51 SIPProxy02 kernel: [25783210.686957]
            opensips[18086]: segfault at 0 ip 00007f45fc9bcbbe sp
            00007fffe7daee80 error 4 in usrloc.so[7f45fc9b5000+27000]</div>
          <div>Aug 17 17:44:55 SIPProxy02
            /usr/local/sbin/opensips[18072]: <a>INFO:core:handle_sigs</a>:
            child process 18086 exited by a signal 11</div>
          <div>Aug 17 17:44:55 SIPProxy02
            /usr/local/sbin/opensips[18072]: <a>INFO:core:handle_sigs</a>: core
            was generated</div>
          <div>Aug 17 17:44:55 SIPProxy02
            /usr/local/sbin/opensips[18072]: <a>INFO:core:handle_sigs</a>:
            terminating due to SIGCHLD</div>
          <div>Aug 17 17:44:55 SIPProxy02
            /usr/local/sbin/opensips[18087]: <a>INFO:core:sig_usr</a>: signal
            15 received</div>
          <div>Aug 17 17:44:55 SIPProxy02
            /usr/local/sbin/opensips[18085]: <a>INFO:core:sig_usr</a>: signal
            15 received</div>
          <div>
            Aug 17 17:44:55 SIPProxy02 /usr/local/sbin/opensips[18081]:
            <a>INFO:core:sig_usr</a>: signal 15 received</div>
          <div>Aug 17 17:44:55 SIPProxy02
            /usr/local/sbin/opensips[18079]: <a>INFO:core:sig_usr</a>: signal
            15 received</div>
          <div>Aug 17 17:44:55 SIPProxy02
            /usr/local/sbin/opensips[18077]: <a>INFO:core:sig_usr</a>: signal
            15 received</div>
          <div>Aug 17 17:44:55 SIPProxy02
            /usr/local/sbin/opensips[18088]: <a>INFO:core:sig_usr</a>: signal
            15 received</div>
          <div>Aug 17 17:44:55 SIPProxy02
            /usr/local/sbin/opensips[18078]: <a>INFO:core:sig_usr</a>: signal
            15 received</div>
          <div>
            Aug 17 17:44:55 SIPProxy02 /usr/local/sbin/opensips[18084]:
            <a>INFO:core:sig_usr</a>: signal 15 received</div>
          <div>Aug 17 17:44:55 SIPProxy02
            /usr/local/sbin/opensips[18076]: <a>INFO:core:sig_usr</a>: signal
            15 received</div>
          <div>Aug 17 17:44:55 SIPProxy02
            /usr/local/sbin/opensips[18075]: <a>INFO:core:sig_usr</a>: signal
            15 received</div>
          <div>Aug 17 17:44:55 SIPProxy02
            /usr/local/sbin/opensips[18083]: <a>INFO:core:sig_usr</a>: signal
            15 received</div>
          <div>Aug 17 17:44:55 SIPProxy02
            /usr/local/sbin/opensips[18080]: <a>INFO:core:sig_usr</a>: signal
            15 received</div>
          <div>
            Aug 17 17:44:55 SIPProxy02 /usr/local/sbin/opensips[18074]:
            <a>INFO:core:sig_usr</a>: signal 15 received</div>
          <div>Aug 17 17:44:55 SIPProxy02
            /usr/local/sbin/opensips[18072]: <a>INFO:core:cleanup</a>: cleanup</div>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Here is what the core dump says</div>
        <div><br>
        </div>
        <div>
          <div>Program terminated with signal 11, Segmentation fault.</div>
          <div>#0  0x00007f45fc9bcbbe in get_all_db_ucontacts
            (buf=&lt;value optimized out&gt;, len=&lt;value optimized
            out&gt;, flags=&lt;value optimized out&gt;,
            part_idx=&lt;value optimized out&gt;, part_max=&lt;value
            optimized out&gt;) at dlist.c:200</div>
          <div>200                                     flag_list.len =
            strlen(flag_list.s);</div>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Here is the backtrace</div>
        <div>
          <div>(gdb) backtrace</div>
          <div>#0  0x00007f45fc9bcbbe in get_all_db_ucontacts
            (buf=&lt;value optimized out&gt;, len=&lt;value optimized
            out&gt;, flags=&lt;value optimized out&gt;,
            part_idx=&lt;value optimized out&gt;, part_max=&lt;value
            optimized out&gt;) at dlist.c:200</div>
          <div>#1  get_all_ucontacts (buf=&lt;value optimized out&gt;,
            len=&lt;value optimized out&gt;, flags=&lt;value optimized
            out&gt;, part_idx=&lt;value optimized out&gt;,
            part_max=&lt;value optimized out&gt;) at dlist.c:506</div>
          <div>#2  0x00007f45f9040e81 in nh_timer (ticks=&lt;value
            optimized out&gt;, timer_idx=&lt;value optimized out&gt;) at
            nathelper.c:1175</div>
          <div>#3  0x00000000004d0790 in timer_ticker () at timer.c:384</div>
          <div>#4  run_timer_process () at timer.c:477</div>
          <div>#5  start_timer_processes () at timer.c:616</div>
          <div>#6  0x000000000043c30b in main_loop (argc=&lt;value
            optimized out&gt;, argv=&lt;value optimized out&gt;) at
            main.c:1016</div>
          <div>#7  main (argc=&lt;value optimized out&gt;,
            argv=&lt;value optimized out&gt;) at main.c:1634</div>
        </div>
        <div><br>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </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>--<br>*--*--*--*--*--*<br>Duane<br>*--*--*--*--*--*<br>--
</div>