[lldb-dev] [Bug 37429] New: [lldbsuite] When the LLDB HandleCommand crashes, the lldbsuite crashes as well rather than failing the test

via lldb-dev lldb-dev at lists.llvm.org
Fri May 11 15:39:41 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=37429

            Bug ID: 37429
           Summary: [lldbsuite] When the LLDB HandleCommand crashes, the
                    lldbsuite crashes as well rather than failing the test
           Product: lldb
           Version: 6.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: stilis at microsoft.com
                CC: llvm-bugs at lists.llvm.org

For example (on Windows), if assertions are enabled, the test
ExprCommandCallOverriddenMethod crashes when HandleCommand is called inside
runCmd in lldbtest.py. Rather than recording the failure, lldbsuite crashes
this process altogether and the result from the test is not recorded.

A simple try/except doesn't work in this case, so it is likely that to truly
fix this, HandleCommand needs to be called in a separate process, so that its
crash doesn't crash the running test process.

-- 
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/20180511/82289815/attachment.html>


More information about the lldb-dev mailing list