[compiler-rt] [TSan] Release locks before OutputReport on all platforms (PR #228554)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Sat Oct 3 10:28:56 PDT 2026
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `sanitizer-x86_64-linux` running on `sanitizer-buildbot1` while building `compiler-rt` at step 2 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/66/builds/38177
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
[418/424] Generating MSAN_INST_GTEST.gtest-all.cc.x86_64-with-call.o
[419/424] Generating MSAN_INST_GTEST.gtest-all.cc.x86_64.o
[420/424] Generating MSAN_INST_TEST_OBJECTS.msan_test.cpp.x86_64-with-call.o
[421/424] Generating Msan-x86_64-with-call-Test
[422/424] Generating MSAN_INST_TEST_OBJECTS.msan_test.cpp.x86_64.o
[423/424] Generating Msan-x86_64-Test
[423/424] Running compiler_rt regression tests
{'x86_64-linux', 'can-symbolize', 'x86_64-target-arch', 'glibc-2.40', 'target-x86_64', 'x86-target-arch', 'target=x86_64-unknown-linux-gnu', 'host-arch-compatible', 'stable-runtime', 'host-jit-triple=x86_64-unknown-linux-gnu', 'lld-available', 'libunwind-available', 'symlinks', 'Clang', 'shared_cxxabi', 'glibc-2.19', 'page-size-4096', 'linux', 'glibc-2.38', 'target-is-x86_64', 'has_sancovcc', 'system-linux', 'glibc', 'host=None', 'asserts', 'gwp_asan', 'shadow-scale-3', 'glibc-2.27', 'glibc-2.37', 'non-root-user', 'shared_unwind', 'glibc-2.34', 'memprof-shadow-scale-3', 'zlib', 'host-byteorder-little-endian', 'glibc-2.30', 'glibc-2.33', 'cxxabi'}
-- Testing: 5604 of 11820 tests, 64 workers --
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70
FAIL: ThreadSanitizer-x86_64 :: signal_abort_on_error.cpp (4046 of 5604)
******************** TEST 'ThreadSanitizer-x86_64 :: signal_abort_on_error.cpp' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/b/sanitizer-x86_64-linux/build/build_default/./bin/clang -fsanitize=thread -Wall -m64 -msse4.2 -gline-tables-only -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/tsan/../ -O1 /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/tsan/signal_abort_on_error.cpp -o /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tsan/X86_64Config/Output/signal_abort_on_error.cpp.tmp && env TSAN_OPTIONS=atexit_sleep_ms=0:halt_on_error=1:abort_on_error=1:handle_abort=0 not /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tsan/X86_64Config/Output/signal_abort_on_error.cpp.tmp 2>&1 | FileCheck /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/tsan/signal_abort_on_error.cpp
# executed command: /home/b/sanitizer-x86_64-linux/build/build_default/./bin/clang -fsanitize=thread -Wall -m64 -msse4.2 -gline-tables-only -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/tsan/../ -O1 /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/tsan/signal_abort_on_error.cpp -o /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tsan/X86_64Config/Output/signal_abort_on_error.cpp.tmp
# note: command had no output on stdout or stderr
# executed command: env TSAN_OPTIONS=atexit_sleep_ms=0:halt_on_error=1:abort_on_error=1:handle_abort=0 not /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tsan/X86_64Config/Output/signal_abort_on_error.cpp.tmp
# note: command had no output on stdout or stderr
# error: command failed with exit status: 1
# executed command: FileCheck /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/tsan/signal_abort_on_error.cpp
# .---command stderr------------
# | /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/tsan/signal_abort_on_error.cpp:41:11: error: CHECK: expected string not found in input
# | // CHECK: SIGNAL
# | ^
# | <stdin>:2:36: note: scanning from here
# | WARNING: ThreadSanitizer: data race (pid=3554338)
# | ^
# | <stdin>:15:1: note: possible intended match here
# | SUMMARY: ThreadSanitizer: data race /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/tsan/signal_abort_on_error.cpp:36:10 in main
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/tsan/signal_abort_on_error.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: ==================
# | 2: WARNING: ThreadSanitizer: data race (pid=3554338)
# | check:41'0 { search range start (exclusive)
# | check:41'1 error: no match found in search range
# | 3: Write of size 4 at 0x5555569f1ddc by main thread:
# | 4: #0 main /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/tsan/signal_abort_on_error.cpp:36:10 (signal_abort_on_error.cpp.tmp+0x11fe63)
# | 5:
Step 11 (test compiler-rt debug) failure: test compiler-rt debug (failure)
...
[418/424] Generating MSAN_INST_GTEST.gtest-all.cc.x86_64-with-call.o
[419/424] Generating MSAN_INST_GTEST.gtest-all.cc.x86_64.o
[420/424] Generating MSAN_INST_TEST_OBJECTS.msan_test.cpp.x86_64-with-call.o
[421/424] Generating Msan-x86_64-with-call-Test
[422/424] Generating MSAN_INST_TEST_OBJECTS.msan_test.cpp.x86_64.o
[423/424] Generating Msan-x86_64-Test
[423/424] Running compiler_rt regression tests
{'x86_64-linux', 'can-symbolize', 'x86_64-target-arch', 'glibc-2.40', 'target-x86_64', 'x86-target-arch', 'target=x86_64-unknown-linux-gnu', 'host-arch-compatible', 'stable-runtime', 'host-jit-triple=x86_64-unknown-linux-gnu', 'lld-available', 'libunwind-available', 'symlinks', 'Clang', 'shared_cxxabi', 'glibc-2.19', 'page-size-4096', 'linux', 'glibc-2.38', 'target-is-x86_64', 'has_sancovcc', 'system-linux', 'glibc', 'host=None', 'asserts', 'gwp_asan', 'shadow-scale-3', 'glibc-2.27', 'glibc-2.37', 'non-root-user', 'shared_unwind', 'glibc-2.34', 'memprof-shadow-scale-3', 'zlib', 'host-byteorder-little-endian', 'glibc-2.30', 'glibc-2.33', 'cxxabi'}
-- Testing: 5604 of 11820 tests, 64 workers --
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70
FAIL: ThreadSanitizer-x86_64 :: signal_abort_on_error.cpp (4046 of 5604)
******************** TEST 'ThreadSanitizer-x86_64 :: signal_abort_on_error.cpp' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/b/sanitizer-x86_64-linux/build/build_default/./bin/clang -fsanitize=thread -Wall -m64 -msse4.2 -gline-tables-only -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/tsan/../ -O1 /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/tsan/signal_abort_on_error.cpp -o /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tsan/X86_64Config/Output/signal_abort_on_error.cpp.tmp && env TSAN_OPTIONS=atexit_sleep_ms=0:halt_on_error=1:abort_on_error=1:handle_abort=0 not /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tsan/X86_64Config/Output/signal_abort_on_error.cpp.tmp 2>&1 | FileCheck /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/tsan/signal_abort_on_error.cpp
# executed command: /home/b/sanitizer-x86_64-linux/build/build_default/./bin/clang -fsanitize=thread -Wall -m64 -msse4.2 -gline-tables-only -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/tsan/../ -O1 /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/tsan/signal_abort_on_error.cpp -o /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tsan/X86_64Config/Output/signal_abort_on_error.cpp.tmp
# note: command had no output on stdout or stderr
# executed command: env TSAN_OPTIONS=atexit_sleep_ms=0:halt_on_error=1:abort_on_error=1:handle_abort=0 not /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tsan/X86_64Config/Output/signal_abort_on_error.cpp.tmp
# note: command had no output on stdout or stderr
# error: command failed with exit status: 1
# executed command: FileCheck /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/tsan/signal_abort_on_error.cpp
# .---command stderr------------
# | /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/tsan/signal_abort_on_error.cpp:41:11: error: CHECK: expected string not found in input
# | // CHECK: SIGNAL
# | ^
# | <stdin>:2:36: note: scanning from here
# | WARNING: ThreadSanitizer: data race (pid=3554338)
# | ^
# | <stdin>:15:1: note: possible intended match here
# | SUMMARY: ThreadSanitizer: data race /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/tsan/signal_abort_on_error.cpp:36:10 in main
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/tsan/signal_abort_on_error.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: ==================
# | 2: WARNING: ThreadSanitizer: data race (pid=3554338)
# | check:41'0 { search range start (exclusive)
# | check:41'1 error: no match found in search range
# | 3: Write of size 4 at 0x5555569f1ddc by main thread:
# | 4: #0 main /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/tsan/signal_abort_on_error.cpp:36:10 (signal_abort_on_error.cpp.tmp+0x11fe63)
# | 5:
```
</details>
https://github.com/llvm/llvm-project/pull/228554
More information about the llvm-commits
mailing list