diff --git a/.github/workflows/build-test-cplusplus.yml b/.github/workflows/build-test-cplusplus.yml index 0a85683ef..2b324e4ff 100644 --- a/.github/workflows/build-test-cplusplus.yml +++ b/.github/workflows/build-test-cplusplus.yml @@ -76,6 +76,12 @@ jobs: - name: Checkout code uses: actions/checkout@v4 + # See: https://github.com/google/sanitizers/issues/1716 + # Fixes `FATAL: ThreadSanitizer: unexpected memory mapping 0x70498d8ae000-0x70498dd00000` type errors + - name: Adjust mmap_rnd_bits on ubuntu + run: | + sudo sysctl vm.mmap_rnd_bits=28 + - name: cmake, RunTests with thread sanitizer on Ubuntu run: | mkdir build-tsan