From 67c73031814c1f44dce0480b5560350265d1b113 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Thu, 16 Mar 2023 14:11:12 +0100 Subject: [PATCH] github: Add LSan workaround for tests on Ubuntu 20.04 again This was removed with 0fea6a7f8e7e ("github: Adapt to switch to Ubuntu 22.04 for ubuntu-latest") as it didn't seem necessary anymore. But recently there have been such random crashes again with the 20.04 image. --- .github/workflows/linux.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index bcac42c06f..e6211274ee 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -145,6 +145,8 @@ jobs: LEAK_DETECTIVE: ${{ matrix.leak-detective || '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@v3 - uses: actions/cache@v3 -- 2.47.2