Hi we are experiencing a crash when embedding python in our application on Ubuntu 22.04:
Program received signal SIGSEGV, Segmentation fault.
0x00007fab749022c2 in _Py_GetConfig () from /lib/x86_64-linux-gnu/libpython3.10.so.1.0
(gdb) bt
#0 0x00007fab749022c2 in _Py_GetConfig () from /lib/x86_64-linux-gnu/libpython3.10.so.1.0
#1 0x00007fab74826f22 in ?? () from /lib/x86_64-linux-gnu/libpython3.10.so.1.0
#2 0x0000557f1cfcc953 in _Py_DECREF ()
#3 0x0000557f1cfcd80d in boost::python::api::object_base::~object_base() ()
#4 0x0000557f1cfcd6e6 in boost::python::api::object::~object() ()
#5 0x0000557f1cfcd235 in MyPyInterpreter::deInit() ()
#6 0x0000557f1cfccb20 in main ()
I have extracted a minimum working example reproducing the issue. On other systems the code works:
Hi we are experiencing a crash when embedding python in our application on Ubuntu 22.04:
I have extracted a minimum working example reproducing the issue. On other systems the code works:
The source code to reproduce:
CMakeLists.txt
py_sigsev_mini.cpp:
Best regards,
Gunther