Skip to content

Commit

Permalink
Fix TSAN mode (#173)
Browse files Browse the repository at this point in the history
* Fix TSAN mode

* 28 bits
  • Loading branch information
cmmarslender authored Mar 18, 2024
1 parent 3860225 commit 5799ec2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 5799ec2

Please sign in to comment.