[OpenSIPS-Users] Upgrading from 1.9 to 1.11 - usrloc issue
Duane Larson
duane.larson at gmail.com
Tue Aug 19 02:50:56 CEST 2014
Spot on Liviu. Thought I checked everything new in the database but I
missed that the datatype changed. That fixed it.
Thanks.
On Mon, Aug 18, 2014 at 12:43 AM, Liviu Chircu <liviu at opensips.org> wrote:
> Hello Duane,
>
> Make sure the "cflags" column is also migrated to a "CHAR" type instead of
> the old "INT" type.
>
> Best regards,
>
> Liviu Chircu
> OpenSIPS Developerhttp://www.opensips-solutions.com
>
> On 18.08.2014 01:50, Duane Larson wrote:
>
> I am trying to upgrade to the latest version and I am running into some
> segfault issues
>
> 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
>
> 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]
> Aug 17 17:44:55 SIPProxy02 /usr/local/sbin/opensips[18072]:
> INFO:core:handle_sigs: child process 18086 exited by a signal 11
> Aug 17 17:44:55 SIPProxy02 /usr/local/sbin/opensips[18072]:
> INFO:core:handle_sigs: core was generated
> Aug 17 17:44:55 SIPProxy02 /usr/local/sbin/opensips[18072]:
> INFO:core:handle_sigs: terminating due to SIGCHLD
> Aug 17 17:44:55 SIPProxy02 /usr/local/sbin/opensips[18087]:
> INFO:core:sig_usr: signal 15 received
> Aug 17 17:44:55 SIPProxy02 /usr/local/sbin/opensips[18085]:
> INFO:core:sig_usr: signal 15 received
> Aug 17 17:44:55 SIPProxy02 /usr/local/sbin/opensips[18081]:
> INFO:core:sig_usr: signal 15 received
> Aug 17 17:44:55 SIPProxy02 /usr/local/sbin/opensips[18079]:
> INFO:core:sig_usr: signal 15 received
> Aug 17 17:44:55 SIPProxy02 /usr/local/sbin/opensips[18077]:
> INFO:core:sig_usr: signal 15 received
> Aug 17 17:44:55 SIPProxy02 /usr/local/sbin/opensips[18088]:
> INFO:core:sig_usr: signal 15 received
> Aug 17 17:44:55 SIPProxy02 /usr/local/sbin/opensips[18078]:
> INFO:core:sig_usr: signal 15 received
> Aug 17 17:44:55 SIPProxy02 /usr/local/sbin/opensips[18084]:
> INFO:core:sig_usr: signal 15 received
> Aug 17 17:44:55 SIPProxy02 /usr/local/sbin/opensips[18076]:
> INFO:core:sig_usr: signal 15 received
> Aug 17 17:44:55 SIPProxy02 /usr/local/sbin/opensips[18075]:
> INFO:core:sig_usr: signal 15 received
> Aug 17 17:44:55 SIPProxy02 /usr/local/sbin/opensips[18083]:
> INFO:core:sig_usr: signal 15 received
> Aug 17 17:44:55 SIPProxy02 /usr/local/sbin/opensips[18080]:
> INFO:core:sig_usr: signal 15 received
> Aug 17 17:44:55 SIPProxy02 /usr/local/sbin/opensips[18074]:
> INFO:core:sig_usr: signal 15 received
> Aug 17 17:44:55 SIPProxy02 /usr/local/sbin/opensips[18072]:
> INFO:core:cleanup: cleanup
>
>
>
> Here is what the core dump says
>
> Program terminated with signal 11, Segmentation fault.
> #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
> 200 flag_list.len =
> strlen(flag_list.s);
>
>
>
> Here is the backtrace
> (gdb) backtrace
> #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
> #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
> #2 0x00007f45f9040e81 in nh_timer (ticks=<value optimized out>,
> timer_idx=<value optimized out>) at nathelper.c:1175
> #3 0x00000000004d0790 in timer_ticker () at timer.c:384
> #4 run_timer_process () at timer.c:477
> #5 start_timer_processes () at timer.c:616
> #6 0x000000000043c30b in main_loop (argc=<value optimized out>,
> argv=<value optimized out>) at main.c:1016
> #7 main (argc=<value optimized out>, argv=<value optimized out>) at
> main.c:1634
>
>
>
> _______________________________________________
> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
--
--
*--*--*--*--*--*
Duane
*--*--*--*--*--*
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140818/4ff66ea1/attachment.htm>
More information about the Users
mailing list