[compiler-rt] ef4d111 - [compiler-rt][xray] Disable fdr-reinit test on AArch64

David Spickett via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 11 03:13:20 PST 2022


Author: David Spickett
Date: 2022-02-11T11:13:04Z
New Revision: ef4d1119cc036b7af803618837ee88a87af18a12

URL: https://github.com/llvm/llvm-project/commit/ef4d1119cc036b7af803618837ee88a87af18a12
DIFF: https://github.com/llvm/llvm-project/commit/ef4d1119cc036b7af803618837ee88a87af18a12.diff

LOG: [compiler-rt][xray] Disable fdr-reinit test on AArch64

We run bots on a shared machine and under high load
this test sometimes segfaults.

https://lab.llvm.org/buildbot/#/builders/185/builds/1368

==1952234==XRay FDR init successful.
==1952234==XRay FDR: Not flushing to file, 'no_file_flush=true'.
<...>fdr-reinit.cpp.script: line 4: 1952234 Segmentation fault
XRAY_OPTIONS="verbosity=1" <...>/fdr-reinit.cpp.tmp

Looking at the printed output I think it's happening at:
// Finally, we should signal the sibling thread to stop.
keep_going.clear(std::memory_order_release);

Disabling the test while I try to reproduce.

Added: 
    

Modified: 
    compiler-rt/test/xray/TestCases/Posix/fdr-reinit.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/xray/TestCases/Posix/fdr-reinit.cpp b/compiler-rt/test/xray/TestCases/Posix/fdr-reinit.cpp
index a8f2608f02be9..42e7fa24d54e3 100644
--- a/compiler-rt/test/xray/TestCases/Posix/fdr-reinit.cpp
+++ b/compiler-rt/test/xray/TestCases/Posix/fdr-reinit.cpp
@@ -1,3 +1,5 @@
+// This will sometimes segfault on the AArch64 bots
+// UNSUPPORTED: aarch64
 // RUN: %clangxx_xray -g -std=c++11 %s -o %t
 // RUN: rm xray-log.fdr-reinit* || true
 // RUN: XRAY_OPTIONS="verbosity=1" %run %t


        


More information about the llvm-commits mailing list