From 68782f35c0c1b40e6c101a7a02b8f546af32a399 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Thu, 6 Oct 2022 10:22:49 +0200 Subject: [PATCH] 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. --- .github/workflows/linux.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index a807ef98b..cd1dc7bb6 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