-
Notifications
You must be signed in to change notification settings - Fork 13.5k
[lldb] The test TestCancelAttach.py hangs on Windows host with Linux target #115618
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@llvm/issue-subscribers-lldb Author: Dmitry Vasilyev (slydiman)
Issue 1:
TestCancelAttach.py, line 33
The call `self.target.AttachToProcessWithName(lldb.SBListener(), "LLDB-No-Such-Process", True, self.error)` in the AttachThread never return in case of Windows host and Linux target.
Issue 2:
but the main thread will still wait for the AttachThread until timeout 10 min. The issue 1 is most important.
The callstack in case of Windows host and Linux target is the following
Note Unfortunately I cannot debug (compare) it on Linux host right now. |
See llvm#115618 for details.
Issue 1:
TestCancelAttach.py, line 33
The call
self.target.AttachToProcessWithName(lldb.SBListener(), "LLDB-No-Such-Process", True, self.error)
in the AttachThread never return in case of Windows host and Linux target.Issue 2:
The test failed here
but the main thread will still wait for the AttachThread until timeout 10 min.
The issue 1 is most important.
The callstack is the following
Note
process_sp = platform_sp->Attach(attach_info, GetDebugger(), this, error);
at \llvm-project\lldb\source\Target\Target.cpp(3526)runs gdbserver and puts
vAttachWait
command withLLDB-No-Such-Process
to the event queue. But this packet never sent to the target (and no response). Something is wrong with listeners/broadcasters.Unfortunately I cannot debug (compare) it on Linux host right now.
The text was updated successfully, but these errors were encountered: