<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]: INFO:core:handle_sigs: child process 18086 exited by a signal 11</div>
<div>Aug 17 17:44:55 SIPProxy02 /usr/local/sbin/opensips[18072]: INFO:core:handle_sigs: core was generated</div><div>Aug 17 17:44:55 SIPProxy02 /usr/local/sbin/opensips[18072]: INFO:core:handle_sigs: terminating due to SIGCHLD</div>
<div>Aug 17 17:44:55 SIPProxy02 /usr/local/sbin/opensips[18087]: INFO:core:sig_usr: signal 15 received</div><div>Aug 17 17:44:55 SIPProxy02 /usr/local/sbin/opensips[18085]: INFO:core:sig_usr: signal 15 received</div><div>
Aug 17 17:44:55 SIPProxy02 /usr/local/sbin/opensips[18081]: INFO:core:sig_usr: signal 15 received</div><div>Aug 17 17:44:55 SIPProxy02 /usr/local/sbin/opensips[18079]: INFO:core:sig_usr: signal 15 received</div><div>Aug 17 17:44:55 SIPProxy02 /usr/local/sbin/opensips[18077]: INFO:core:sig_usr: signal 15 received</div>
<div>Aug 17 17:44:55 SIPProxy02 /usr/local/sbin/opensips[18088]: INFO:core:sig_usr: signal 15 received</div><div>Aug 17 17:44:55 SIPProxy02 /usr/local/sbin/opensips[18078]: INFO:core:sig_usr: signal 15 received</div><div>
Aug 17 17:44:55 SIPProxy02 /usr/local/sbin/opensips[18084]: INFO:core:sig_usr: signal 15 received</div><div>Aug 17 17:44:55 SIPProxy02 /usr/local/sbin/opensips[18076]: INFO:core:sig_usr: signal 15 received</div><div>Aug 17 17:44:55 SIPProxy02 /usr/local/sbin/opensips[18075]: INFO:core:sig_usr: signal 15 received</div>
<div>Aug 17 17:44:55 SIPProxy02 /usr/local/sbin/opensips[18083]: INFO:core:sig_usr: signal 15 received</div><div>Aug 17 17:44:55 SIPProxy02 /usr/local/sbin/opensips[18080]: INFO:core:sig_usr: signal 15 received</div><div>
Aug 17 17:44:55 SIPProxy02 /usr/local/sbin/opensips[18074]: INFO:core:sig_usr: signal 15 received</div><div>Aug 17 17:44:55 SIPProxy02 /usr/local/sbin/opensips[18072]: INFO:core:cleanup: 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>