Skip to content

Commit

Permalink
Fix TSAN (#423)
Browse files Browse the repository at this point in the history
  • Loading branch information
cmmarslender authored Mar 18, 2024
1 parent 080807e commit 867cde1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build-test-cplusplus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 867cde1

Please sign in to comment.