Python Fault Handler
Python Fault Handler
python -Xfaulthandler my_program.py
# Or as an environment variable.
PYTHONFAULTHANDLER=1 python my_program.py
References
- https://blog.richard.do/2018/03/18/how-to-debug-segmentation-fault-in-python/
python -Xfaulthandler my_program.py
# Or as an environment variable.
PYTHONFAULTHANDLER=1 python my_program.py