[OpenSIPS-Devel] [ opensips-Bugs-2431561 ] Crash at start due to presence module
SourceForge.net
noreply at sourceforge.net
Thu Dec 18 22:35:12 CET 2008
Bugs item #2431561, was opened at 2008-12-15 20:20
Message generated for change (Comment added) made by ibc_sf
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2431561&group_id=232389
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: trunk
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Iñaki Baz (ibc_sf)
Assigned to: Anca Vamanu (anca_vamanu)
Summary: Crash at start due to presence module
Initial Comment:
I've a OpenSIPS just acting as a presence server. Presence related tables (MySQL) are emptied before I run OpenSIPS.
OpenSIPS starts and I run a SIP client which sends some PUBLISH and SUBSCRIBE.
After it OpenSIPS crashes. It occurs very often when doing the above scenario.
I attach the log (devel 4) and the output of "gdb bt" and "gdb bt full" from the coredump file.
PD: Note also that there are several ERROR about "db_mysql", but that is part of other bug.
----------------------------------------------------------------------
>Comment By: Iñaki Baz (ibc_sf)
Date: 2008-12-18 22:35
Message:
Hi Anca, I'm realy surprised!
Yesterday I upgraded to trunk rev 5062 (before the commit about notify.c
you mean, that is rev 5066).
Since yesterday I've not got the ERROR:db_mysql anymore!
I don't see more commits those days related to presence modules (maybe
db_mysql related)?
I've done exactly the same as other days and I've changeg absolutelly
nothing in my system (MySQL and so), just upgraded to rev 5062.
It seems that the issue is solved but I don't know "where" :)
----------------------------------------------------------------------
Comment By: Anca Vamanu (anca_vamanu)
Date: 2008-12-18 13:29
Message:
Hi,
Dan has discovered a buffer overflow bug that I introduced recently in
presence. Maybe it is related to the crash that you got.
Can you please update and test again?
regards,
Anca
----------------------------------------------------------------------
Comment By: Iñaki Baz (ibc_sf)
Date: 2008-12-16 18:04
Message:
I'm trying now MySQL server in Debian Lenny:
mysql-server-5.0 5.0.51a-18
and the same error occurs all the time.
----------------------------------------------------------------------
Comment By: Iñaki Baz (ibc_sf)
Date: 2008-12-16 16:40
Message:
Hi Anca, this is my MySQL version running on Debian Etch 64 bits:
ii libmysqlclient15-dev 5.0.32-7etch8
ii libmysqlclient15off 5.0.32-7etch8
ii mysql-common 5.0.32-7etch8
ii mysql-server-5.0 5.0.32-7etch6
Do you know which versions are working without this issue? I would like to
try them. Anyway I expect that lot of people are using Debian Etch with
Debian MySQL package.
PD: I also wonder why just thepresence module process gest this MySQL
error and no other modules which also access to MySQL (as usrloc,
registrar, pua, dialog...), could be any reason for it? Of course it's the
same database for all.
Thanks.
----------------------------------------------------------------------
Comment By: Anca Vamanu (anca_vamanu)
Date: 2008-12-16 13:45
Message:
Hi Inaki,
PD: Note also that there are several ERROR about "db_mysql", but that is
part of other bug.
This is in fact very much related, because the crash occures when
accessing the data retreived from a database query.
I am thinking that your issue is related to the version of mysql that you
use - since it does not happen for others.
regards,
Anca
----------------------------------------------------------------------
Comment By: Anca Vamanu (anca_vamanu)
Date: 2008-12-16 13:45
Message:
Hi Inaki,
PD: Note also that there are several ERROR about "db_mysql", but that is
part of other bug.
This is in fact very much related, because the crash occures when
accessing the data retreived from a database query.
I am thinking that your issue is related to the version of mysql that you
use - since it does not happen for others.
regards,
Anca
----------------------------------------------------------------------
Comment By: Iñaki Baz (ibc_sf)
Date: 2008-12-15 20:20
Message:
File Added: opensips_presence_crash_startup_COREDUMP_gdb
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2431561&group_id=232389
More information about the Devel
mailing list