Skip to content

Commit c1b6dce

Browse files
committed
Leave a note for posterity
1 parent 311e710 commit c1b6dce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/cmake_ubuntu_sanitizers.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,6 @@ jobs:
6464
ASAN_OPTIONS: "color=always"
6565
UBSAN_OPTIONS: "halt_on_error=1:print_stacktrace=1:color=always"
6666
TSAN_OPTIONS: "color=always"
67+
# There is a known issue with TSAN on recent kernels versions. Without the vm.mmap_rnd_bits=28
68+
# workaround all binaries with TSan enabled crash with "FATAL: ThreadSanitizer: unexpected memory mapping"
6769
run: sudo sysctl vm.mmap_rnd_bits=28 && ctest --test-dir build/${{env.BUILD_TYPE}} --output-on-failure

0 commit comments

Comments
 (0)