Skip to content

Commit 5799ec2

Browse files
authored
Fix TSAN mode (#173)
* Fix TSAN mode * 28 bits
1 parent 3860225 commit 5799ec2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/test.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@ jobs:
2424
- name: Checkout code
2525
uses: actions/checkout@v3
2626

27+
# See: https://github.com/google/sanitizers/issues/1716
28+
# Fixes `FATAL: ThreadSanitizer: unexpected memory mapping 0x70498d8ae000-0x70498dd00000` type errors
29+
- name: Adjust mmap_rnd_bits on ubuntu
30+
if: startsWith(matrix.os, 'ubuntu')
31+
run: |
32+
sudo sysctl vm.mmap_rnd_bits=28
33+
2734
- name: Build vdf-client on Ubuntu
2835
if: startsWith(matrix.os, 'ubuntu')
2936
run: |

0 commit comments

Comments
 (0)