[Lldb-commits] [lldb] fix: Target Process may crash or freezes on detaching process on windows (PR #115712)

via lldb-commits lldb-commits at lists.llvm.org
Wed Nov 13 16:39:27 PST 2024


anatawa12 wrote:

> I'm less sure about this one. Is that due to the breakpoint exception somehow remaining "pending" and that we need to clear/ignore/suppress it before detaching?

Sorry I don't know the reason of this behavior, but not calling corresponding ContinueDebugEvent for WaitForDebugEvent may cause crash is what I know.

It looks leaving some "pending" events / exceptions in queue doesn't trigger problem, but leaving "processing" events / exceptions would cause this problem.

---

I misunderstand the behavior a little. 

Sorry for confusion again.
In my previous comment, I said "It think this bug will always happen on detaching process" for second bug but I found that this bug depends on the implementation of target process and a.out from TestDetachResumes would not have this problem.
I fixed the previous comment.

https://github.com/llvm/llvm-project/pull/115712


More information about the lldb-commits mailing list