From b404df6989088974d7365ca8ad13e035555fcc82 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Mon, 21 Aug 2023 14:07:16 +0200 Subject: [PATCH] Further tweaks to LSAN suppression rules. Mainly add more python-related suppressions. Also suppressed some reports from `pxr` (usd) libraries. Now most tests are passing again with ASAN/LSAN on on my machine, besides modifiers and geometry nodes ones, which often fail on a mysterious `libstdc++.so.6+0xb259a` leak. --- tools/config/analysis/lsan.supp | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/tools/config/analysis/lsan.supp b/tools/config/analysis/lsan.supp index a45411baccf..5e0d263317c 100644 --- a/tools/config/analysis/lsan.supp +++ b/tools/config/analysis/lsan.supp @@ -1,11 +1,24 @@ +# Python - START leak:_PyObject_Malloc +leak:_PyObject_Calloc leak:_PyObject_Realloc leak:_PyObject_GC +leak:_PyArgv_* +leak:_PyBytes_* +leak:_Py_* +leak:_PyUnicodeWriter_* +leak:list_append +leak:list_resize leak:PyThread_allocate_lock leak:libpython* +leak:python +# Numpy +leak:PyUFunc_* +# Python - END leak:imb_exitopenexr leak:imb_filetypes_exit leak:libIlm* +leak:pxrInternal_* leak: leak:libX11* leak:libglib* @@ -14,4 +27,3 @@ leak:i965_dri leak:libdrm* leak:radeon* leak:libGLX* -# leak:libasan*