http://llvm.org/bugs/show_bug.cgi?id=16016
Bug ID: 16016
Summary: LLDB sometimes asserts when calling
SBProcess::Resume() on Linux
Product: lldb
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
The bug seems to be in the Linux process plugin; my feeling is that it points
to a race condition in the plugin, as it happens non-deterministically.
The assertion failure is:
ProcessPOSIX.cpp:259: virtual lldb_private::Error ProcessPOSIX::DoResume():
Assertion `state == eStateStopped || state == eStateCrashed' failed.
To reproduce, run:
python dotest.py --executable <path-to-lldb> api/multithreaded/
NOTE: if the problem does not reproduce initially, try running dotest.py -#10
to run the test 10 times.
The test case in question is test_listener_resume.cpp which spawns a secondary
thread to handle SBListener events and calls Resume() on the process retrieved
from the event.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev