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..
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

Reply via email to