<div>Anca,</div>
<div> </div>
<div>It failed quickly. But I am not able to do the Prints like I did last time because _h doesn't exist</div>
<div> </div>
<div> </div>
<div>(gdb) backtrace<br>#0 0x00007ff75074f165 in raise () from /lib/libc.so.6<br>#1 0x00007ff750751f70 in abort () from /lib/libc.so.6<br>#2 0x00007ff74cc69ac1 in msg_watchers_clean (ticks=<value optimized out>, param=<value optimized out>) at subscribe.c:485<br>
#3 0x00000000004a90b6 in timer_ticker () at timer.c:325<br>#4 run_timer_process () at timer.c:395<br>#5 start_timer_processes () at timer.c:475<br>#6 0x000000000042ce8b in main_loop (argc=<value optimized out>, argv=<value optimized out>) at main.c:867<br>
#7 main (argc=<value optimized out>, argv=<value optimized out>) at main.c:1388</div>
<div> </div>
<div> </div>
<div>(gdb) frame 2<br>#2 0x00007ff74cc69ac1 in msg_watchers_clean (ticks=<value optimized out>, param=<value optimized out>) at subscribe.c:485<br>485 abort();</div>
<div> </div>
<div> </div>
<div>(gdb) print _h<br>No symbol "_h" in current context.<br>(gdb) print _h->curr_ps<br>No symbol "_h" in current context.<br>(gdb) print (struct prep_stmt*)(*(_h)->curr_ps)<br>No symbol "_h" in current context.<br>
(gdb) print (struct prep_stmt*)(*(_h)->curr_ps)<br>No symbol "_h" in current context.<br>(gdb) print ((struct prep_stmt*)(*(_h)->curr_ps))->stmts<br>No symbol "_h" in current context.<br>(gdb) print ((struct prep_stmt*)(*(_h)->curr_ps))->stmts->table.s<br>
No symbol "_h" in current context.<br>(gdb) print ((struct prep_stmt*)(*(_h)->curr_ps))->stmts->query.s<br>No symbol "_h" in current context.</div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div><br><br> </div>
<div class="gmail_quote">On Thu, Dec 9, 2010 at 9:14 AM, Anca Vamanu <span dir="ltr"><<a href="mailto:anca@opensips.org">anca@opensips.org</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Hi Duane,<br><br>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.<br>
After opensips stops run the commands that bogdan gave you in gdb backtrace:
<div class="im"><br><br> in frame 2 print the followings:<br> _h<br> _h->curr_ps<br></div>
<div class="im"> (struct prep_stmt*)(*(_h)->curr_ps)<br></div>
<div class="im"> ((struct prep_stmt*)(*(_h)->curr_ps))->stmts<br></div>
<div class="im"> ((struct prep_stmt*)(*(_h)->curr_ps))->stmts->table.s<br></div>
<div class="im"> ((struct prep_stmt*)(*(_h)->curr_ps))->stmts->query.s<br><br></div>
<div>
<div></div>
<div class="h5">Regards,<br><br>-- <br>Anca Vamanu<br><a href="http://www.voice-system.ro/" target="_blank">www.voice-system.ro</a><br><br></div></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"><br>-- <br>--<br>*--*--*--*--*--*<br>Duane<br>*--*--*--*--*--*<br>--<br>