Python Fault Handler

Back

python -Xfaulthandler my_program.py

# Or as an environment variable.
PYTHONFAULTHANDLER=1 python my_program.py

References

  1. https://blog.richard.do/2018/03/18/how-to-debug-segmentation-fault-in-python/