]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] gh-121096: Ignore dlopen() leaks in Valgrind suppression file (GH-121097)...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 28 Jun 2024 11:17:30 +0000 (13:17 +0200)
committerGitHub <noreply@github.com>
Fri, 28 Jun 2024 11:17:30 +0000 (11:17 +0000)
gh-121096: Ignore dlopen() leaks in Valgrind suppression file (GH-121097)
(cherry picked from commit 6e63d84e43fdce3a5bdb899b024cf947d4e48900)

Co-authored-by: Victor Stinner <vstinner@python.org>
Misc/valgrind-python.supp

index c9c45ba7ed6de4fde761e6c1ca2bd917e44b3bc3..f5e39d6f2ecbe02f7bc6ac8a4fb905bb05da026e 100644 (file)
    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
 #