3

I have a python program. It has many eventlet coroutine. It seems that the program have dead lock someday. I have dumped its memory. I want to find reason. The question is how to get eventlet coroutine stack using gdb.

Additional Information:

  1. I know how to get all thread stack through gdb. But it comes to eventlet coroutine,it became difficult. Because I have not enough info about python interpreter.
  2. I also know how to get all eventlet coroutine stack in a python program by iterating all object. But it is useless to the situation we should check all object through gdb.
ks1322
  • 33,961
  • 14
  • 109
  • 164
xhzhf
  • 31
  • 1

1 Answers1

2

There is no simple way as with regular threads.

Here are some hints to help you, though:

Community
  • 1
  • 1
temoto
  • 5,394
  • 3
  • 34
  • 50