[pylucene-dev] what's JCCEnv::exception?
Andi Vajda
vajda at osafoundation.org
Wed Mar 5 15:53:27 PST 2008
On Wed, 5 Mar 2008, Bill Janssen wrote:
> So, now my Python process is exiting with
>
> terminate called after throwing an instance of 'JCCEnv::exception'
> Abort
>
> How do I debug this?
Ah ha, an unhandled C++ exception :)
To debug this, run your process in gdb and get a stack trace.
It's better if you build jcc and PyLucene with debugging turned on and
optimizations turned off by adding -g and -O0 to the CFLAGS in setup.py.
But, most important, be sure to recompile PyLucene passing --debug to jcc.
This prevents it from asking the linker to strip the executable of its
symbols and makes debugging easier.
Andi..
More information about the pylucene-dev
mailing list