From 1c38db3cb2ddd4cf35fa114f792e2ff810e427d5 Mon Sep 17 00:00:00 2001 From: Aleksey Loginov Date: Fri, 15 Mar 2024 10:19:09 +0300 Subject: [PATCH 1/2] fix TSAN --- .github/workflows/ci v2.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci v2.yml b/.github/workflows/ci v2.yml index fdb30831c..4c6b0ac03 100644 --- a/.github/workflows/ci v2.yml +++ b/.github/workflows/ci v2.yml @@ -38,6 +38,11 @@ jobs: run: | sudo apt-get purge -y g++-13 gcc-13 libstdc++-13-dev sudo apt-get install -y --allow-downgrades libstdc++-12-dev libstdc++6=12.* libgcc-s1=12.* + + - shell: bash + run: | + # GH-40558: reduce ASLR to avoid ASAN/LSAN crashes + sudo sysctl -w vm.mmap_rnd_bits=28 - name: Run CMake uses: lukka/run-cmake@v10 From b1673039909040b37e22965a2ae236e59bb4b9e7 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 15 Mar 2024 07:26:27 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .github/workflows/ci v2.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci v2.yml b/.github/workflows/ci v2.yml index 4c6b0ac03..37d8b1fad 100644 --- a/.github/workflows/ci v2.yml +++ b/.github/workflows/ci v2.yml @@ -38,7 +38,7 @@ jobs: run: | sudo apt-get purge -y g++-13 gcc-13 libstdc++-13-dev sudo apt-get install -y --allow-downgrades libstdc++-12-dev libstdc++6=12.* libgcc-s1=12.* - + - shell: bash run: | # GH-40558: reduce ASLR to avoid ASAN/LSAN crashes