From: Tobias Brunner Date: Thu, 6 Oct 2022 08:22:49 +0000 (+0200) Subject: github: Try to avoid crashes by LeakSanitizer X-Git-Tag: 5.9.9rc1~47 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68782f35c0c1b40e6c101a7a02b8f546af32a399;p=thirdparty%2Fstrongswan.git github: Try to avoid crashes by LeakSanitizer There are spurious crashes after test runs (during the reporting phase of LeakSanitizer) that are triggered by seemingly unrelated code changes. It seems to be related to how glibc handles dynamic TLS allocations. --- diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index a807ef98b4..cd1dc7bb60 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -53,6 +53,8 @@ jobs: MONOLITHIC: ${{ matrix.monolithic || 'no' }} CC: ${{ matrix.compiler || 'gcc' }} TEST: ${{ matrix.test }} + # LSan causes spurious SIGSEGV after tests due to DTLS handling by glibc + ASAN_OPTIONS: intercept_tls_get_addr=0 steps: - uses: actions/checkout@v2 - uses: actions/cache@v2