jeffreytan81 wrote: > What is the other lock involved in the deadlock, other than the API mutex?
It is the same lock (`target.GetAPIMutex()`). If you looked at the shared callstacks above, main thread is holding the API mutex in `BaseRequestHandler`, at the same time, event thread above tries to call `SBProcess::GetExitStatus()` which also tries to acquire the same API mutex internally. This caused deadlock. https://github.com/llvm/llvm-project/pull/137026 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits