[pylucene-dev] "thread_get_state failed" + abort in PyLucene

Andi Vajda vajda at osafoundation.org
Thu May 24 19:41:37 PDT 2007


On Fri, 25 May 2007, Terry Jones wrote:

> One other thing to mention is that the crash doesn't seem to happen when I
> run twistd with -n (no daemon) option. JP Calderone on the Twisted list
> suggested that PyLucene might be somehow thrown off by the initial fork of
> twistd. That doesn't seem to be the case though, as I rewrote things to
> defer the PyLucene import (using __import__) until after twistd has
> started. So I'm not sure what to make of the crash only happening when
> twistd runs as a daemon.

I remember someone asking the same question on the java at gcc.gnu.org. Running a 
libgcj process after forking it is not supported, really.
See: http://gcc.gnu.org/ml/java/2007-03/msg00136.html

Andi..


More information about the pylucene-dev mailing list