[Devel] [ openser-Bugs-1676839 ] mysql modules crashes when DB server disappears.

SourceForge.net noreply at sourceforge.net
Thu Mar 8 22:59:32 CET 2007


Bugs item #1676839, was opened at 2007-03-08 13:59
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1676839&group_id=139143

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: ver devel
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Kobi Eshun (ekobi)
Assigned to: Nobody/Anonymous (nobody)
Summary: mysql modules crashes when DB server disappears.

Initial Comment:
Hi,

If the connected MySQL DB server disappears unexpectedly, db_mysql_update() generates a seg. fault. Here is a stack trace.
--
kobi

#0  0xb7dceb3e in str2val (_t=42, _v=0x1, _s=0xb7f2a14f "???\r", '\220' <repeats 13 times>, "U\211?S\203?\034?????\201?\210?\005", 
    _l=24576) at val.c:239
#1  0xb7dccc25 in db_mysql_update (_h=0x81666e0, _k=0x2a, _o=0x2a, _v=0x2a, _uk=0xbfcb9c00, _uv=0x81666e0, _n=12, _un=0)
    at dbase.c:215
#2  0xb7b6477b in msg_active_watchers_clean () from /usr/lib/openser/modules/presence.so
#3  0x0808d571 in run_timer ()
#4  0x08065813 in main_loop ()
#5  0x080660cf in main ()
(gdb) where
#0  0xb7dceb3e in str2val (_t=42, _v=0x1, _s=0xb7f2a14f "???\r", '\220' <repeats 13 times>, "U\211?S\203?\034?????\201?\210?\005", 
    _l=24576) at val.c:239
#1  0xb7dccc25 in db_mysql_update (_h=0x81666e0, _k=0x2a, _o=0x2a, _v=0x2a, _uk=0xbfcb9c00, _uv=0x81666e0, _n=12, _un=0)
    at dbase.c:215
#2  0xb7b6477b in msg_active_watchers_clean () from /usr/lib/openser/modules/presence.so
#3  0x0808d571 in run_timer ()
#4  0x08065813 in main_loop ()
#5  0x080660cf in main ()


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1676839&group_id=139143



More information about the Devel mailing list