[Lldb-commits] [PATCH] D12552: Fix deadlock while attaching to inferiors
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Wed Sep 2 03:51:33 PDT 2015
labath created this revision.
labath added reviewers: clayborg, ovyalov.
labath added a subscriber: lldb-commits.
There was a race condition in the AsyncThread, where we would end up sending a vAttach
notification to the thread before it got a chance set up its listener (this can be reproduced by
adding a sleep() at the very beginning of ProcessGDBRemote::AsyncThread()). This event would then
get lost and we LLDB would deadlock. I fix this by setting up the listener early on, in the
This should improve the stability of all attach tests. For now, I am removing XTIMEOUT from
TestAttachResume, and will watch the buildbots for signs of trouble.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 23259 bytes
Desc: not available
More information about the lldb-commits