[OpenSIPS-Users] db_mysql core dump
Anca Vamanu
anca at opensips.org
Wed Dec 8 19:00:08 CET 2010
Hi Duane,
Can you please give the list of loaded modules ( it would help
investigating) ?
Regards,
--
Anca Vamanu
www.voice-system.ro
On 12/04/2010 11:27 PM, Duane Larson wrote:
> One other piece of information on this issue.
> The last couple of days I have been trying to set up Redundant
> High-Availability. Because of this my client phones are not talking
> to the OpenSIPS service. So there has been absolutely no SIP messages
> going to the service yet it has still done random coredumps throughout
> the day and night. Very odd.
>
>
> On Tue, Nov 30, 2010 at 1:20 PM, Bogdan-Andrei Iancu
> <bogdan at voice-system.ro <mailto:bogdan at voice-system.ro>> wrote:
>
> Hi Duane,
>
> yes, that is...but fortunately does not provide the information I
> was hoping for....
>
> Is it ok if I will send you a patch that will enable kind of
> hunting for this bug ?
>
> Regards,
> Bogdan
>
> Duane Larson wrote:
>
> I believe this is what you wanted
> (gdb) frame 2
> #2 0x00007f176faf8f22 in db_mysql_delete (_h=0x812f20,
> _k=0x7fff61728980, _o=0x7fff61728960, _v=0x7fff61728900, _n=2)
> at dbase.c:893
> 893 ret = db_mysql_do_prepared_query(_h,
> &query_holder, _v, _n, NULL, 0);
>
> (gdb) print _h
> $2 = (const db_con_t *) 0x812f20
>
> (gdb) print _h->curr_ps
> $3 = (db_ps_t *) 0x7f176c46d2b0
>
> (gdb) print (struct prep_stmt*)(*(_h)->curr_ps)
> $4 = (struct prep_stmt *) 0x813650
>
> (gdb) print ((struct prep_stmt*)(*(_h)->curr_ps))->stmts
> $5 = (struct my_stmt_ctx *) 0x814d10
>
> (gdb) print ((struct prep_stmt*)(*(_h)->curr_ps))->stmts->table.s
> $6 = 0x814d48 "watchersdelete from watchers where
> inserted_time<? AND status=?.26705.61.7"
>
> (gdb) print ((struct prep_stmt*)(*(_h)->curr_ps))->stmts->query.s
> $7 = 0x814d50 "delete from watchers where inserted_time<? AND
> status=?.26705.61.7"
>
> On Wed, Nov 24, 2010 at 5:29 AM, Bogdan-Andrei Iancu
> <bogdan at voice-system.ro <mailto:bogdan at voice-system.ro>
> <mailto:bogdan at voice-system.ro
> <mailto:bogdan at voice-system.ro>>> wrote:
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20101208/acd2d9a2/attachment.htm>
More information about the Users
mailing list