Skip to content

Instantly share code, notes, and snippets.

@schmiddy
Created July 30, 2015 15:42
Show Gist options
  • Save schmiddy/5030f66c09f297b919c6 to your computer and use it in GitHub Desktop.
Save schmiddy/5030f66c09f297b919c6 to your computer and use it in GitHub Desktop.
py-bt backtrace
(gdb) py-bt
#5 Frame 0x6365b40, for file /usr/lib/python2.7/threading.py, line 243, in wait (self=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f7478826180>, acquire=<built-in method acquire of thread.lock object at remote 0x7f7478826180>, _Condition__waiters=[<thread.lock at remote 0x7f74788262c0>], release=<built-in method release of thread.lock object at remote 0x7f7478826180>) at remote 0x67a1bc0>, timeout=None, waiter=<thread.lock at remote 0x7f74788262c0>, saved_state=None)
waiter.acquire()
#9 Frame 0x7f74780e7ab0, for file /usr/lib/python2.7/Queue.py, line 168, in get (self=<Queue(unfinished_tasks=0, queue=<collections.deque at remote 0x7f74784c6d80>, maxsize=0, all_tasks_done=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f7478826180>, acquire=<built-in method acquire of thread.lock object at remote 0x7f7478826180>, _Condition__waiters=[], release=<built-in method release of thread.lock object at remote 0x7f7478826180>) at remote 0x7f7478555680>, mutex=<thread.lock at remote 0x7f7478826180>, not_full=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f7478826180>, acquire=<built-in method acquire of thread.lock object at remote 0x7f7478826180>, _Condition__waiters=[], release=<built-in method release of thread.lock object at remote 0x7f7478826180>) at remote 0x7f747882f1b0>, not_empty=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f7478826180>, acquire=<built-in method acquire of thread.lock object at r...(truncated)
self.not_empty.wait()
#13 Frame 0x63f5390, for file /path/to/venv/local/lib/python2.7/site-packages/twisted/internet/threads.py, line 120, in blockingCallFromThread (reactor=<EPollReactor(waker=<_UnixWaker(i=46, fileno=<function at remote 0x42a7108>, reactor=<...>, o=47) at remote 0x449b840>, _poller=<select.epoll at remote 0x3a953a0>, _cancellations=34, _justStopped=False, _newTimedCalls=[], _pendingTimedCalls=[<DelayedCall(resetter=<instancemethod at remote 0x7f74783567e0>, seconds=<built-in function time>, canceller=<instancemethod at remote 0x7f7478be45e0>, delayed_time=0, time=<float at remote 0x7f74783ad1d0>, cancelled=1, called=0) at remote 0x5420c18>, <DelayedCall(resetter=<instancemethod at remote 0x7f74786a1360>, seconds=<built-in function time>, canceller=<instancemethod at remote 0x7f747868b960>, delayed_time=0, time=<float at remote 0x7f74785f49e8>, cancelled=1, called=0) at remote 0x7f747871cc18>, <DelayedCall(resetter=<instancemethod at remote 0x54392e0>, seconds=<built-in function time>, canceller=<instancemetho...(truncated)
result = queue.get()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment