[pylucene-dev] segmentation fault with jcc build
Phil Christensen
phil at bubblehouse.org
Thu Oct 25 12:16:26 PDT 2007
On Oct 25, 2007, at 3:11 PM, Phil Christensen wrote:
> Sorry to be so noisy, but I've run into a much worse issue.
>
> It appears that I can't instantiate anything without getting a
> segmentation fault.
>
>
> phil at babbitt:~$ python
> Python 2.4.4 (#2, Apr 5 2007, 20:11:18)
> [GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> from lucene import BooleanQuery
> >>> b = BooleanQuery()
> Segmentation fault
>
> phil at babbitt:~$ python
> Python 2.4.4 (#2, Apr 5 2007, 20:11:18)
> [GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> from lucene import FSDirectory
> >>> FSDirectory()
> Segmentation fault
BTW, I realize this class cannot be instantiated, I get the same
result this way:
Python 2.4.4 (#2, Apr 5 2007, 20:11:18)
[GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import lucene
>>> directory = lucene.FSDirectory.getDirectory('lucene', False)
Segmentation fault
> Anyone see anything like this before? There might be something
> ridiculous that I did, so I'm going to idiot-check myself, but I
> thought I'd ask....
>
> -phil
More information about the pylucene-dev
mailing list