From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Fri, 28 Jun 2024 11:26:37 +0000 (+0200) Subject: [3.13] gh-121096: Ignore dlopen() leaks in Valgrind suppression file (GH-121097)... X-Git-Tag: v3.13.0b4~160 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=497047606d6349b0596a53c6db1a1616ef0f0d80;p=thirdparty%2FPython%2Fcpython.git [3.13] gh-121096: Ignore dlopen() leaks in Valgrind suppression file (GH-121097) (#121122) gh-121096: Ignore dlopen() leaks in Valgrind suppression file (GH-121097) (cherry picked from commit 6e63d84e43fdce3a5bdb899b024cf947d4e48900) Co-authored-by: Victor Stinner --- diff --git a/Misc/valgrind-python.supp b/Misc/valgrind-python.supp index 29954c1bbad3..8b2027cd4527 100644 --- a/Misc/valgrind-python.supp +++ b/Misc/valgrind-python.supp @@ -95,6 +95,49 @@ fun:COMMENT_THIS_LINE_TO_DISABLE_LEAK_WARNING } +# +# 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 #