A Python process hangs in futex():
root@pc:~# strace -p 9042
strace: Process 9042 attached
futex(0x1e61900, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, NULL, ffffffff
I want to see the stacktrace if the hanging process.
Unfortunately ctrl-c does not work :-(
How can I see the stacktrace if Python hangs like this?
kill -SEGV
the process and examine the core, if you don't need to keep it alive. – Proponent