<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix"><font face="monospace">Hello Duane,<br>
<br>
Make sure the "cflags" column is also migrated to a "CHAR" type
instead of the old "INT" type.<br>
<br>
Best regards,</font><br>
<pre class="moz-signature" cols="72">Liviu Chircu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
On 18.08.2014 01:50, Duane Larson wrote:<br>
</div>
<blockquote
cite="mid:CAFcM1Eq2mL0GZb6PZX0uoji_4Kh=s7tdurAU8Ne3VK9qdzGeCQ@mail.gmail.com"
type="cite">
<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've update the database version numbers and don'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 class="moz-txt-link-freetext" href="INFO:core:handle_sigs">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 class="moz-txt-link-freetext" href="INFO:core:handle_sigs">INFO:core:handle_sigs</a>: core
was generated</div>
<div>Aug 17 17:44:55 SIPProxy02
/usr/local/sbin/opensips[18072]: <a class="moz-txt-link-freetext" href="INFO:core:handle_sigs">INFO:core:handle_sigs</a>:
terminating due to SIGCHLD</div>
<div>Aug 17 17:44:55 SIPProxy02
/usr/local/sbin/opensips[18087]: <a class="moz-txt-link-freetext" href="INFO:core:sig_usr">INFO:core:sig_usr</a>: signal
15 received</div>
<div>Aug 17 17:44:55 SIPProxy02
/usr/local/sbin/opensips[18085]: <a class="moz-txt-link-freetext" href="INFO:core:sig_usr">INFO:core:sig_usr</a>: signal
15 received</div>
<div>
Aug 17 17:44:55 SIPProxy02 /usr/local/sbin/opensips[18081]:
<a class="moz-txt-link-freetext" href="INFO:core:sig_usr">INFO:core:sig_usr</a>: signal 15 received</div>
<div>Aug 17 17:44:55 SIPProxy02
/usr/local/sbin/opensips[18079]: <a class="moz-txt-link-freetext" href="INFO:core:sig_usr">INFO:core:sig_usr</a>: signal
15 received</div>
<div>Aug 17 17:44:55 SIPProxy02
/usr/local/sbin/opensips[18077]: <a class="moz-txt-link-freetext" href="INFO:core:sig_usr">INFO:core:sig_usr</a>: signal
15 received</div>
<div>Aug 17 17:44:55 SIPProxy02
/usr/local/sbin/opensips[18088]: <a class="moz-txt-link-freetext" href="INFO:core:sig_usr">INFO:core:sig_usr</a>: signal
15 received</div>
<div>Aug 17 17:44:55 SIPProxy02
/usr/local/sbin/opensips[18078]: <a class="moz-txt-link-freetext" href="INFO:core:sig_usr">INFO:core:sig_usr</a>: signal
15 received</div>
<div>
Aug 17 17:44:55 SIPProxy02 /usr/local/sbin/opensips[18084]:
<a class="moz-txt-link-freetext" href="INFO:core:sig_usr">INFO:core:sig_usr</a>: signal 15 received</div>
<div>Aug 17 17:44:55 SIPProxy02
/usr/local/sbin/opensips[18076]: <a class="moz-txt-link-freetext" href="INFO:core:sig_usr">INFO:core:sig_usr</a>: signal
15 received</div>
<div>Aug 17 17:44:55 SIPProxy02
/usr/local/sbin/opensips[18075]: <a class="moz-txt-link-freetext" href="INFO:core:sig_usr">INFO:core:sig_usr</a>: signal
15 received</div>
<div>Aug 17 17:44:55 SIPProxy02
/usr/local/sbin/opensips[18083]: <a class="moz-txt-link-freetext" href="INFO:core:sig_usr">INFO:core:sig_usr</a>: signal
15 received</div>
<div>Aug 17 17:44:55 SIPProxy02
/usr/local/sbin/opensips[18080]: <a class="moz-txt-link-freetext" href="INFO:core:sig_usr">INFO:core:sig_usr</a>: signal
15 received</div>
<div>
Aug 17 17:44:55 SIPProxy02 /usr/local/sbin/opensips[18074]:
<a class="moz-txt-link-freetext" href="INFO:core:sig_usr">INFO:core:sig_usr</a>: signal 15 received</div>
<div>Aug 17 17:44:55 SIPProxy02
/usr/local/sbin/opensips[18072]: <a class="moz-txt-link-freetext" href="INFO:core:cleanup">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=<value optimized out>, len=<value optimized
out>, flags=<value optimized out>,
part_idx=<value optimized out>, part_max=<value
optimized out>) 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=<value optimized out>, len=<value optimized
out>, flags=<value optimized out>,
part_idx=<value optimized out>, part_max=<value
optimized out>) at dlist.c:200</div>
<div>#1 get_all_ucontacts (buf=<value optimized out>,
len=<value optimized out>, flags=<value optimized
out>, part_idx=<value optimized out>,
part_max=<value optimized out>) at dlist.c:506</div>
<div>#2 0x00007f45f9040e81 in nh_timer (ticks=<value
optimized out>, timer_idx=<value optimized out>) 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=<value
optimized out>, argv=<value optimized out>) at
main.c:1016</div>
<div>#7 main (argc=<value optimized out>,
argv=<value optimized out>) at main.c:1634</div>
</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>