build: Upgrade valgrind suppression file

Use newer version of Python's .supp file.
This commit is contained in:
2025-07-02 15:21:44 +02:00
parent 6871a4d46f
commit a5eab3cad5

View File

@@ -5,7 +5,7 @@
# #
# This file is a combination of our own rules and # This file is a combination of our own rules and
# * the glib2 suppressions file that usually can be found at /usr/share/glib-2.0/valgrind/glib.supp # * the glib2 suppressions file that usually can be found at /usr/share/glib-2.0/valgrind/glib.supp
# * python suppressions file from http://svn.python.org/projects/python/trunk/Misc/valgrind-python.supp # * python suppressions file from https://github.com/python/cpython/blob/main/Misc/valgrind-python.supp
# #
{ {
@@ -1557,6 +1557,10 @@
... ...
fun:xdg_mime_init fun:xdg_mime_init
} }
# Python Valgrind .supp start
# taken from https://github.com/python/cpython/blob/main/Misc/valgrind-python.supp
# #
# This is a valgrind suppression file that should be used when using valgrind. # This is a valgrind suppression file that should be used when using valgrind.
# #
@@ -1654,6 +1658,49 @@
fun:COMMENT_THIS_LINE_TO_DISABLE_LEAK_WARNING 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 # Non-python specific leaks
# #
@@ -2048,6 +2095,10 @@
fun:PyUnicode_FSConverter fun:PyUnicode_FSConverter
} }
# Python Valgrind .supp end
# Actual GTK things # Actual GTK things
{ {
GtkWidgetClass action GPtrArray GtkWidgetClass action GPtrArray