Regression

AddressSanitizer-x86_64-iossim.TestCases.strdup_oob_test.cc (from AddressSanitizer-x86_64-iossim)

Failing for the past 1 build (Since Failed#296 )
Took 1.2 sec.

Stacktrace

Script:
--
/Users/buildslave/jenkins/sharedspace/clang-stage1-cmake-RA_workspace/llvm/projects/compiler-rt/test/sanitizer_common/ios_commands/iossim_compile.py /Users/buildslave/jenkins/sharedspace/clang-stage1-cmake-RA_workspace/clang-build/./bin/clang --driver-mode=g++ -fsanitize=address -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk  -shared-libasan -O0 /Users/buildslave/jenkins/sharedspace/clang-stage1-cmake-RA_workspace/llvm/projects/compiler-rt/test/asan/TestCases/strdup_oob_test.cc -o /Users/buildslave/jenkins/sharedspace/clang-stage1-cmake-RA_workspace/clang-build/tools/clang/runtime/compiler-rt-bins/test/asan/IOSSimX86_64Config/TestCases/Output/strdup_oob_test.cc.tmp && not /Users/buildslave/jenkins/sharedspace/clang-stage1-cmake-RA_workspace/llvm/projects/compiler-rt/test/sanitizer_common/ios_commands/iossim_run.py /Users/buildslave/jenkins/sharedspace/clang-stage1-cmake-RA_workspace/clang-build/tools/clang/runtime/compiler-rt-bins/test/asan/IOSSimX86_64Config/TestCases/Output/strdup_oob_test.cc.tmp 2>&1 | FileCheck /Users/buildslave/jenkins/sharedspace/clang-stage1-cmake-RA_workspace/llvm/projects/compiler-rt/test/asan/TestCases/strdup_oob_test.cc
/Users/buildslave/jenkins/sharedspace/clang-stage1-cmake-RA_workspace/llvm/projects/compiler-rt/test/sanitizer_common/ios_commands/iossim_compile.py /Users/buildslave/jenkins/sharedspace/clang-stage1-cmake-RA_workspace/clang-build/./bin/clang --driver-mode=g++ -fsanitize=address -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk  -shared-libasan -O1 /Users/buildslave/jenkins/sharedspace/clang-stage1-cmake-RA_workspace/llvm/projects/compiler-rt/test/asan/TestCases/strdup_oob_test.cc -o /Users/buildslave/jenkins/sharedspace/clang-stage1-cmake-RA_workspace/clang-build/tools/clang/runtime/compiler-rt-bins/test/asan/IOSSimX86_64Config/TestCases/Output/strdup_oob_test.cc.tmp && not /Users/buildslave/jenkins/sharedspace/clang-stage1-cmake-RA_workspace/llvm/projects/compiler-rt/test/sanitizer_common/ios_commands/iossim_run.py /Users/buildslave/jenkins/sharedspace/clang-stage1-cmake-RA_workspace/clang-build/tools/clang/runtime/compiler-rt-bins/test/asan/IOSSimX86_64Config/TestCases/Output/strdup_oob_test.cc.tmp 2>&1 | FileCheck /Users/buildslave/jenkins/sharedspace/clang-stage1-cmake-RA_workspace/llvm/projects/compiler-rt/test/asan/TestCases/strdup_oob_test.cc
/Users/buildslave/jenkins/sharedspace/clang-stage1-cmake-RA_workspace/llvm/projects/compiler-rt/test/sanitizer_common/ios_commands/iossim_compile.py /Users/buildslave/jenkins/sharedspace/clang-stage1-cmake-RA_workspace/clang-build/./bin/clang --driver-mode=g++ -fsanitize=address -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk  -shared-libasan -O2 /Users/buildslave/jenkins/sharedspace/clang-stage1-cmake-RA_workspace/llvm/projects/compiler-rt/test/asan/TestCases/strdup_oob_test.cc -o /Users/buildslave/jenkins/sharedspace/clang-stage1-cmake-RA_workspace/clang-build/tools/clang/runtime/compiler-rt-bins/test/asan/IOSSimX86_64Config/TestCases/Output/strdup_oob_test.cc.tmp && not /Users/buildslave/jenkins/sharedspace/clang-stage1-cmake-RA_workspace/llvm/projects/compiler-rt/test/sanitizer_common/ios_commands/iossim_run.py /Users/buildslave/jenkins/sharedspace/clang-stage1-cmake-RA_workspace/clang-build/tools/clang/runtime/compiler-rt-bins/test/asan/IOSSimX86_64Config/TestCases/Output/strdup_oob_test.cc.tmp 2>&1 | FileCheck /Users/buildslave/jenkins/sharedspace/clang-stage1-cmake-RA_workspace/llvm/projects/compiler-rt/test/asan/TestCases/strdup_oob_test.cc
/Users/buildslave/jenkins/sharedspace/clang-stage1-cmake-RA_workspace/llvm/projects/compiler-rt/test/sanitizer_common/ios_commands/iossim_compile.py /Users/buildslave/jenkins/sharedspace/clang-stage1-cmake-RA_workspace/clang-build/./bin/clang --driver-mode=g++ -fsanitize=address -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk  -shared-libasan -O3 /Users/buildslave/jenkins/sharedspace/clang-stage1-cmake-RA_workspace/llvm/projects/compiler-rt/test/asan/TestCases/strdup_oob_test.cc -o /Users/buildslave/jenkins/sharedspace/clang-stage1-cmake-RA_workspace/clang-build/tools/clang/runtime/compiler-rt-bins/test/asan/IOSSimX86_64Config/TestCases/Output/strdup_oob_test.cc.tmp && not /Users/buildslave/jenkins/sharedspace/clang-stage1-cmake-RA_workspace/llvm/projects/compiler-rt/test/sanitizer_common/ios_commands/iossim_run.py /Users/buildslave/jenkins/sharedspace/clang-stage1-cmake-RA_workspace/clang-build/tools/clang/runtime/compiler-rt-bins/test/asan/IOSSimX86_64Config/TestCases/Output/strdup_oob_test.cc.tmp 2>&1 | FileCheck /Users/buildslave/jenkins/sharedspace/clang-stage1-cmake-RA_workspace/llvm/projects/compiler-rt/test/asan/TestCases/strdup_oob_test.cc
/Users/buildslave/jenkins/sharedspace/clang-stage1-cmake-RA_workspace/llvm/projects/compiler-rt/test/sanitizer_common/ios_commands/iossim_compile.py /Users/buildslave/jenkins/sharedspace/clang-stage1-cmake-RA_workspace/clang-build/./bin/clang --driver-mode=g++ -fsanitize=address -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk  -shared-libasan -O3 -xc /Users/buildslave/jenkins/sharedspace/clang-stage1-cmake-RA_workspace/llvm/projects/compiler-rt/test/asan/TestCases/strdup_oob_test.cc -o /Users/buildslave/jenkins/sharedspace/clang-stage1-cmake-RA_workspace/clang-build/tools/clang/runtime/compiler-rt-bins/test/asan/IOSSimX86_64Config/TestCases/Output/strdup_oob_test.cc.tmp && not /Users/buildslave/jenkins/sharedspace/clang-stage1-cmake-RA_workspace/llvm/projects/compiler-rt/test/sanitizer_common/ios_commands/iossim_run.py /Users/buildslave/jenkins/sharedspace/clang-stage1-cmake-RA_workspace/clang-build/tools/clang/runtime/compiler-rt-bins/test/asan/IOSSimX86_64Config/TestCases/Output/strdup_oob_test.cc.tmp 2>&1 | FileCheck /Users/buildslave/jenkins/sharedspace/clang-stage1-cmake-RA_workspace/llvm/projects/compiler-rt/test/asan/TestCases/strdup_oob_test.cc
--
Exit Code: 1

Command Output (stderr):
--
/Users/buildslave/jenkins/sharedspace/clang-stage1-cmake-RA_workspace/llvm/projects/compiler-rt/test/asan/TestCases/strdup_oob_test.cc:24:12: error: expected string not found in input
 // CHECK: #0 {{.*}}main {{.*}}strdup_oob_test.cc:[[@LINE-2]]
           ^
<stdin>:2:56: note: scanning from here
==30176==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x602000000135 at pc 0x000109c95d7d bp 0x7fff55f69f40 sp 0x7fff55f69f38
                                                       ^
<stdin>:2:56: note: with expression "@LINE-2" equal to "22"
==30176==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x602000000135 at pc 0x000109c95d7d bp 0x7fff55f69f40 sp 0x7fff55f69f38
                                                       ^
<stdin>:4:31: note: possible intended match here
atos[30179]: atos cannot examine process 30176 (strdup_oob_test.cc.tmp) for unknown reasons, even though it appears to exist; try running with `sudo`.
                              ^
/Users/buildslave/jenkins/sharedspace/clang-stage1-cmake-RA_workspace/llvm/projects/compiler-rt/test/asan/TestCases/strdup_oob_test.cc:27:12: error: expected string not found in input
 // CHECK: #{{.*}}main {{.*}}strdup_oob_test.cc:[[@LINE-6]]
           ^
<stdin>:18:32: note: scanning from here
 #0 0x109e02f62 in wrap_strdup (/Users/buildslave/jenkins/sharedspace/clang-stage1-cmake-RA_workspace/clang-build/lib/clang/6.0.0/lib/darwin/libclang_rt.asan_iossim_dynamic.dylib:x86_64+0x4ef62)
                               ^
<stdin>:18:32: note: with expression "@LINE-6" equal to "21"
 #0 0x109e02f62 in wrap_strdup (/Users/buildslave/jenkins/sharedspace/clang-stage1-cmake-RA_workspace/clang-build/lib/clang/6.0.0/lib/darwin/libclang_rt.asan_iossim_dynamic.dylib:x86_64+0x4ef62)
                               ^
<stdin>:19:176: note: possible intended match here
 #1 0x109c95d24 in main (/Users/buildslave/jenkins/sharedspace/clang-stage1-cmake-RA_workspace/clang-build/tools/clang/runtime/compiler-rt-bins/test/asan/IOSSimX86_64Config/TestCases/Output/strdup_oob_test.cc.tmp:x86_64+0x100000d24)
                                                                                                                                                                               ^
/Users/buildslave/jenkins/sharedspace/clang-stage1-cmake-RA_workspace/llvm/projects/compiler-rt/test/asan/TestCases/strdup_oob_test.cc:29:12: error: expected string not found in input
 // CHECK: strdup_oob_test.cc:[[@LINE-7]]
           ^
<stdin>:22:8: note: scanning from here
SUMMARY: AddressSanitizer: heap-buffer-overflow (/Users/buildslave/jenkins/sharedspace/clang-stage1-cmake-RA_workspace/clang-build/tools/clang/runtime/compiler-rt-bins/test/asan/IOSSimX86_64Config/TestCases/Output/strdup_oob_test.cc.tmp:x86_64+0x100000d7c) in main
       ^
<stdin>:22:8: note: with expression "@LINE-7" equal to "22"
SUMMARY: AddressSanitizer: heap-buffer-overflow (/Users/buildslave/jenkins/sharedspace/clang-stage1-cmake-RA_workspace/clang-build/tools/clang/runtime/compiler-rt-bins/test/asan/IOSSimX86_64Config/TestCases/Output/strdup_oob_test.cc.tmp:x86_64+0x100000d7c) in main
       ^
<stdin>:22:214: note: possible intended match here
SUMMARY: AddressSanitizer: heap-buffer-overflow (/Users/buildslave/jenkins/sharedspace/clang-stage1-cmake-RA_workspace/clang-build/tools/clang/runtime/compiler-rt-bins/test/asan/IOSSimX86_64Config/TestCases/Output/strdup_oob_test.cc.tmp:x86_64+0x100000d7c) in main
                                                                                                                                                                                                                     ^

--