From 375a7b6bb5919bf66cbd493df98d8f5c66faf277 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Wed, 9 Aug 2023 20:14:14 +0200 Subject: [PATCH] Fix (unreported) LSAN suppression list removing almost all (valid!) errors. The last supression rule (`leak:libasan*`) would match almost all detected cases, since the first line is almost always something like that: #0 0x7f71040d85bf in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 Not sure if that was already the case when this suppression rule was added, or if things changed in newer versions of ASAN/LSAN... --- tools/config/analysis/lsan.supp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/config/analysis/lsan.supp b/tools/config/analysis/lsan.supp index 4210272d719..a45411baccf 100644 --- a/tools/config/analysis/lsan.supp +++ b/tools/config/analysis/lsan.supp @@ -1,5 +1,6 @@ leak:_PyObject_Malloc leak:_PyObject_Realloc +leak:_PyObject_GC leak:PyThread_allocate_lock leak:libpython* leak:imb_exitopenexr @@ -13,4 +14,4 @@ leak:i965_dri leak:libdrm* leak:radeon* leak:libGLX* -leak:libasan* +# leak:libasan*