Skip to content

Commit

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

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 e310d2b commit 4970476
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 @@ -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
#
Expand Down

0 comments on commit 4970476

Please sign in to comment.