my python script was blocked when my c++ encountered coredump #4790
zhangqiongyu
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
my C++ code is:
My compile command is
$ c++ -O3 -Wall -shared -std=c++11 -fPIC $(python3 -m pybind11 --includes) example.cpp -o example$(python3-config --extension-suffix)
And my python code is
the python script is blocked when I use signal to capture the SIGFPE or SIGSEGV. So how can I solve this problem?Thx!!!!
Beta Was this translation helpful? Give feedback.
All reactions