Hello again,

I now solved the issue by calling the right initializations of PyLucene
(after some trial):

1. Add "import lucene" and "lucene.initVM(lucene.CLASSPATH)" to the top of
your "reviewboard/settings.py" file. This ensures that the VM is
initialized in the main thread.
2. Add the statment "lucene.getVMEnv().attachCurrentThread()" right behind
the "import lucene" statement in "reviewboard/reviews/views.py". This is
necessary to attach each new thread which uses the VM.

After doing this the SIGSEGV errors with apache2 went away. Maybe there is
a better spot to put those things, but it should be definitely adjusted
for further releases.

Regards, Ruben

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Reply via email to