[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 04:44:04 PST 2024


anatawa12 wrote:

> Can you explain what's the difference between them?

Sorry for confusion. I'll explain two bugs cleanly.

First of all, both bug must be fixed to pass `TestDetachResumes` test.

The first bug is the process may freeze in Suspended state on detaching process.
This bug is tracked as #67825.
It looks this only happens when we detached process without resuming process (continue command).

The second bug is the process may crash (killed)on detaching process.
It looks this bug is not tracked in llvm-project repository but I think [RIDER-99436] is experiencing this bug.
It looks this bug will always happen on detaching process.

Both bug will make the attached process unusable on detaching process, but the difference between two bug is what happens on detaching process.
The first bug make the process frozen in Suspended state, the later bug crashes the process.

[RIDER-99436]: https://youtrack.jetbrains.com/issue/RIDER-99436/Unity-Editor-will-be-crashed-when-detaching-LLDB-debugger-in-Rider


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


More information about the lldb-commits mailing list