You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pylucene-dev@lucene.apache.org by Aaron Lav <as...@pobox.com> on 2009/02/16 20:13:37 UTC

Re: Occasional SIGSEGV passing lists of ints to Java int[] - not JCC's fault

On Fri, Feb 06, 2009 at 07:58:31PM -0500, Aaron Lav wrote:
> I've also tried modifying the output testjcc.c so it doesn't
> contain the lines from INSTALL_TYPE(JObject,module) ... to '__install__(module);', and it still seems to crash.  At this point, the amount of JCC
> code running is really minimal ...

To follow up, I've reproduced the crash without any JCC code, using
the code at http://www.pobox.com/~asl2/python_jni_bug.tar.gz

I thought everyone would like to know that JCC isn't at fault here.
(The code in the tarfile initializes Python from within Java, so
there's not even any call to JNI_CreateJavaVM and thus no code similarity
at all.)

   Aaron Lav (asl2@pobox.com)





Re: Occasional SIGSEGV passing lists of ints to Java int[] - not JCC's fault

Posted by Andi Vajda <va...@apache.org>.
On Feb 16, 2009, at 11:13, Aaron Lav <as...@pobox.com> wrote:

> On Fri, Feb 06, 2009 at 07:58:31PM -0500, Aaron Lav wrote:
>> I've also tried modifying the output testjcc.c so it doesn't
>> contain the lines from INSTALL_TYPE(JObject,module) ... to  
>> '__install__(module);', and it still seems to crash.  At this  
>> point, the amount of JCC
>> code running is really minimal ...
>
> To follow up, I've reproduced the crash without any JCC code, using
> the code at http://www.pobox.com/~asl2/python_jni_bug.tar.gz
>
> I thought everyone would like to know that JCC isn't at fault here.
> (The code in the tarfile initializes Python from within Java, so
> there's not even any call to JNI_CreateJavaVM and thus no code  
> similarity
> at all.)

Thank you for the update. The plot thickens. Please, keep us posted as  
this gets elucidated...

Thanks !

Andi..

>
>
>   Aaron Lav (asl2@pobox.com)
>
>
>