From 905430629d767b81d68adbe77917206991c3243b Mon Sep 17 00:00:00 2001 From: Mahmoud Al-Qudsi Date: Mon, 1 May 2023 19:59:45 -0500 Subject: [PATCH] Use ASAN_OPTIONS fast_unwind_on_malloc=0 This is much slower but gives proper stack traces for calls emanating from code that wasn't compiled with -fno-omit-frame-pointer. --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7921ac406..6970ded03 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -112,7 +112,7 @@ jobs: - name: make test env: FISH_CI_SAN: 1 - ASAN_OPTIONS: check_initialization_order=1:detect_stack_use_after_return=1:detect_leaks=1 + ASAN_OPTIONS: check_initialization_order=1:detect_stack_use_after_return=1:detect_leaks=1:fast_unwind_on_malloc=0 UBSAN_OPTIONS: print_stacktrace=1:report_error_type=1 # use_tls=0 is a workaround for LSAN crashing with "Tracer caught signal 11" (SIGSEGV), # which seems to be an issue with TLS support in newer glibc versions under virtualized