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
LLDB thread states aren't properly maintained #16196
Comments
Having written a test for this, I see that the test fails on Darwin platforms as well. |
With my FreeBSD thread WIP I see the same failure in test_state_after_breakpoint_with_dwarf. What is odd is that I don't even see SBThread::IsStopped() getting called. I enabled logging to run the test: and in the log I see: I can confirm that the GetThreadAtIndex (index=0) call corresponds to the python test code "thread = process.GetThreadAtIndex(0)" So I think it may actually be that the SWIG / python interface has some issue rather than the thread's state actually being incorrect. |
*** Bug llvm/llvm-bugzilla-archive#25081 has been marked as a duplicate of this bug. *** |
Another test failing in the same way on FreeBSD now: ======================================================================
|
*** Bug llvm/llvm-bugzilla-archive#28455 has been marked as a duplicate of this bug. *** |
reported fixed on FreeBSD in https://reviews.llvm.org/D90757 |
mentioned in issue llvm/llvm-bugzilla-archive#25081 |
mentioned in issue llvm/llvm-bugzilla-archive#28455 |
Extended Description
The state of Thread objects is not properly maintained on Linux. Even when debugging single-threaded inferiors, the thread state does not always properly reflect the actual state of the thread.
The text was updated successfully, but these errors were encountered: