From 73f5b0e7b74b4e625179757a80a16134b2c58a15 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 23 Mar 2021 15:00:41 +0100 Subject: [PATCH] Disable fast unwind in ASAN when running non-GUI tests too This might help with LeakSanitizer crashes. --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 02faedaabb..9cfc4ad1fe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -196,6 +196,8 @@ jobs: python -m httpbin.core 2>&1 >httpbin.log & export WX_TEST_WEBREQUEST_URL=http://localhost:5000 + export ASAN_OPTIONS=fast_unwind_on_malloc=0 + # Explicitly use bash because /bin/sh doesn't have pipefail option /bin/bash -o pipefail -c './test 2>&1 | tee test.out' || rc=$? if [ ${{ matrix.use_asan }} ]; then