[Lldb-commits] [PATCH] D60519: [Windows] Dump more information about access violation exception

Stella Stamenova via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Apr 16 11:30:14 PDT 2019


stella.stamenova added a comment.

I ran local tests with this and a couple of the tests from the lldb suite failed:

  lldb-Suite :: functionalities/inferior-crashing/TestInferiorCrashing.py
  lldb-Suite :: functionalities/thread/crash_during_step/TestCrashDuringStep.py

Here's the error from one of them (they are the same):

  ##[error]CUSTOMBUILD(0,0): Error : test_step_inst_with_dwarf (TestCrashDuringStep.CrashDuringStepTestCase)
       1>CUSTOMBUILD : error : test_step_inst_with_dwarf (TestCrashDuringStep.CrashDuringStepTestCase) [e:\_work\32\b\LLVMBuild\check-all.vcxproj]
           
              Test thread creation during step-inst handling.
           
           ----------------------------------------------------------------------
           
           Traceback (most recent call last):
           
             File "E:\_work\32\s\llvm\tools\lldb\packages\Python\lldbsuite\test\lldbtest.py", line 1746, in test_method
           
               return attrvalue(self)
           
             File "E:\_work\32\s\llvm\tools\lldb\packages\Python\lldbsuite\test\decorators.py", line 114, in wrapper
           
               func(*args, **kwargs)
           
             File "E:\_work\32\s\llvm\tools\lldb\packages\Python\lldbsuite\test\functionalities\thread\crash_during_step\TestCrashDuringStep.py", line 51, in test_step_inst_with
           
               while process.GetState() == lldb.eStateStopped and not lldbutil.is_thread_crashed(self, thread):
           
             File "E:\_work\32\s\llvm\tools\lldb\packages\Python\lldbsuite\test\lldbutil.py", line 740, in is_thread_crashed
           
               return "Exception 0xc0000005" in thread.GetStopDescription(100)
           
             File "E:\_work\32\b\LLVMBuild\Release\lib\site-packages\lldb\__init__.py", line 11874, in GetStopDescription
           
               return _lldb.SBThread_GetStopDescription(self, dst)
           
           UnicodeDecodeError: 'utf-8' codec can't decode byte 0x97 in position 104: invalid start byte
           
           Config=x86_64-E:\_work\32\b\LLVMBuild\Release\bin\clang.exe


Repository:
  rLLDB LLDB

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D60519/new/

https://reviews.llvm.org/D60519





More information about the lldb-commits mailing list