I'm running cl_test on a similar environment without any problem (using the
default CMake config). One of the tests there indexes the reuters corpus
too. Can you try running that?

The actual error looks like something we fixed in the atomicthreads branch,
and wasn't merged into master yet due to lack of feedback. Can you try
running demo from that branch (after trying cl_test too)?

Itamar.

> -----Original Message-----
> From: Klemens Friedl [mailto:fri...@gmail.com] 
> Sent: Saturday, June 12, 2010 10:19 PM
> To: clucene-developers@lists.sourceforge.net
> Subject: [CLucene-dev] clucene - cl_demo stops with error
> 
> clucene - cl_demo stops with error while indexing reuters corpus
> 
> clucene version: current git current master
> platform: WinXP SP3
> build system: VS 2008 SP1
> cmake: 2.8.1
> cmake settings: see cmakecache.txt file (attached to email)
> 
> 
> cl_demo app stops with error:
> (one code line changed only to meet path to reuters-21578 
> corpa directory)
> 
> 
> F:\Home\Search\clucene\build\bin\Debug>cl_demo.exe
> adding file 1: 
> src\test\data\reuters-21578/all-exchanges-strings.lc.txt
> adding file 2: src\test\data\reuters-21578/all-orgs-strings.lc.txt
> adding file 3: src\test\data\reuters-21578/all-people-strings.lc.txt
> adding file 4: src\test\data\reuters-21578/all-places-strings.lc.txt
> adding file 5: src\test\data\reuters-21578/all-topics-strings.lc.txt
> adding file 6: src\test\data\reuters-21578/cat-descriptions_120396.txt
> adding file 7: 
> src\test\data\reuters-21578/feldman-cia-worldfactbook-data.txt
> adding file 8: src\test\data\reuters-21578/LEWIS.DTD
> adding file 9: src\test\data\reuters-21578/README.TXT
> adding file 10: src\test\data\reuters-21578/reut2-000.sgm
> adding file 11: src\test\data\reuters-21578/reut2-001.sgm
> 
> => VS 2008 SP1 debugger:
> Unhandled exception at 0x10099e4f (clucene-cored.dll) in cl_demo.exe:
> 0xC0000005: Access violation writing location 0x01034f74.
> 
> file:
> clucene\src\core\CLucene\index\DocumentsWriterThreadState.cpp 
> (line 642)
> 
> 
> the lucene index file, (output from "dir" command):
> 
> F:\Home\Search\clucene\build\bin\Debug\data>dir
>  Verzeichnis von F:\Home\Search\clucene\build\bin\Debug\data
> 
> 12.06.2010  20:56    <DIR>          .
> 12.06.2010  20:56    <DIR>          ..
> 12.06.2010  20:56                20 segments.gen
> 12.06.2010  20:56                45 segments_3
> 12.06.2010  20:56                 0 write.lock
> 12.06.2010  20:56           536.020 _0.cfs
> 12.06.2010  20:58           114.688 _1.fdt
> 12.06.2010  20:56                 0 _1.fdx
>                6 Datei(en)        650.773 Bytes
> 
> 
> 
> If I remove half of the reuters-21578 corpa files of the 
> corpa directory, the cl_demo runs through fine !!
> 
> 
> I tried various settings with cmake. I am using gnuwin32's 
> zlib. I am not using iconv - as it appeared to me as optional 
> component.
> What are the prefered and tested cmake settings for a common 
> environment?
> I need unicode support, multithreading would be a nice to 
> have, if possible i would like to avoid iconv.
> 
> 
> Kind regards,
> Klemens Friedl
> 
> 
> btw.
> the _LUCENE_THREAD_FUNC(atomicIndexTest, _writer) and 
> _LUCENE_THREAD_FUNC(atomicSearchTest, _directory) may need a 
> return statement, as VS informed me, while testing other 
> cmake settings.
> file: clucene\src\test\index\TestThreading.cpp (line 18, 51)
> 



------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
CLucene-developers mailing list
CLucene-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clucene-developers

Reply via email to