From a486536925ab7b9615e371ebfcabac64516b4d86 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 22 Jan 2021 00:12:46 -0500 Subject: [PATCH] Remove libc from leak suppression list Every program starts in __libc_start_main, so this would suppress everything. This doesn't happen in practice because asan by default is unable to unwind the stack. Setting ASAN_OPTIONS=fast_unwind_on_malloc=0,malloc_context_size=15 can unwind the stack, and if malloc_context_size is large enough it will indeed suppress everything. --- lsan.supp | 1 - 1 file changed, 1 deletion(-) diff --git a/lsan.supp b/lsan.supp index 04bcd658ee..e3912b41e1 100644 --- a/lsan.supp +++ b/lsan.supp @@ -1,6 +1,5 @@ leak:g_quark_init leak:xdg_mime_init -leak:libc.so leak:libfontconfig.so leak:libEGL_mesa.so leak:iris_dri.so