Yes, this is a known issue with clucene threads which is being worked on by
Giorgio and Isidor. Comment out the Atomic test suit and everything else
should pass.
 
Itamar.

  _____  

From: Michel Nadeau [mailto:aka...@gmail.com] 
Sent: Wednesday, September 23, 2009 12:31 AM
To: clucene-developers@lists.sourceforge.net
Subject: Re: [CLucene-dev] Installing the lucene_2_3_2 branch


Hi,

I just tried using the latest git master HEAD - it gives the same problem.
Here's the gdb output for cl_test :

Starting program: /usr/local/src/clucene/mytest/bin/cl_test
Failed to read a valid object file image from memory.
[Thread debugging using libthread_db enabled]
[New Thread -1212713280 (LWP 11932)]
Key: .= pass N=not implemented F=fail
All CLucene Tests:
    CLucene Atomic Updates Test:    [New Thread -1212716112 (LWP 11933)]
[New Thread -1221108816 (LWP 11934)]
[New Thread -1229501520 (LWP 11935)]
[New Thread -1237894224 (LWP 11936)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1221108816 (LWP 11934)]
0xb7b7f024 in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0

Any idea?

- Mike
aka...@gmail.com



On Tue, Sep 22, 2009 at 5:12 PM, Itamar Syn-Hershko <ita...@divrei-tora.com>
wrote:


Mike, try using the latest git master HEAD, the SVN version is outdated.
Either use git clone or download a tarball from the web GUI
(http://clucene.git.sourceforge.net/git/gitweb.cgi?p=clucene/clucene;a=summa
ry, through tree -> snapshot).
 
Let us know how's it going.
 
Itamar.

  _____  

From: Michel Nadeau [mailto:aka...@gmail.com] 
Sent: Tuesday, September 22, 2009 10:36 PM
To: clucene-developers@lists.sourceforge.net
Subject: [CLucene-dev] Installing the lucene_2_3_2 branch


Hi !

I'm trying to switch from CLucene 0.9.21 to the development branch 2.3.2;
but I run into problems when I try to install it.

I downloaded "lucene2_3_2.tar.gz" from there -
http://clucene.svn.sourceforge.net/svnroot/clucene/branches/lucene2_3_2/
(I clicked on "Download GNU tarball" at the bottom)

I'm now trying to install it - I followed all the instructions I've found in
the INSTALL file, but I'm getting a segmentation fault when I'm running
cl_test. Here's what I did:

$ cd /usr/local/src
$ tar xvfz /path/to/lucene2_3_2.tar.gz
$ cd lucene2_3_2
$ mkdir mytest
$ cd mytest
$ cmake -G "Unix Makefiles" ..
$ ccmake ..

In ccmake, I pressed "c" to configure, then "e" to exit help, then "g" to
generate and exit.

$ make
$ make cl_test

Everything so far worked without giving a single error, but then...

$ ctest -V

And boom! Here's trouble:

Start processing tests
Test project /usr/local/src/lucene2_3_2/mytest
Constructing a list of tests
Done constructing a list of tests
Changing directory into /usr/local/src/lucene2_3_2/mytest
  1/  1 Testing SimpleTest
Test command: /usr/local/src/lucene2_3_2/mytest/bin/cl_test
Key: .= pass N=not implemented F=fail
All CLucene Tests:
    CLucene Atomic Updates Test:    -- Process completed

*** Exception executing: Segmentation fault
***Exception: SegFault

0% tests passed, 1 tests failed out of 1

The following tests FAILED:
      1 - SimpleTest (SEGFAULT)
Errors while running CTest

Does anyone have an idea what could be my problem?

Here's my versions:

* Linux debian_I 2.6.18-6-686 #1 SMP
* cmake version 2.4-patch 5
* ccmake version 2.4-patch 5
* ctest version 2.4-patch 5
* GNU Make 3.81

Thanks,

- Mike
aka...@gmail.com


----------------------------------------------------------------------------
--
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
CLucene-developers mailing list
CLucene-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clucene-developers




------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
CLucene-developers mailing list
CLucene-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clucene-developers

Reply via email to