[lldb-dev] [Bug 15258] New: lldb asserts on Linux in ProcessMonitor::GetCrashReasonForSIGSEGV
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Feb 13 14:03:07 PST 2013
http://llvm.org/bugs/show_bug.cgi?id=15258
Bug ID: 15258
Summary: lldb asserts on Linux in
ProcessMonitor::GetCrashReasonForSIGSEGV
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
In the testcase TestExprDoesntBlock.py, the inferior sometimes (but not always)
receives a SIGSEGV during expression evaluation. The siginfo structure that
LLDB gets from the kernel has an invalid si_code value (128 == SI_KERNEL).
According to siginfo docs, si_code == SI_KERNEL means that the signal was sent
by the kernel -- but not because a protected or otherwise invalid address was
accessed. Most likely this is happening because of some ptrace() mis-use
somewhere.
While it would be trivial to handle SI_KERNEL and add an appropriate
exit-description string to ProcessMessage.[h|cpp] we want to find out why
SI_KERNEL is being sent to this test case, and why it is not happening always.
Skipping the test case until someone else has time to look at it further.
--
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/20130213/c314dae7/attachment.html>
More information about the lldb-dev
mailing list