[OpenSIPS-Users] db_mysql core dump

Anca Vamanu anca at opensips.org
Thu Dec 9 16:14:37 CET 2010


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: presence_ps.patch
Type: text/x-diff
Size: 388 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/users/attachments/20101209/3d751573/attachment.patch>


More information about the Users mailing list