From 6e63d84e43fdce3a5bdb899b024cf947d4e48900 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Fri, 28 Jun 2024 13:10:11 +0200 Subject: gh-121096: Ignore dlopen() leaks in Valgrind suppression file (#121097) --- Misc/valgrind-python.supp | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/Misc/valgrind-python.supp b/Misc/valgrind-python.supp index 29954c1..8b2027c 100644 --- a/Misc/valgrind-python.supp +++ b/Misc/valgrind-python.supp @@ -96,6 +96,49 @@ } # +# Leaks: dlopen() called without dlclose() +# + +{ + dlopen() called without dlclose() + Memcheck:Leak + fun:malloc + fun:malloc + fun:strdup + fun:_dl_load_cache_lookup +} +{ + dlopen() called without dlclose() + Memcheck:Leak + fun:malloc + fun:malloc + fun:strdup + fun:_dl_map_object +} +{ + dlopen() called without dlclose() + Memcheck:Leak + fun:malloc + fun:* + fun:_dl_new_object +} +{ + dlopen() called without dlclose() + Memcheck:Leak + fun:calloc + fun:* + fun:_dl_new_object +} +{ + dlopen() called without dlclose() + Memcheck:Leak + fun:calloc + fun:* + fun:_dl_check_map_versions +} + + +# # Non-python specific leaks # -- cgit v0.12