Regression

Test DWARF5 / lldb-api.functionalities/inferior-crashing.TestInferiorCrashing.py (from lldb-api)

Failing for the past 1 build (Since #5406 )
Took 10 sec.

Stacktrace

Script:
--
/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/bin/python3.8 /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/dotest.py -u CXXFLAGS -u CFLAGS --codesign-identity lldb_codesign --env LLVM_LIBS_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./lib --env LLVM_INCLUDE_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/include --env LLVM_TOOLS_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin --libcxx-include-dir /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/include/c++/v1 --libcxx-library-dir /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lib --arch x86_64 --build-dir /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex --lldb-module-cache-dir /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api --clang-module-cache-dir /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/module-cache-clang/lldb-api --executable /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/lldb --compiler /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang --dsymutil /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/dsymutil --llvm-tools-dir /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin --lldb-libs-dir /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./lib --arch x86_64 --build-dir /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex -t --env TERM=vt100 --skip-category gmodules --skip-category watchpoint --skip-category llgs --skip-category debugserver --arch=x86_64 --dwarf-version=5 /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing -p TestInferiorCrashing.py
--
Exit Code: 1

Command Output (stdout):
--
lldb version 16.0.99git (https://github.com/llvm/llvm-project.git revision 19158eb7f06d7ed4a834a35a3afa6bda2685a05b)
  clang revision 19158eb7f06d7ed4a834a35a3afa6bda2685a05b
  llvm revision 19158eb7f06d7ed4a834a35a3afa6bda2685a05b
Skipping the following test categories: ['gmodules', 'watchpoint', 'llgs', 'debugserver', 'libstdcxx', 'dwo', 'llgs', 'fork']
Stack trace for thread id=0xab464 name=None queue=com.apple.main-thread stop reason=exception
  frame #0: 0x00000100003f50 a.out`main + 48
  frame #1: 0x007fff71861cc9 libdyld.dylib`start + 1
  frame #2: 0x007fff71861cc9 libdyld.dylib`start + 1
Stack trace for thread id=0xab61e name=None queue=com.apple.main-thread stop reason=exception
  frame #0: 0x00000100003f50 a.out`clang version 16.0.99 (https://github.com/llvm/llvm-project.git 19158eb7f06d7ed4a834a35a3afa6bda2685a05b) at None:9 ((int)clang version 16.0.99 (https://github.com/llvm/llvm-project.git 19158eb7f06d7ed4a834a35a3afa6bda2685a05b)=1, (const signed char **)clang version 16.0.99 (https://github.com/llvm/llvm-project.git 19158eb7f06d7ed4a834a35a3afa6bda2685a05b)=0x00007ffeefbff708)
  frame #1: 0x007fff71861cc9 libdyld.dylib`start + 1
  frame #2: 0x007fff71861cc9 libdyld.dylib`start + 1

--
Command Output (stderr):
--
Change dir to: /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing
runCmd: settings clear -all
output: 

runCmd: settings set symbols.enable-external-lookup false
output: 

runCmd: settings set target.inherit-tcc true
output: 

runCmd: settings set target.detach-on-error false
output: 

runCmd: settings set target.auto-apply-fixits false
output: 

runCmd: settings set plugin.process.gdb-remote.packet-timeout 60
output: 

runCmd: settings set symbols.clang-modules-cache-path "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api"
output: 

runCmd: settings set use-color false
output: 

make VPATH=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing -C /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/functionalities/inferior-crashing/TestInferiorCrashing.test_inferior_crashing_dsym -I /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing -I /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make -f /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing/Makefile MAKE_DSYM=YES all ARCH=x86_64 'CC="/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang"' DSYMUTIL=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/dsymutil CODESIGN=codesign CLANG_MODULE_CACHE_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/module-cache-clang/lldb-api LIBCPP_INCLUDE_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/include/c++/v1 LIBCPP_LIBRARY_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lib

"/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang" -gdwarf-5 -isysroot "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk" -arch x86_64  -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../../include -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h  -fno-limit-debug-info   -MT main.o -MD -MP -MF main.d -c -o main.o /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing/main.c
"/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang"  main.o -gdwarf-5 -isysroot "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk" -arch x86_64  -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../../include -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h  -fno-limit-debug-info     -L/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lib -Wl,-rpath,/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lib -lc++ --driver-mode=g++ -o "a.out"
codesign -s - "a.out"
"/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/dsymutil"  -o "a.out.dSYM" "a.out"


runCmd: file /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/functionalities/inferior-crashing/TestInferiorCrashing.test_inferior_crashing_dsym/a.out
output: Current executable set to '/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/functionalities/inferior-crashing/TestInferiorCrashing.test_inferior_crashing_dsym/a.out' (x86_64).


runCmd: run
output: Process 51314 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
    frame #0: 0x0000000100003f50 a.out`main + 48
a.out`main:
->  0x100003f50 <+48>: movl   (%rax), %esi
    0x100003f52 <+50>: leaq   0x46(%rip), %rdi          ; "Now crash %d\n"
    0x100003f59 <+57>: movb   $0x0, %al
    0x100003f5b <+59>: callq  0x100003f68               ; symbol stub for: printf
Process 51314 launched: '/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/functionalities/inferior-crashing/TestInferiorCrashing.test_inferior_crashing_dsym/a.out' (x86_64)


runCmd: thread list
output: Process 51314 stopped
* thread #1: tid = 0xaab62, 0x0000000100003f50 a.out`main + 48, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)


Ran command:
"thread list"

Got output:
Process 51314 stopped
* thread #1: tid = 0xaab62, 0x0000000100003f50 a.out`main + 48, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)

Expecting sub string: "stopped" (was found)
Expecting sub string: "stop reason = EXC_BAD_ACCESS" (was found)

runCmd: thread backtrace all
output: * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
  * frame #0: 0x0000000100003f50 a.out`main + 48
    frame #1: 0x00007fff71861cc9 libdyld.dylib`start + 1
    frame #2: 0x00007fff71861cc9 libdyld.dylib`start + 1


Ran command:
"thread backtrace all"

Got output:
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
  * frame #0: 0x0000000100003f50 a.out`main + 48
    frame #1: 0x00007fff71861cc9 libdyld.dylib`start + 1
    frame #2: 0x00007fff71861cc9 libdyld.dylib`start + 1

Expecting sub string: "stop reason = EXC_BAD_ACCESS" (was found)
Expecting sub string: "main.c:9" (was not found)

FAIL: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang-x86_64) :: test_inferior_crashing_dsym (TestInferiorCrashing.CrashingInferiorTestCase)
<bound method SBProcess.Kill of SBProcess: pid = 51314, state = stopped, threads = 1, executable = a.out>: success

runCmd: settings clear -all
output: 

runCmd: settings set symbols.enable-external-lookup false
output: 

runCmd: settings set target.inherit-tcc true
output: 

runCmd: settings set target.detach-on-error false
output: 

runCmd: settings set target.auto-apply-fixits false
output: 

runCmd: settings set plugin.process.gdb-remote.packet-timeout 60
output: 

runCmd: settings set symbols.clang-modules-cache-path "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api"
output: 

runCmd: settings set use-color false
output: 

make VPATH=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing -C /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/functionalities/inferior-crashing/TestInferiorCrashing.test_inferior_crashing_dwarf -I /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing -I /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make -f /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing/Makefile MAKE_DSYM=NO all ARCH=x86_64 'CC="/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang"' DSYMUTIL=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/dsymutil CODESIGN=codesign CLANG_MODULE_CACHE_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/module-cache-clang/lldb-api LIBCPP_INCLUDE_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/include/c++/v1 LIBCPP_LIBRARY_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lib

"/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang" -gdwarf-5 -isysroot "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk" -arch x86_64  -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../../include -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h  -fno-limit-debug-info   -MT main.o -MD -MP -MF main.d -c -o main.o /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing/main.c
"/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang"  main.o -gdwarf-5 -isysroot "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk" -arch x86_64  -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../../include -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h  -fno-limit-debug-info     -L/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lib -Wl,-rpath,/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lib -lc++ --driver-mode=g++ -o "a.out"
codesign -s - "a.out"


runCmd: file /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/functionalities/inferior-crashing/TestInferiorCrashing.test_inferior_crashing_dwarf/a.out
output: Current executable set to '/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/functionalities/inferior-crashing/TestInferiorCrashing.test_inferior_crashing_dwarf/a.out' (x86_64).


runCmd: run
output: Process 51385 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
    frame #0: 0x0000000100003f50 a.out`clang version 16.0.99 (clang version 16.0.99 (https://github.com/llvm/llvm-project.git 19158eb7f06d7ed4a834a35a3afa6bda2685a05b)=1, clang version 16.0.99 (https://github.com/llvm/llvm-project.git 19158eb7f06d7ed4a834a35a3afa6bda2685a05b)=0x00007ffeefbff718)
Likely cause: clang version 16.0.99 (https://github.com/llvm/llvm-project.git 19158eb7f06d7ed4a834a35a3afa6bda2685a05b) accessed 0x0
Process 51385 launched: '/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/functionalities/inferior-crashing/TestInferiorCrashing.test_inferior_crashing_dwarf/a.out' (x86_64)


runCmd: thread list
output: Process 51385 stopped
* thread #1: tid = 0xaace7, 0x0000000100003f50 a.out`clang version 16.0.99 (clang version 16.0.99 (https://github.com/llvm/llvm-project.git 19158eb7f06d7ed4a834a35a3afa6bda2685a05b)=1, clang version 16.0.99 (https://github.com/llvm/llvm-project.git 19158eb7f06d7ed4a834a35a3afa6bda2685a05b)=0x00007ffeefbff718), queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)


Ran command:
"thread list"

Got output:
Process 51385 stopped
* thread #1: tid = 0xaace7, 0x0000000100003f50 a.out`clang version 16.0.99 (clang version 16.0.99 (https://github.com/llvm/llvm-project.git 19158eb7f06d7ed4a834a35a3afa6bda2685a05b)=1, clang version 16.0.99 (https://github.com/llvm/llvm-project.git 19158eb7f06d7ed4a834a35a3afa6bda2685a05b)=0x00007ffeefbff718), queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)

Expecting sub string: "stopped" (was found)
Expecting sub string: "stop reason = EXC_BAD_ACCESS" (was found)

runCmd: thread backtrace all
output: * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
  * frame #0: 0x0000000100003f50 a.out`clang version 16.0.99 (clang version 16.0.99 (https://github.com/llvm/llvm-project.git 19158eb7f06d7ed4a834a35a3afa6bda2685a05b)=1, clang version 16.0.99 (https://github.com/llvm/llvm-project.git 19158eb7f06d7ed4a834a35a3afa6bda2685a05b)=0x00007ffeefbff718)
    frame #1: 0x00007fff71861cc9 libdyld.dylib`start + 1
    frame #2: 0x00007fff71861cc9 libdyld.dylib`start + 1


Ran command:
"thread backtrace all"

Got output:
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
  * frame #0: 0x0000000100003f50 a.out`clang version 16.0.99 (clang version 16.0.99 (https://github.com/llvm/llvm-project.git 19158eb7f06d7ed4a834a35a3afa6bda2685a05b)=1, clang version 16.0.99 (https://github.com/llvm/llvm-project.git 19158eb7f06d7ed4a834a35a3afa6bda2685a05b)=0x00007ffeefbff718)
    frame #1: 0x00007fff71861cc9 libdyld.dylib`start + 1
    frame #2: 0x00007fff71861cc9 libdyld.dylib`start + 1

Expecting sub string: "stop reason = EXC_BAD_ACCESS" (was found)
Expecting sub string: "main.c:9" (was not found)

FAIL: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang-x86_64) :: test_inferior_crashing_dwarf (TestInferiorCrashing.CrashingInferiorTestCase)
<bound method SBProcess.Kill of SBProcess: pid = 51385, state = stopped, threads = 1, executable = a.out>: success

UNSUPPORTED: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang-x86_64) :: test_inferior_crashing_dwo (TestInferiorCrashing.CrashingInferiorTestCase) (test case does not fall in any category of interest for this run) 
runCmd: settings clear -all
output: 

runCmd: settings set symbols.enable-external-lookup false
output: 

runCmd: settings set target.inherit-tcc true
output: 

runCmd: settings set target.detach-on-error false
output: 

runCmd: settings set target.auto-apply-fixits false
output: 

runCmd: settings set plugin.process.gdb-remote.packet-timeout 60
output: 

runCmd: settings set symbols.clang-modules-cache-path "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api"
output: 

runCmd: settings set use-color false
output: 

make VPATH=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing -C /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/functionalities/inferior-crashing/TestInferiorCrashing.test_inferior_crashing_expr_dsym -I /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing -I /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make -f /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing/Makefile MAKE_DSYM=YES all ARCH=x86_64 'CC="/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang"' DSYMUTIL=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/dsymutil CODESIGN=codesign CLANG_MODULE_CACHE_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/module-cache-clang/lldb-api LIBCPP_INCLUDE_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/include/c++/v1 LIBCPP_LIBRARY_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lib

"/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang" -gdwarf-5 -isysroot "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk" -arch x86_64  -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../../include -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h  -fno-limit-debug-info   -MT main.o -MD -MP -MF main.d -c -o main.o /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing/main.c
"/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang"  main.o -gdwarf-5 -isysroot "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk" -arch x86_64  -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../../include -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h  -fno-limit-debug-info     -L/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lib -Wl,-rpath,/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lib -lc++ --driver-mode=g++ -o "a.out"
codesign -s - "a.out"
"/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/dsymutil"  -o "a.out.dSYM" "a.out"


runCmd: file /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/functionalities/inferior-crashing/TestInferiorCrashing.test_inferior_crashing_expr_dsym/a.out
output: Current executable set to '/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/functionalities/inferior-crashing/TestInferiorCrashing.test_inferior_crashing_expr_dsym/a.out' (x86_64).


runCmd: run
output: Process 51468 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
    frame #0: 0x0000000100003f50 a.out`main + 48
a.out`main:
->  0x100003f50 <+48>: movl   (%rax), %esi
    0x100003f52 <+50>: leaq   0x46(%rip), %rdi          ; "Now crash %d\n"
    0x100003f59 <+57>: movb   $0x0, %al
    0x100003f5b <+59>: callq  0x100003f68               ; symbol stub for: printf
Process 51468 launched: '/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/functionalities/inferior-crashing/TestInferiorCrashing.test_inferior_crashing_expr_dsym/a.out' (x86_64)


runCmd: p argc
runCmd failed!
error: expression failed to parse:
error: <user expression 0>:1:1: use of undeclared identifier 'argc'
argc
^


FAIL: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang-x86_64) :: test_inferior_crashing_expr_dsym (TestInferiorCrashing.CrashingInferiorTestCase)
<bound method SBProcess.Kill of SBProcess: pid = 51468, state = stopped, threads = 1, executable = a.out>: success

runCmd: settings clear -all
output: 

runCmd: settings set symbols.enable-external-lookup false
output: 

runCmd: settings set target.inherit-tcc true
output: 

runCmd: settings set target.detach-on-error false
output: 

runCmd: settings set target.auto-apply-fixits false
output: 

runCmd: settings set plugin.process.gdb-remote.packet-timeout 60
output: 

runCmd: settings set symbols.clang-modules-cache-path "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api"
output: 

runCmd: settings set use-color false
output: 

make VPATH=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing -C /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/functionalities/inferior-crashing/TestInferiorCrashing.test_inferior_crashing_expr_dwarf -I /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing -I /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make -f /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing/Makefile MAKE_DSYM=NO all ARCH=x86_64 'CC="/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang"' DSYMUTIL=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/dsymutil CODESIGN=codesign CLANG_MODULE_CACHE_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/module-cache-clang/lldb-api LIBCPP_INCLUDE_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/include/c++/v1 LIBCPP_LIBRARY_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lib

"/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang" -gdwarf-5 -isysroot "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk" -arch x86_64  -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../../include -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h  -fno-limit-debug-info   -MT main.o -MD -MP -MF main.d -c -o main.o /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing/main.c
"/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang"  main.o -gdwarf-5 -isysroot "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk" -arch x86_64  -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../../include -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h  -fno-limit-debug-info     -L/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lib -Wl,-rpath,/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lib -lc++ --driver-mode=g++ -o "a.out"
codesign -s - "a.out"


runCmd: file /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/functionalities/inferior-crashing/TestInferiorCrashing.test_inferior_crashing_expr_dwarf/a.out
output: Current executable set to '/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/functionalities/inferior-crashing/TestInferiorCrashing.test_inferior_crashing_expr_dwarf/a.out' (x86_64).


runCmd: run
output: Process 51582 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
    frame #0: 0x0000000100003f50 a.out`clang version 16.0.99 (clang version 16.0.99 (https://github.com/llvm/llvm-project.git 19158eb7f06d7ed4a834a35a3afa6bda2685a05b)=1, clang version 16.0.99 (https://github.com/llvm/llvm-project.git 19158eb7f06d7ed4a834a35a3afa6bda2685a05b)=0x00007ffeefbff710)
Likely cause: clang version 16.0.99 (https://github.com/llvm/llvm-project.git 19158eb7f06d7ed4a834a35a3afa6bda2685a05b) accessed 0x0
Process 51582 launched: '/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/functionalities/inferior-crashing/TestInferiorCrashing.test_inferior_crashing_expr_dwarf/a.out' (x86_64)


runCmd: p argc
runCmd failed!
error: expression failed to parse:
error: <user expression 0>:1:1: use of undeclared identifier 'argc'
argc
^


FAIL: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang-x86_64) :: test_inferior_crashing_expr_dwarf (TestInferiorCrashing.CrashingInferiorTestCase)
<bound method SBProcess.Kill of SBProcess: pid = 51582, state = stopped, threads = 1, executable = a.out>: success

UNSUPPORTED: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang-x86_64) :: test_inferior_crashing_expr_dwo (TestInferiorCrashing.CrashingInferiorTestCase) (test case does not fall in any category of interest for this run) 
runCmd: settings clear -all
output: 

runCmd: settings set symbols.enable-external-lookup false
output: 

runCmd: settings set target.inherit-tcc true
output: 

runCmd: settings set target.detach-on-error false
output: 

runCmd: settings set target.auto-apply-fixits false
output: 

runCmd: settings set plugin.process.gdb-remote.packet-timeout 60
output: 

runCmd: settings set symbols.clang-modules-cache-path "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api"
output: 

runCmd: settings set use-color false
output: 

make VPATH=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing -C /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/functionalities/inferior-crashing/TestInferiorCrashing.test_inferior_crashing_python_dsym -I /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing -I /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make -f /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing/Makefile MAKE_DSYM=YES all ARCH=x86_64 'CC="/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang"' DSYMUTIL=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/dsymutil CODESIGN=codesign CLANG_MODULE_CACHE_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/module-cache-clang/lldb-api LIBCPP_INCLUDE_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/include/c++/v1 LIBCPP_LIBRARY_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lib

"/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang" -gdwarf-5 -isysroot "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk" -arch x86_64  -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../../include -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h  -fno-limit-debug-info   -MT main.o -MD -MP -MF main.d -c -o main.o /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing/main.c
"/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang"  main.o -gdwarf-5 -isysroot "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk" -arch x86_64  -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../../include -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h  -fno-limit-debug-info     -L/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lib -Wl,-rpath,/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lib -lc++ --driver-mode=g++ -o "a.out"
codesign -s - "a.out"
"/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/dsymutil"  -o "a.out.dSYM" "a.out"


<bound method SBProcess.Kill of SBProcess: pid = 51716, state = stopped, threads = 1, executable = a.out>: success

PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang-x86_64) :: test_inferior_crashing_python_dsym (TestInferiorCrashing.CrashingInferiorTestCase)
runCmd: settings clear -all
output: 

runCmd: settings set symbols.enable-external-lookup false
output: 

runCmd: settings set target.inherit-tcc true
output: 

runCmd: settings set target.detach-on-error false
output: 

runCmd: settings set target.auto-apply-fixits false
output: 

runCmd: settings set plugin.process.gdb-remote.packet-timeout 60
output: 

runCmd: settings set symbols.clang-modules-cache-path "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api"
output: 

runCmd: settings set use-color false
output: 

make VPATH=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing -C /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/functionalities/inferior-crashing/TestInferiorCrashing.test_inferior_crashing_python_dwarf -I /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing -I /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make -f /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing/Makefile MAKE_DSYM=NO all ARCH=x86_64 'CC="/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang"' DSYMUTIL=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/dsymutil CODESIGN=codesign CLANG_MODULE_CACHE_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/module-cache-clang/lldb-api LIBCPP_INCLUDE_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/include/c++/v1 LIBCPP_LIBRARY_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lib

"/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang" -gdwarf-5 -isysroot "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk" -arch x86_64  -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../../include -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h  -fno-limit-debug-info   -MT main.o -MD -MP -MF main.d -c -o main.o /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing/main.c
"/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang"  main.o -gdwarf-5 -isysroot "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk" -arch x86_64  -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../../include -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h  -fno-limit-debug-info     -L/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lib -Wl,-rpath,/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lib -lc++ --driver-mode=g++ -o "a.out"
codesign -s - "a.out"


<bound method SBProcess.Kill of SBProcess: pid = 51815, state = stopped, threads = 1, executable = a.out>: success

PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang-x86_64) :: test_inferior_crashing_python_dwarf (TestInferiorCrashing.CrashingInferiorTestCase)
UNSUPPORTED: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang-x86_64) :: test_inferior_crashing_python_dwo (TestInferiorCrashing.CrashingInferiorTestCase) (test case does not fall in any category of interest for this run) 
runCmd: settings clear -all
output: 

runCmd: settings set symbols.enable-external-lookup false
output: 

runCmd: settings set target.inherit-tcc true
output: 

runCmd: settings set target.detach-on-error false
output: 

runCmd: settings set target.auto-apply-fixits false
output: 

runCmd: settings set plugin.process.gdb-remote.packet-timeout 60
output: 

runCmd: settings set symbols.clang-modules-cache-path "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api"
output: 

runCmd: settings set use-color false
output: 

make VPATH=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing -C /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/functionalities/inferior-crashing/TestInferiorCrashing.test_inferior_crashing_register_dsym -I /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing -I /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make -f /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing/Makefile MAKE_DSYM=YES all ARCH=x86_64 'CC="/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang"' DSYMUTIL=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/dsymutil CODESIGN=codesign CLANG_MODULE_CACHE_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/module-cache-clang/lldb-api LIBCPP_INCLUDE_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/include/c++/v1 LIBCPP_LIBRARY_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lib

"/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang" -gdwarf-5 -isysroot "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk" -arch x86_64  -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../../include -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h  -fno-limit-debug-info   -MT main.o -MD -MP -MF main.d -c -o main.o /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing/main.c
"/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang"  main.o -gdwarf-5 -isysroot "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk" -arch x86_64  -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../../include -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h  -fno-limit-debug-info     -L/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lib -Wl,-rpath,/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lib -lc++ --driver-mode=g++ -o "a.out"
codesign -s - "a.out"
"/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/dsymutil"  -o "a.out.dSYM" "a.out"


runCmd: file /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/functionalities/inferior-crashing/TestInferiorCrashing.test_inferior_crashing_register_dsym/a.out
output: Current executable set to '/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/functionalities/inferior-crashing/TestInferiorCrashing.test_inferior_crashing_register_dsym/a.out' (x86_64).


runCmd: run
output: Process 51900 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
    frame #0: 0x0000000100003f50 a.out`main + 48
a.out`main:
->  0x100003f50 <+48>: movl   (%rax), %esi
    0x100003f52 <+50>: leaq   0x46(%rip), %rdi          ; "Now crash %d\n"
    0x100003f59 <+57>: movb   $0x0, %al
    0x100003f5b <+59>: callq  0x100003f68               ; symbol stub for: printf
Process 51900 launched: '/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/functionalities/inferior-crashing/TestInferiorCrashing.test_inferior_crashing_register_dsym/a.out' (x86_64)


runCmd: register read eax
output:      eax = 0x00000000


Ran command:
"register read eax"

Got output:
     eax = 0x00000000

Expecting sub string: "eax = 0x" (was found)

<bound method SBProcess.Kill of SBProcess: pid = 51900, state = stopped, threads = 1, executable = a.out>: success

PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang-x86_64) :: test_inferior_crashing_register_dsym (TestInferiorCrashing.CrashingInferiorTestCase)
runCmd: settings clear -all
output: 

runCmd: settings set symbols.enable-external-lookup false
output: 

runCmd: settings set target.inherit-tcc true
output: 

runCmd: settings set target.detach-on-error false
output: 

runCmd: settings set target.auto-apply-fixits false
output: 

runCmd: settings set plugin.process.gdb-remote.packet-timeout 60
output: 

runCmd: settings set symbols.clang-modules-cache-path "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api"
output: 

runCmd: settings set use-color false
output: 

make VPATH=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing -C /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/functionalities/inferior-crashing/TestInferiorCrashing.test_inferior_crashing_register_dwarf -I /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing -I /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make -f /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing/Makefile MAKE_DSYM=NO all ARCH=x86_64 'CC="/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang"' DSYMUTIL=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/dsymutil CODESIGN=codesign CLANG_MODULE_CACHE_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/module-cache-clang/lldb-api LIBCPP_INCLUDE_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/include/c++/v1 LIBCPP_LIBRARY_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lib

"/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang" -gdwarf-5 -isysroot "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk" -arch x86_64  -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../../include -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h  -fno-limit-debug-info   -MT main.o -MD -MP -MF main.d -c -o main.o /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing/main.c
"/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang"  main.o -gdwarf-5 -isysroot "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk" -arch x86_64  -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../../include -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h  -fno-limit-debug-info     -L/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lib -Wl,-rpath,/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lib -lc++ --driver-mode=g++ -o "a.out"
codesign -s - "a.out"


runCmd: file /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/functionalities/inferior-crashing/TestInferiorCrashing.test_inferior_crashing_register_dwarf/a.out
output: Current executable set to '/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/functionalities/inferior-crashing/TestInferiorCrashing.test_inferior_crashing_register_dwarf/a.out' (x86_64).


runCmd: run
output: Process 51970 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
    frame #0: 0x0000000100003f50 a.out`clang version 16.0.99 (clang version 16.0.99 (https://github.com/llvm/llvm-project.git 19158eb7f06d7ed4a834a35a3afa6bda2685a05b)=1, clang version 16.0.99 (https://github.com/llvm/llvm-project.git 19158eb7f06d7ed4a834a35a3afa6bda2685a05b)=0x00007ffeefbff708)
Likely cause: clang version 16.0.99 (https://github.com/llvm/llvm-project.git 19158eb7f06d7ed4a834a35a3afa6bda2685a05b) accessed 0x0
Process 51970 launched: '/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/functionalities/inferior-crashing/TestInferiorCrashing.test_inferior_crashing_register_dwarf/a.out' (x86_64)


runCmd: register read eax
output:      eax = 0x00000000


Ran command:
"register read eax"

Got output:
     eax = 0x00000000

Expecting sub string: "eax = 0x" (was found)

<bound method SBProcess.Kill of SBProcess: pid = 51970, state = stopped, threads = 1, executable = a.out>: success

PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang-x86_64) :: test_inferior_crashing_register_dwarf (TestInferiorCrashing.CrashingInferiorTestCase)
UNSUPPORTED: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang-x86_64) :: test_inferior_crashing_register_dwo (TestInferiorCrashing.CrashingInferiorTestCase) (test case does not fall in any category of interest for this run) 
Restore dir to: /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/tools/lldb/test
======================================================================
FAIL: test_inferior_crashing_dsym (TestInferiorCrashing.CrashingInferiorTestCase)
    Test that lldb reliably catches the inferior crashing (command).
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1699, in test_method
    return attrvalue(self)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 127, in wrapper
    func(*args, **kwargs)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 127, in wrapper
    func(*args, **kwargs)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing/TestInferiorCrashing.py", line 19, in test_inferior_crashing
    self.inferior_crashing()
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing/TestInferiorCrashing.py", line 75, in inferior_crashing
    self.expect("thread backtrace all",
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2412, in expect
    self.fail(log_msg)
AssertionError: Ran command:
"thread backtrace all"

Got output:
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
  * frame #0: 0x0000000100003f50 a.out`main + 48
    frame #1: 0x00007fff71861cc9 libdyld.dylib`start + 1
    frame #2: 0x00007fff71861cc9 libdyld.dylib`start + 1

Expecting sub string: "stop reason = EXC_BAD_ACCESS" (was found)
Expecting sub string: "main.c:9" (was not found)
Config=x86_64-/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang
======================================================================
FAIL: test_inferior_crashing_dwarf (TestInferiorCrashing.CrashingInferiorTestCase)
    Test that lldb reliably catches the inferior crashing (command).
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1699, in test_method
    return attrvalue(self)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 127, in wrapper
    func(*args, **kwargs)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 127, in wrapper
    func(*args, **kwargs)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing/TestInferiorCrashing.py", line 19, in test_inferior_crashing
    self.inferior_crashing()
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing/TestInferiorCrashing.py", line 75, in inferior_crashing
    self.expect("thread backtrace all",
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2412, in expect
    self.fail(log_msg)
AssertionError: Ran command:
"thread backtrace all"

Got output:
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
  * frame #0: 0x0000000100003f50 a.out`clang version 16.0.99 (clang version 16.0.99 (https://github.com/llvm/llvm-project.git 19158eb7f06d7ed4a834a35a3afa6bda2685a05b)=1, clang version 16.0.99 (https://github.com/llvm/llvm-project.git 19158eb7f06d7ed4a834a35a3afa6bda2685a05b)=0x00007ffeefbff718)
    frame #1: 0x00007fff71861cc9 libdyld.dylib`start + 1
    frame #2: 0x00007fff71861cc9 libdyld.dylib`start + 1

Expecting sub string: "stop reason = EXC_BAD_ACCESS" (was found)
Expecting sub string: "main.c:9" (was not found)
Config=x86_64-/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang
======================================================================
FAIL: test_inferior_crashing_expr_dsym (TestInferiorCrashing.CrashingInferiorTestCase)
    Test that the lldb expression interpreter can read from the inferior after crashing (command).
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1699, in test_method
    return attrvalue(self)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing/TestInferiorCrashing.py", line 35, in test_inferior_crashing_expr
    self.inferior_crashing_expr()
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing/TestInferiorCrashing.py", line 127, in inferior_crashing_expr
    self.expect("p argc",
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2319, in expect
    self.runCmd(
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2022, in runCmd
    self.assertTrue(self.res.Succeeded(),
AssertionError: False is not True : Command 'p argc
Error output:
error: expression failed to parse:
error: <user expression 0>:1:1: use of undeclared identifier 'argc'
argc
^
' did not return successfully
Config=x86_64-/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang
======================================================================
FAIL: test_inferior_crashing_expr_dwarf (TestInferiorCrashing.CrashingInferiorTestCase)
    Test that the lldb expression interpreter can read from the inferior after crashing (command).
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1699, in test_method
    return attrvalue(self)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing/TestInferiorCrashing.py", line 35, in test_inferior_crashing_expr
    self.inferior_crashing_expr()
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/inferior-crashing/TestInferiorCrashing.py", line 127, in inferior_crashing_expr
    self.expect("p argc",
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2319, in expect
    self.runCmd(
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2022, in runCmd
    self.assertTrue(self.res.Succeeded(),
AssertionError: False is not True : Command 'p argc
Error output:
error: expression failed to parse:
error: <user expression 0>:1:1: use of undeclared identifier 'argc'
argc
^
' did not return successfully
Config=x86_64-/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang
----------------------------------------------------------------------
Ran 12 tests in 7.931s

RESULT: FAILED (4 passes, 4 failures, 0 errors, 4 skipped, 0 expected failures, 0 unexpected successes)

--