Re: [CLucene-dev] RAMDirectory testing (using MockRAMDirectory)

2010-08-17 Thread Veit Jahns
2010/8/17 Itamar Syn-Hershko : > 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? FYI, on FreeBSD the branch works fine. No crashes observed. Veit

Re: [CLucene-dev] RAMDirectory testing (using MockRAMDirectory)

2010-08-17 Thread Kostka Bořivoj
Re: [CLucene-dev] RAMDirectory testing (using MockRAMDirectory) > > I'll look at it. > > > -Original Message- > > From: Itamar Syn-Hershko [mailto:[email protected]] > > Sent: Tuesday, August 17, 2010 12:22 AM > > To: [email protected]

Re: [CLucene-dev] RAMDirectory testing (using MockRAMDirectory)

2010-08-17 Thread Kostka Bořivoj
I'll look at it. > -Original Message- > From: Itamar Syn-Hershko [mailto:[email protected]] > Sent: Tuesday, August 17, 2010 12:22 AM > To: [email protected] > Subject: Re: [CLucene-dev] RAMDirectory testing (using MockRAMDirect

Re: [CLucene-dev] RAMDirectory testing (using MockRAMDirectory)

2010-08-16 Thread Itamar Syn-Hershko
14, 2010 11:47 PM >> To: [email protected] >> Subject: Re: [CLucene-dev] RAMDirectory testing (using MockRAMDirectory) >> >> Hi Veit, >> >> Good catch, it works fine now, thanks. >> >> Borek >> >> >>> ---

Re: [CLucene-dev] RAMDirectory testing (using MockRAMDirectory)

2010-08-14 Thread Kostka Bořivoj
to:[email protected]] > Sent: Saturday, August 14, 2010 11:47 PM > To: [email protected] > Subject: Re: [CLucene-dev] RAMDirectory testing (using MockRAMDirectory) > > Hi Veit, > > Good catch, it works fine now, thanks. > > Borek > > > -

Re: [CLucene-dev] RAMDirectory testing (using MockRAMDirectory)

2010-08-14 Thread Kostka Bořivoj
Hi Veit, Good catch, it works fine now, thanks. Borek > -Original Message- > From: Kostka Bořivoj [mailto:[email protected]] > Sent: Thursday, August 12, 2010 10:31 AM > To: [email protected] > Subject: Re: [CLucene-dev] RAMDirectory testing (using M

Re: [CLucene-dev] RAMDirectory testing (using MockRAMDirectory)

2010-08-12 Thread Kostka Bořivoj
Thanks, I'll apply and test Borek > -Original Message- > From: Veit Jahns [mailto:[email protected]] > Sent: Thursday, August 12, 2010 8:56 AM > To: [email protected] > Subject: Re: [CLucene-dev] RAMDirectory testing (using MockRAMDirec

Re: [CLucene-dev] RAMDirectory testing (using MockRAMDirectory)

2010-08-12 Thread Kostka Bořivoj
> -Original Message- > From: Veit Jahns [mailto:[email protected]] > Sent: Wednesday, August 11, 2010 10:52 PM > To: [email protected] > Subject: Re: [CLucene-dev] RAMDirectory testing (using MockRAMDirectory) > > > > I agree,

Re: [CLucene-dev] RAMDirectory testing (using MockRAMDirectory)

2010-08-11 Thread Veit Jahns
2010/8/11 Veit Jahns : > 2010/8/11 Kostka Bořivoj : >>> > 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 cla

Re: [CLucene-dev] RAMDirectory testing (using MockRAMDirectory)

2010-08-11 Thread Veit Jahns
2010/8/11 Kostka Bořivoj : >> For the patch of the RAMFile desctructor I'm in doubt. Looking at the >> correspondong >> JLucene classes subtracting the file size is done in the deleteFile method of >> RAMDirectory (see diff). >> >> By the way, I needed some inline keywords removed in _RAMDirectory

Re: [CLucene-dev] RAMDirectory testing (using MockRAMDirectory)

2010-08-11 Thread Kostka Bořivoj
Hi Veit Thanks for ou comments. See my below. Borek > -Original Message- > From: Veit Jahns [mailto:[email protected]] > Sent: Tuesday, August 10, 2010 9:48 PM > To: [email protected] > Subject: Re: [CLucene-dev] RAMDirectory

Re: [CLucene-dev] RAMDirectory testing (using MockRAMDirectory)

2010-08-10 Thread Veit Jahns
2010/8/10 Kostka Bořivoj : > I added MockRAMDirectory ported by Veit into TestRAMDirectory and found > following: > > 1) sizeInBytes members in RAMDirectory and RAMFile aren’t correct, I > fixed this somehow, but I’m not sure if it shouldn’t be fixed different way, > could anybody look at it T

Re: [CLucene-dev] RAMDirectory testing (using MockRAMDirectory)

2010-08-10 Thread Veit Jahns
2010/8/10 Kostka Bořivoj : > I added MockRAMDirectory ported by Veit into TestRAMDirectory and found > following: > > 1) sizeInBytes members in RAMDirectory and RAMFile aren’t correct, I > fixed this somehow, but I’m not sure if it shouldn’t be fixed different way, > could anybody look at it >

[CLucene-dev] RAMDirectory testing (using MockRAMDirectory)

2010-08-10 Thread Kostka Bořivoj
[email protected]] Sent: Tuesday, August 10, 2010 10:06 AM To: [email protected] Subject: Re: [CLucene-dev] RAMDirectory testing No, I didn’t catch the problem in testWickedLongTerm yet. Hope I’ll this week Borek From: Itamar Syn-Hershko [mailto:[email protected]] Sent: Monday

Re: [CLucene-dev] RAMDirectory testing

2010-08-10 Thread Kostka Bořivoj
No, I didn’t catch the problem in testWickedLongTerm yet. Hope I’ll this week Borek From: Itamar Syn-Hershko [mailto:[email protected]] Sent: Monday, August 09, 2010 5:49 PM To: [email protected] Subject: Re: [CLucene-dev] RAMDirectory testing Good catch

Re: [CLucene-dev] RAMDirectory testing

2010-08-09 Thread Itamar Syn-Hershko
[email protected] Subject: Re: [CLucene-dev] RAMDirectory testing OK, I'll try to fix this. Borek -Original Message- From: Itamar Syn-Hershko [mailto:[email protected]] Sent: Friday, July 30, 2010 1:45 PM To: [email protected] Subject: Re: [CL

Re: [CLucene-dev] RAMDirectory testing

2010-08-09 Thread Kostka Bořivoj
Borek > -Original Message- > From: Kostka Bořivoj [mailto:[email protected]] > Sent: Friday, July 30, 2010 4:45 PM > To: [email protected] > Subject: Re: [CLucene-dev] RAMDirectory testing > > OK, I'll try to fix this. > > Bo

Re: [CLucene-dev] RAMDirectory testing

2010-07-30 Thread Kostka Bořivoj
OK, I'll try to fix this. Borek > -Original Message- > From: Itamar Syn-Hershko [mailto:[email protected]] > Sent: Friday, July 30, 2010 1:45 PM > To: [email protected] > Subject: Re: [CLucene-dev] RAMDirectory testing > > testRAMDirec

Re: [CLucene-dev] RAMDirectory testing

2010-07-30 Thread Itamar Syn-Hershko
testRAMDirectorySize doesn't hang - it just crashes with heap corruption. I didn't test with Release build, but I see no reason why this should matter. Here's the stack trace: msvcr80d.dll!free(void * pUserData=0x01560378) Line 1178 + 0xb bytes C++ > > clucene-cored.dll!lucene

[CLucene-dev] RAMDirectory testing

2010-07-28 Thread Kostka Bořivoj
I ported index\store\TestRAMDirectory.java into cl_test with following results - found (and fixed) one trivial bug in RAMDirectory constructor from char * path (setLockFactory was not called) - testRAMDirectorySize (in Debug build) hangs in attempt to report corrupted heap during IndexWriter clo