Re: [bdbxml] Crash in dbxml_javaJNI.XmlResults_next__SWIG_0

Thomas Schmidt <[email protected]> Mon, 12 Sep 2005 16:09:21 +0200
Newsgroups gmane.comp.db.dbxml.general
Message-ID <[email protected]>
George Feinberg wrote:
> 
> Thomas,
> 
> The problem is that your main thread of execution is
> closing the container and manager before the child
> threads are through with them.

Hi, thanks for your help, I do understand this now.
I rewrote the testcase so that all threads are
sharing the same XmlManager and XmlContainer and
these don't get closed before all Threads are finished.
But even with the latest testcase 
(ftp://ftp.suse.com/pub/people/freitag/dbxml/MultithreadingTestCase.java)
dbxml crashes here in native code either in 
XmlContainer.getAllDocuments() or
XmlResults.next().
So my question is: can you reproduce this crash, or may it be caused
by a local (compile-)fault at our machines here?
I compiled dbxml with standard options: "buildall.sh --enable-java"

Greetings, Thomas

-- 
Thomas Schmidt ([email protected])
SUSE Linux Products GmbH :: Research & Development :: Internal Tools


------------------------------------------
To remove yourself from this list, send an
email to [email protected]