[pylucene-dev] "thread_get_state failed" + abort in PyLucene
Jarek Zgoda
jarek.zgoda at sensisoft.com
Fri May 25 00:35:28 PDT 2007
Andi Vajda napisał(a):
>> 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
OMG, I was looking for the explanation of my twistd-based server crashes
for more than 2 months...
Things got much clearer now.
--
Jarek Zgoda
"We read Knuth so you don't have to."
More information about the pylucene-dev
mailing list