terminate called after throwing an instance of 'boost::python::error_already_set

Barry barry at barrys-emacs.org
Sat May 28 04:17:18 EDT 2022



> On 27 May 2022, at 21:17, Larry Martell <larry.martell at gmail.com> wrote:
> 
> I have a script that has literally been running for 10 years.
> Suddenly, for some runs it crashes with the error:
> 
> terminate called after throwing an instance of 'boost::python::error_already_set
This is from an extension that is written in C++ that raised a C++exception, not
a python one. The default action in C++ is to terminal the process so python
does not get a chance to prints its stack.

> 
> No stack trace. Anyone have any thoughts on what could cause this
> and/or how I can track it down?

You will need to use a C++ level debugger to see which extension is crashing.
gdb on linux, lldb on macOs or visual studio on windows.

Barry


> -- 
> https://mail.python.org/mailman/listinfo/python-list
> 



More information about the Python-list mailing list