Re: [CLucene-dev] Exception during thread finish

2010-07-30 Thread Itamar Syn-Hershko
...@tovek.cz] Sent: Tuesday, July 27, 2010 10:22 AM To: clucene-developers@lists.sourceforge.net Subject: Re: [CLucene-dev] Exception during thread finish I'm trying to to write some simpe test which produces the problem now. It (probably) happens if thread calling _search finishes after related

Re: [CLucene-dev] Exception during thread finish

2010-07-30 Thread Kostka Bořivoj
-tora.com] Sent: Friday, July 30, 2010 1:32 PM To: clucene-developers@lists.sourceforge.net Subject: Re: [CLucene-dev] Exception during thread finish Hi Borek, I'm not sure I understand what you tried to do in the code you sent - especially with the deletion mutex. However, if I replace the line

Re: [CLucene-dev] Exception during thread finish

2010-07-27 Thread Veit Jahns
This message looks familiar to me. Maybe it is the same problem I once had [1]. Veit [1] http://comments.gmane.org/gmane.comp.jakarta.lucene.clucene.devel/3358 -- The Palm PDK Hot Apps Program offers developers who use

[CLucene-dev] Exception during thread finish

2010-07-26 Thread Kostka Bořivoj
I run the IndexSearcher::_search method from separate thread (different from thread where IndexSearcher is created and deleted). When the thread finishes, I get exceptionin mutex_thread::lock() The reason is _internal is already deleted (contains 0x). Any idea what could be wrong?

Re: [CLucene-dev] Exception during thread finish

2010-07-26 Thread Itamar Syn-Hershko
If you're sure this is not a race condition between your threads, try the atomicthreads branch. We fixed several threading errors there. Actually, if this resolves this issue, I might just go ahead and merge it to master and wait no more... Itamar. On 26/7/2010 3:51 PM, Kostka Bořivoj wrote: