Le 25 juil. 05 à 22:33, Yen-Ju Chen a écrit :

On 7/25/05, Quentin Mathé <[EMAIL PROTECTED]> wrote:

Le 15 juil. 05 à 23:08, Yen-Ju Chen a écrit :

Hi Yen-Ju,

I just tested it yesterday night, I apologize for the delay (I was
busy moving to a new flat until this week-end).
I tested it on Linux Ubuntu x86, it compiles well, however the tests
suite fails on LCFuzzyTermEnum.m with a segmentation fault (line
271), I haven't really tried to know why.
I will try to test it on Linux ppc in next days and I'm going to
experiment with LuceneKitExample to know if it is behaving correctly
now.

  Thanx for the report.
  I just try it again on Debian/PowerPC and it pass all the tests.
  Does it fail on LCFuzzyTermEnum.m or TestFuzzyTermEnum.m ? 

both :-)

Here is a complete backtrace :

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1219293056 (LWP 20983)]
0xb707c35b in -[LCFuzzyTermEnumerator similarity:] (self=0x833c3c0, _cmd=0xb7118ed8, target=0x83433e8)
    at LCFuzzyTermEnum.m:271
271                             bestPossibleEditDistance = minOfTwo(bestPossibleEditDistance, d[i][j]);
Current language:  auto; currently objective-c
(gdb) bt
#0  0xb707c35b in -[LCFuzzyTermEnumerator similarity:] (self=0x833c3c0, _cmd=0xb7118ed8,
    target=0x83433e8) at LCFuzzyTermEnum.m:271
#1  0xb707be38 in -[LCFuzzyTermEnumerator isEqualToTerm:] (self=0x833c3c0, _cmd=0xb7118478,
    term=0x83433d0) at LCFuzzyTermEnum.m:149
#2  0xb7079bf1 in -[LCFilteredTermEnumerator setEnumerator:] (self=0x833c3c0, _cmd=0xb7118ec0,
    ae=0x8336a78) at LCFilteredTermEnum.m:27
#3  0xb707bc46 in -[LCFuzzyTermEnumerator initWithReader:term:similarity:prefixLength:] (self=0x833c3c0,
    _cmd=0xb7118a00, reader=0x8322bf0, term=0x8338e38, s=0.5, prefixLength=0) at LCFuzzyTermEnum.m:134
#4  0xb707a9cb in -[LCFuzzyQuery enumerator:] (self=0x8338e50, _cmd=0xb7118a10, reader=0x8322bf0)
    at LCFuzzyQuery.m:100
#5  0xb707aa39 in -[LCFuzzyQuery rewrite:] (self=0x8338e50, _cmd=0xb7116190, reader=0x8322bf0)
    at LCFuzzyQuery.m:105
#6  0xb7073647 in -[LCIndexSearcher rewrite:] (self=0x8322aa8, _cmd=0xb7115490, original=0x8338e50)
    at LCIndexSearcher.m:303
#7  0xb7070440 in -[LCQuery weight:] (self=0x8338e50, _cmd=0xb7114000, searcher=0x8322aa8)
    at LCQuery.m:95
#8  0xb706b7d3 in -[LCHits initWithSearcher:query:filter:] (self=0x833c358, _cmd=0xb7116430,
    s=0x8322aa8, q=0x8338e50, f=0x0) at LCHits.m:43
#9  0xb70738e2 in -[LCSearcher search:filter:] (self=0x8322aa8, _cmd=0xb7116420, query=0x8338e50,
    filter=0x0) at LCSearcher.m:31
#10 0xb707385b in -[LCSearcher search:] (self=0x8322aa8, _cmd=0xb71191d0, query=0x8338e50)
    at LCSearcher.m:25
#11 0xb707cd32 in -[TestFuzzyQuery testFuzziness] (self=0x86b09e0, _cmd=0x80def00) at TestFuzzyQuery.m:44
#12 0xb7b016d9 in -[NSObject performSelector:] ()
   from /GNUstep/System/Library/Libraries/libgnustep-base.so.1.10
#13 0xb7fe0117 in -[UKRunner runTests:onClass:] () from /GNUstep/Local/Library/Libraries/libUnitKit.so.0
#14 0xb7fe0669 in -[UKRunner runTestsInClass:] () from /GNUstep/Local/Library/Libraries/libUnitKit.so.0
#15 0xb7fe071e in -[UKRunner runTestsInBundle:] () from /GNUstep/Local/Library/Libraries/libUnitKit.so.0
#16 0xb7fdfbbe in +[UKRunner runTests] () from /GNUstep/Local/Library/Libraries/libUnitKit.so.0
#17 0x08048806 in main ()

Quentin.

--
Quentin Mathé

Reply via email to