[lldb-dev] [Bug 16016] New: LLDB sometimes asserts when calling SBProcess::Resume() on Linux
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed May 15 10:43:40 PDT 2013
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: lldb-dev at cs.uiuc.edu
Reporter: daniel.malea at intel.com
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20130515/8a904154/attachment.html>
More information about the lldb-dev
mailing list