[pylucene-dev] Re: Lucene-JCC breaks KeyboardInterrupt

Andi Vajda vajda at osafoundation.org
Wed Nov 14 11:19:59 PST 2007


On Wed, 14 Nov 2007, Pete wrote:

> On Wednesday November 14 2007 1:43:12 pm Andi Vajda wrote:
>> On Wed, 14 Nov 2007, Pete wrote:
>>> Other signal handling appears to work ok tho:
> ...
>> Your workaround doesn't seem to work on Leopard.
>> Maybe, there is an initVM() config parameter than can help ?
>>
>> On Mac for example, initVM(CLASSPATH, vmargs='-Xrs') seems to solve the
>> problem.
>
> That wasn't mean as a workaround, just trying to narrow the scope.
> Anyway, -Xrs works here (Gutsy) as well.

Yeah, it's still a good find. Someone is bound to be mystified about this at 
some point. The list archives should prove helpful...

I'm a little reluctant to make it the default in initVM() since it's a -X 
flag which - by definition - are not portable across VMs and I don't know 
what the other side effects of this trick are. Time should tell....

Andi..


More information about the pylucene-dev mailing list