Merge bitcoin/bitcoin#33674: ci: Doc ASLR workaround for sanitizer tasks

fa0e36156cba535846ae2ecfaaa554d7f14fcdfd ci: Doc ASLR workaround for sanitizer tasks (MarcoFalke)

Pull request description:

  Fixes https://github.com/bitcoin/bitcoin/issues/30674

ACKs for top commit:
  fanquake:
    ACK fa0e36156cba535846ae2ecfaaa554d7f14fcdfd

Tree-SHA512: 9811a35526c707a6b2438e4f15d1ea765c9ecf1786cb37cd23e3bc5d65a25623f276a74b4a70c24492126a87514845111741290fc3095206decf17ee2c52dd2a
This commit is contained in:
merge-script 2025-10-23 09:18:51 +02:00
commit 11684c9ce2
No known key found for this signature in database
GPG Key ID: 2EEB9F5CC09526C1

View File

@ -20,6 +20,14 @@ requires `bash`, `docker`, and `python3` to be installed. To run on different ar
sudo apt install bash docker.io python3 qemu-user-static
```
For some sanitizer builds, the kernel's address-space layout randomization
(ASLR) entropy can cause sanitizer shadow memory mappings to fail. When running
the CI locally you may need to reduce that entropy by running:
```
sudo sysctl -w vm.mmap_rnd_bits=28
```
It is recommended to run the ci system in a clean env. To run the test stage
with a specific configuration,