Skip to content

Commit

Permalink
[3.12] gh-121096: Ignore dlopen() leaks in Valgrind suppression file (G…
Browse files Browse the repository at this point in the history
…H-121097) (#121123)

gh-121096: Ignore dlopen() leaks in Valgrind suppression file (GH-121097)
(cherry picked from commit 6e63d84)

Co-authored-by: Victor Stinner <vstinner@python.org>
  • Loading branch information
miss-islington and vstinner authored Jun 28, 2024
1 parent 2a68ed9 commit 21a63b9
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions Misc/valgrind-python.supp
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,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
#
Expand Down

0 comments on commit 21a63b9

Please sign in to comment.