I looked at IndexSearcher crash and this is issue we discussed in "Exception 
during thread finish".
I'm going to remove this test from standard set of tests (it is not part of 
JLucene tests), but anyway it would be interesting
to know, if atomicthreads solves this issue.

Have few tests under development right now, so I will look at 
intensive_testing_merged a bit later.

Borek

> -----Original Message-----
> From: Kostka Bořivoj [mailto:kos...@tovek.cz]
> Sent: Tuesday, August 17, 2010 10:14 AM
> To: clucene-developers@lists.sourceforge.net
> Subject: Re: [CLucene-dev] RAMDirectory testing (using MockRAMDirectory)
> 
> I'll look at it.
> 
> > -----Original Message-----
> > From: Itamar Syn-Hershko [mailto:ita...@code972.com]
> > Sent: Tuesday, August 17, 2010 12:22 AM
> > To: clucene-developers@lists.sourceforge.net
> > Subject: Re: [CLucene-dev] RAMDirectory testing (using MockRAMDirectory)
> >
> > Borek, the intensive_testing branch is consistently crashing in one of
> > the IndexSearcher tests, with an AV / buffer overrun. I'm testing with
> > VC8. Is it something you have seen already?
> >
> > Since it seems to be related to threading, I merged master and then
> > atomicthreads with your branch to see if that will resolve the issue,
> > but it didn't. You can find it under 'intensive_testing_merged'.
> >
> > Let me know what you find.
> >
> > Itamar
> >
> > On 15/8/2010 1:39 AM, Kostka Bořivoj wrote:
> > > I made few additional changes in RAMDirectory.cpp and MockRAMDirectory.cpp
> > (see intensive_testing branch for details)
> > > Now TestRAMDirectory works fine with MockRAMDirectory.
> > >
> > > Veit, thanks again for your support and comments
> > >
> > > Borek
> > >
> > >
> > >> -----Original Message-----
> > >> From: Kostka Bořivoj [mailto:kos...@tovek.cz]
> > >> Sent: Saturday, August 14, 2010 11:47 PM
> > >> To: clucene-developers@lists.sourceforge.net
> > >> Subject: Re: [CLucene-dev] RAMDirectory testing (using MockRAMDirectory)
> > >>
> > >> Hi Veit,
> > >>
> > >> Good catch, it works fine now, thanks.
> > >>
> > >> Borek
> > >>
> > >>
> > >>> -----Original Message-----
> > >>> From: Kostka Bořivoj [mailto:kos...@tovek.cz]
> > >>> Sent: Thursday, August 12, 2010 10:31 AM
> > >>> To: clucene-developers@lists.sourceforge.net
> > >>> Subject: Re: [CLucene-dev] RAMDirectory testing (using MockRAMDirectory)
> > >>>
> > >>> Thanks, I'll apply and test
> > >>>
> > >>> Borek
> > >>>
> > >>>
> > >>>> -----Original Message-----
> > >>>> From: Veit Jahns [mailto:nuncupa...@googlemail.com]
> > >>>> Sent: Thursday, August 12, 2010 8:56 AM
> > >>>> To: clucene-developers@lists.sourceforge.net
> > >>>> Subject: Re: [CLucene-dev] RAMDirectory testing (using 
> > >>>> MockRAMDirectory)
> > >>>>
> > >>>> 2010/8/11 Veit Jahns<nuncupa...@googlemail.com>:
> > >>>>
> > >>>>> 2010/8/11 Kostka Bořivoj<kos...@tovek.cz>:
> > >>>>>
> > >>>>>>>> 2)     MockRAMDirectory::close always throws an exception because
> > >>>>>>>> segments.gen is in list of open files, no idea if this is a bug in
> > >>>>>>>> RAMDirectory or MockRAMDirectory
> > >>>>>>>>
> > >>>>>>> Why do you use MockRAMDirectory here? I ported this class from
> > >>>>>>> JLucene, because I needed once a directory implementation that
> > >>>>>>> intentionally throws exceptions. And because the close-methods of
> > >>>>>>> RAMDirectory and MockRAMDirectory are identical to the JLucene
> > >>>>>>> methods, I'd say that's neither a bug of RAMDirectory nor
> > MockRAMDirectory.
> > >>>>>>>
> > >>>>>> I use MockRAMDirectory just because it is used in original java test
> > >>>>>> I ported. It is used in many tests in test/index folder so I wanted
> > >>>>>> to test MockRAMDirectory itself before using it in other tests.
> > >>>>>>
> > >>>>> You are right. Something is odd there. I will take a close look 
> > >>>>> tomorrow.
> > >>>>>
> > >>>> The Bug seems to be in SegmentInfos.cpp. In some case the open 
> > >>>> generation
> > file
> > >>>>
> > >>> will
> > >>>
> > >>>> not be closed (diff attached).
> > >>>>
> > >>>> Veit
> > >>>>
> > >>> ------------------------------------------------------------------------------
> > >>> This SF.net email is sponsored by
> > >>>
> > >>> Make an app they can't live without
> > >>> Enter the BlackBerry Developer Challenge
> > >>> http://p.sf.net/sfu/RIM-dev2dev
> > >>> _______________________________________________
> > >>> CLucene-developers mailing list
> > >>> CLucene-developers@lists.sourceforge.net
> > >>> https://lists.sourceforge.net/lists/listinfo/clucene-developers
> > >>>
> > >> ------------------------------------------------------------------------------
> > >> This SF.net email is sponsored by
> > >>
> > >> Make an app they can't live without
> > >> Enter the BlackBerry Developer Challenge
> > >> http://p.sf.net/sfu/RIM-dev2dev
> > >> _______________________________________________
> > >> CLucene-developers mailing list
> > >> CLucene-developers@lists.sourceforge.net
> > >> https://lists.sourceforge.net/lists/listinfo/clucene-developers
> > >>
> > > ------------------------------------------------------------------------------
> > > This SF.net email is sponsored by
> > >
> > > Make an app they can't live without
> > > Enter the BlackBerry Developer Challenge
> > > http://p.sf.net/sfu/RIM-dev2dev
> > > _______________________________________________
> > > CLucene-developers mailing list
> > > CLucene-developers@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/clucene-developers
> > >
> > >
> > >
> >
> > ------------------------------------------------------------------------------
> > This SF.net email is sponsored by
> >
> > Make an app they can't live without
> > Enter the BlackBerry Developer Challenge
> > http://p.sf.net/sfu/RIM-dev2dev
> > _______________________________________________
> > CLucene-developers mailing list
> > CLucene-developers@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/clucene-developers
> 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
> 
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> CLucene-developers mailing list
> CLucene-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/clucene-developers

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
CLucene-developers mailing list
CLucene-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clucene-developers

Reply via email to