[Sablevm-developer] SableVM hangs during database connection
Brought to you by:
egagnon
From: Roman K. <ro...@on...> - 2004-06-15 18:18:48
|
Hi list, I found another issue, this time related to a database connection with MySQL. During sending an update, the hole connection seems to hang infinitely. I waited >10minutes, which should me more than enough. As far as I worked this out, the issue seems to be in some native code. Here is the stacktrace from CTRL+\: (PlainSocketImpl.java:-1) gnu/java/net/PlainSocketImpl.read n (PlainSocketImpl.java:431) gnu/java/net/PlainSocketImpl$SocketInputStream.read (FilterInputStream.java:189) java/io/FilterInputStream.read (BufferedInputStream.java:370) java/io/BufferedInputStream.refill (BufferedInputStream.java:231) java/io/BufferedInputStream.read (MysqlIO.java:1399) com/mysql/jdbc/MysqlIO.reuseAndReadPacket (MysqlIO.java:1775) com/mysql/jdbc/MysqlIO.checkErrorPacket (MysqlIO.java:1020) com/mysql/jdbc/MysqlIO.sendCommand (MysqlIO.java:1109) com/mysql/jdbc/MysqlIO.sqlQueryDirect (Connection.java:2030) com/mysql/jdbc/Connection.execSQL (PreparedStatement.java:1750) com/mysql/jdbc/PreparedStatement.executeUpdate (PreparedStatement.java:1596) com/mysql/jdbc/PreparedStatement.executeUpdate (JDBCStorage.java:138) com/knowledgetracking/JDBCStorage.storeXML (NBEngine.java:78) com/knowledgetracking/nb/NBEngine.learn (NBEngine.java:37) com/knowledgetracking/nb/NBEngine.learn (learn.java:29) com/knowledgetracking/cli/learn.invoke (learn.java:45) com/knowledgetracking/cli/learn.invoke (Method.java:-1) java/lang/reflect/Method.invokeNative n (Method.java:556) java/lang/reflect/Method.invoke ((null):-1) bsh/Reflect.invokeOnMethod ((null):-1) bsh/Reflect.invokeStaticMethod ((null):-1) bsh/Reflect.invokeCompiledCommand ((null):-1) bsh/Name.invokeLocalMethod ((null):-1) bsh/Name.invokeMethod ((null):-1) bsh/BSHMethodInvocation.eval ((null):-1) bsh/BSHPrimaryExpression.eval ((null):-1) bsh/BSHPrimaryExpression.eval ((null):-1) bsh/Interpreter.eval ((null):-1) bsh/Interpreter.source ((null):-1) bsh/Interpreter.main (VirtualMachine.java:-1) java/lang/VirtualMachine.invokeMain n (VirtualMachine.java:92) java/lang/VirtualMachine.main I'm trying to put together a simple test case to make this reproducible. Is there any more information I can send (like a stacktrace of the native code-> I don't know how to get this)? Cheers, Roman |