Hi, I am posting to both mailing list, since it might have to do with the interaction of Karrigell (multithreaded) and PyLucene.
Let me note first, that the same instructions outside of Karrigell work just fine (and PyLucene has done a lot of work to create the index before) And it is working with Karrigell-2.x So I am stuck. Here the details: Within Karrigell (conf.py) I have declared my Module Common.py as a global_module. With Common.py there is the initialization of Java's VM like global _S_Common_Init import lucene try : if not _S_Common_Init : pass except NameError : _S_Common_Init= False if not _S_Common_Init : lucene.initVM(lucene.CLASSPATH) _S_Common_Init = True so, the VM gets initialized exactly once (checked by some debugging output) Probably when I invoke StandardAnalyzer from (pyLucene) I get a Java exception: # An unexpected error has been detected by Java Runtime Environment: # # SIGSEGV (0xb) at pc=0xb72c7c29, pid=24041, tid=3023141776 # # Java VM: Java HotSpot(TM) Client VM (11.0-b15 mixed mode, sharing linux-x86) # Problematic frame: # C [libjcc.so+0xdc29] _ZN7JNIEnv_12NewStringUTFEPKc+0x9 # # An error report file with more information is saved as: # /home/jarausch/Bib/Web/Karrigell-3-081128/hs_err_pid24041.log the first lines of which are --------------- T H R E A D --------------- Current thread is native thread siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x00000000 Many thanks for any hints, Helmut. -- Helmut Jarausch Lehrstuhl fuer Numerische Mathematik RWTH - Aachen University D 52056 Aachen, Germany _______________________________________________ pylucene-dev mailing list pylucene-dev@osafoundation.org http://lists.osafoundation.org/mailman/listinfo/pylucene-dev