Setting the core dump configuration: * echo '/tmp/core.%e.%p' | tee /proc/sys/kernel/core_pattern * ulimit -c unlimited The core dump file should be generated if there is a crash from any Python, GO extension or C runtime.