On Mar 8, 2008, at 8:05, Pete <[EMAIL PROTECTED]> wrote:
When lucene has been imported & initVM'd, inifinite recursion causes a segfault, even if the recursing function doesn't use lucene. In [1]: import lucene In [2]: lucene.initVM(lucene.CLASSPATH) Out[2]: <jcc.JCCEnv object at 0xb7e18300> In [3]: def f(): ...: return f() ...: In [4]: f() Segmentation fault (core dumped) Without initializing lucene VM: <type 'exceptions.RuntimeError'>: maximum recursion depth exceeded Strangeness.
Try initVM(vmargs='-Xrs') which affects how java uses signals. Another thing that could affect this is how much stack you give java with -Xms (also maxstack) increasing it may give you your Python exception back.
Andi..
-- Peter Fein || 773-575-0694 || [EMAIL PROTECTED] http://www.pobox.com/~pfein/ || PGP: 0xCCF6AE6B irc: [EMAIL PROTECTED] || jabber: [EMAIL PROTECTED] _______________________________________________ pylucene-dev mailing list [email protected] http://lists.osafoundation.org/mailman/listinfo/pylucene-dev
_______________________________________________ pylucene-dev mailing list [email protected] http://lists.osafoundation.org/mailman/listinfo/pylucene-dev
