[OpenSIPS-Users] db_mysql core dump
Duane Larson
duane.larson at gmail.com
Thu Dec 9 19:18:50 CET 2010
Anca,
It failed quickly. But I am not able to do the Prints like I did last time
because _h doesn't exist
(gdb) backtrace
#0 0x00007ff75074f165 in raise () from /lib/libc.so.6
#1 0x00007ff750751f70 in abort () from /lib/libc.so.6
#2 0x00007ff74cc69ac1 in msg_watchers_clean (ticks=<value optimized out>,
param=<value optimized out>) at subscribe.c:485
#3 0x00000000004a90b6 in timer_ticker () at timer.c:325
#4 run_timer_process () at timer.c:395
#5 start_timer_processes () at timer.c:475
#6 0x000000000042ce8b in main_loop (argc=<value optimized out>, argv=<value
optimized out>) at main.c:867
#7 main (argc=<value optimized out>, argv=<value optimized out>) at
main.c:1388
(gdb) frame 2
#2 0x00007ff74cc69ac1 in msg_watchers_clean (ticks=<value optimized out>,
param=<value optimized out>) at subscribe.c:485
485 abort();
(gdb) print _h
No symbol "_h" in current context.
(gdb) print _h->curr_ps
No symbol "_h" in current context.
(gdb) print (struct prep_stmt*)(*(_h)->curr_ps)
No symbol "_h" in current context.
(gdb) print (struct prep_stmt*)(*(_h)->curr_ps)
No symbol "_h" in current context.
(gdb) print ((struct prep_stmt*)(*(_h)->curr_ps))->stmts
No symbol "_h" in current context.
(gdb) print ((struct prep_stmt*)(*(_h)->curr_ps))->stmts->table.s
No symbol "_h" in current context.
(gdb) print ((struct prep_stmt*)(*(_h)->curr_ps))->stmts->query.s
No symbol "_h" in current context.
On Thu, Dec 9, 2010 at 9:14 AM, Anca Vamanu <anca at opensips.org> wrote:
> Hi Duane,
>
> Investigating the modules didn't help - everything seems right. I have
> attached a patch that helps getting more information when the problem
> happens. I have to warn you that it will abort execution when observing the
> problem that lead to crashes. If you have real traffic through it, you
> should not use this.
> After opensips stops run the commands that bogdan gave you in gdb
> backtrace:
>
>
> in frame 2 print the followings:
> _h
> _h->curr_ps
> (struct prep_stmt*)(*(_h)->curr_ps)
> ((struct prep_stmt*)(*(_h)->curr_ps))->stmts
> ((struct prep_stmt*)(*(_h)->curr_ps))->stmts->table.s
> ((struct prep_stmt*)(*(_h)->curr_ps))->stmts->query.s
>
> Regards,
>
> --
> Anca Vamanu
> www.voice-system.ro
>
>
> _______________________________________________
> 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/20101209/6121f552/attachment.htm>
More information about the Users
mailing list