Re: PyLucene 2.9.0 sources available for testing

2009-09-30 Thread Aaron Lav
On Tue, Sep 29, 2009 at 05:01:06PM -0700, Andi Vajda wrote: > > On Tue, 29 Sep 2009, Aaron Lav wrote: > >> On Tue, Sep 29, 2009 at 03:10:01PM -0700, Andi Vajda wrote: >>> >>> With the recent release of Java Lucene 2.9.0, a PyLucene 2.9.0 release is >>> in

Re: PyLucene 2.9.0 sources available for testing

2009-09-29 Thread Aaron Lav
1.6 and the tests seem to pass OK (r820117 of pylucene). I'm attaching the relevant output, so you can confirm no tests were skipped. Thanks, Aaron Lav (a...@pobox.com) warning: manifest_maker: standard file '

bugs in PythonQueryParser and PythonMultiFieldQueryParser

2009-03-09 Thread Aaron Lav
hed a patch and a test case for PythonQueryParser. It looks like a very similar patch is needed for PythonMultiFieldQueryParser, but the attached test case generates a java null pointer reference exception. I thought I'd send it along anyway in case the bug is obvious. Aaron Lav (a...

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

2009-02-16 Thread Aaron Lav
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 >

Re: Occasional SIGSEGV passing lists of ints to Java int[]

2009-02-06 Thread Aaron Lav
... to '__install__(module);', and it still seems to crash. At this point, the amount of JCC code running is really minimal ... Aaron Lav (a...@pobox.com)

Re: Occasional SIGSEGV passing lists of ints to Java int[]

2009-02-06 Thread Aaron Lav
On Fri, Feb 06, 2009 at 11:50:14AM -0800, Andi Vajda wrote: > > Ok, so keeping these commented out, how much can you comment out of the > actual initVM() defined in jcc.cpp until it no longer crashes ? Unfortunately, if I add Py_INCREF(Py_None); return Py_None; just before if (JNI_C

Re: Occasional SIGSEGV passing lists of ints to Java int[]

2009-02-06 Thread Aaron Lav
On Fri, Feb 06, 2009 at 11:07:24AM -0800, Andi Vajda wrote: > > On Fri, 6 Feb 2009, Aaron Lav wrote: > >>> Does it crash if you don't call initVM() ? >> >> No, the call to _testjcc.initVM(...) seems to be required to >> make it crash. > > There ar

Re: Occasional SIGSEGV passing lists of ints to Java int[]

2009-02-06 Thread Aaron Lav
On Fri, Feb 06, 2009 at 10:44:56AM -0800, Andi Vajda wrote: > > On Feb 6, 2009, at 10:07, Aaron Lav wrote: > >> On Thu, Feb 05, 2009 at 02:45:21PM -0500, Aaron Lav wrote: >>> >>> >> (apologies for the broken threading. I don't seem to be >> gett

Re: Occasional SIGSEGV passing lists of ints to Java int[]s

2009-02-06 Thread Aaron Lav
On Thu, Feb 05, 2009 at 02:45:21PM -0500, Aaron Lav wrote: > > (apologies for the broken threading. I don't seem to be getting email from this list: I've tried resubscribing.) > Have you tried moving things around, like creating the arrays differently ? For example: a

Re: Occasional SIGSEGV passing lists of ints to Java int[]s

2009-02-05 Thread Aaron Lav
On Thu, Feb 05, 2009 at 02:45:21PM -0500, Aaron Lav wrote: > It seems like there's a bug which sometimes causes passing lists of > ints to Java int[]s to generate a SIGSEGV. > ... I've noticed that a call to the wrapped functions doesn't seem to be necessary to generate t

Occasional SIGSEGV passing lists of ints to Java int[]s

2009-02-05 Thread Aaron Lav
ct that if it doesn't do so after 50-100 tries, it's not going to in that environment), and a sample hs_err_pid logfile. Does this reproduce for anyone, or sound familiar? Thanks, Aaron Lav (a...@pobox.com) import _testjcc import random def setupEnv(): if not _testjcc.g