[common] debug: unwind all threads and print on force quit

This commit is contained in:
Geoffrey McRae
2026-07-29 11:05:31 +10:00
parent 4999e24bb7
commit 6dd91a1269
4 changed files with 177 additions and 27 deletions

View File

@@ -1236,6 +1236,7 @@ void intHandler(int sig)
else
{
DEBUG_INFO("Caught second signal, force quitting...");
printAllThreadBacktraces();
signal(sig, SIG_DFL);
raise(sig);
}