[Python-Dev] post mortem after threading deadlock?

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Wed, 25 Jul 2001 23:06:03 +0200

> Is there any possibility of getting some post-mortem info out of a
> multi-threaded system whose threads are deadlocked?

You could attach to the process using a C debugger (e.g. gdb), and
have a look at the C stacks of each thread. Then, you can look into
the variables of the eval_code invocations to get a clue of what the
Python stack is.


P.S. Isn't this off-topic for python-dev, and rather a question to
python-list or python-tutor?