[pylucene-dev] malloc errors with particular vmargs

Aric Coady aric.coady at gmail.com
Wed Apr 9 11:38:46 PDT 2008


While trying to use MMapDirectory, it seems incompatible with the  
keyboard interrupt vmarg.  It can be reproduced with the below line.

$ python -c "import lucene; lucene.initVM(lucene.CLASSPATH, vmargs='- 
Xrs,- 
Dorg 
.apache 
.lucene.FSDirectory.class=org.apache.lucene.store.MMapDirectory')"
Python(52732) malloc: *** error for object 0x32e2a0: double free
*** set a breakpoint in malloc_error_break to debug

I'm using Python 2.5, PyLucene 2.3, OSX/Intel.  My current workaround  
is just to ignore '-Xrs', which doesn't seem necessary on osx anyway.   
Any suggestions?



More information about the pylucene-dev mailing list