From 5799ec247674de80eb0fd635c68a992df377907a Mon Sep 17 00:00:00 2001 From: Chris Marslender Date: Mon, 18 Mar 2024 16:38:33 -0500 Subject: [PATCH] Fix TSAN mode (#173) * Fix TSAN mode * 28 bits --- .github/workflows/test.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 8ae18d3a..ad79408a 100755 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -24,6 +24,13 @@ jobs: - name: Checkout code uses: actions/checkout@v3 + # 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 + if: startsWith(matrix.os, 'ubuntu') + run: | + sudo sysctl vm.mmap_rnd_bits=28 + - name: Build vdf-client on Ubuntu if: startsWith(matrix.os, 'ubuntu') run: |