Bugs item #1676839, was opened at 2007-03-08 23:59
Message generated for change (Comment added) made by miconda
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: Daniel-Constantin Mierla (miconda)
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 ()


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

>Comment By: Daniel-Constantin Mierla (miconda)
Date: 2007-03-09 17:22

Message:
Logged In: YES 
user_id=1246013
Originator: NO

The line number does not seem to match something in latest val.c . Are you
running the latest SVN version? Could you please send full back trace via
"bt"?

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

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

_______________________________________________
Devel mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/devel

Reply via email to