]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
github: Add LSan workaround for tests on Ubuntu 20.04 again
authorTobias Brunner <tobias@strongswan.org>
Thu, 16 Mar 2023 13:11:12 +0000 (14:11 +0100)
committerTobias Brunner <tobias@strongswan.org>
Tue, 21 Mar 2023 15:11:49 +0000 (16:11 +0100)
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

index bcac42c06f62e5476943c80dfac61a0852694749..e6211274eea47ee2dea09251d64757e42a626b56 100644 (file)
@@ -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