[Lldb-commits] [lldb] [lldb] Fix deadlock when a REPL expression hits a breakpoint (PR #227400)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Tue Sep 29 10:49:32 PDT 2026
================
@@ -451,6 +446,17 @@ void REPL::IOHandlerInputComplete(IOHandler &io_handler, std::string &code) {
}
}
+ // RunIOHandlerAsync takes the IOHandler stack mutex, and
----------------
JDevlieghere wrote:
The fix moves one RunIOHandlerAsync call out of the locked region, but the underlying inversion is still there: IOHandlerStack::PrintAsync takes the stack mutex and then the shared m_output_mutex, while other code takes them in the opposite order.
https://github.com/llvm/llvm-project/pull/227400
More information about the lldb-commits
mailing list