tests: richer SIGABRT diagnostics — thread snapshot + ctypes C backtrace
Reverts the all_done suppression in favour of capturing more information:
- _snapshot_threads(): reads /proc/self/task/ just before destroy_process_group
and writes tid/hex-id/comm/state/wchan for every OS thread, so the crashing
thread address from faulthandler can be resolved to a C++ thread name.
- _install_sigabrt_handler(): Python-level SIGABRT handler that dumps all
Python thread stacks (sys._current_frames) and the main thread's C-level
backtrace (ctypes backtrace_symbols_fd) to rank_{r}_sigabrt.txt.
- Logs torch version to breadcrumb at startup.
- Parent collects _threads.txt and _sigabrt.txt alongside existing files.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>