[Lldb-commits] [PATCH] D18075: Fix deadlock due to thread list locking in 'bt all' with obj-c

Jim Ingham via lldb-commits lldb-commits at lists.llvm.org
Thu Mar 10 18:43:42 PST 2016


jingham added a comment.

Oh, yeah, and note the other branch of the if holds the thread list mutex the whole time.  So you'll need to change that to get the list of threads, then drop the mutex & iterate over them or you'll get into the same problem if somebody does:

(lldb) thread backtrace 1 2 3 4 5

or whatever.


http://reviews.llvm.org/D18075





More information about the lldb-commits mailing list