summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrediano Ziglio <fziglio@redhat.com>2019-07-18 08:19:04 +0100
committerFrediano Ziglio <fziglio@redhat.com>2019-07-18 15:56:07 +0100
commitd2979e23e96598f4fd3058ea66c30e9659c1dfe4 (patch)
tree9f8c80df2487ddf2c72510d7a1fffb764c1da067
parent911455ba6557f880d8196e704819a97696fb7531 (diff)
ci: Update glib.supp file
Sync with Glib master file. Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Uri Lublin <uril@redhat.com>
-rw-r--r--server/tests/valgrind/glib.supp222
1 files changed, 220 insertions, 2 deletions
diff --git a/server/tests/valgrind/glib.supp b/server/tests/valgrind/glib.supp
index 9236b3d1..ddc2b172 100644
--- a/server/tests/valgrind/glib.supp
+++ b/server/tests/valgrind/glib.supp
@@ -201,10 +201,20 @@
}
{
- g-type-class-init
+ g-type-class-init-calloc
Memcheck:Leak
fun:calloc
...
+ fun:g_type_create_instance
+ ...
+ fun:type_class_init_Wm
+}
+
+{
+ g-type-class-init
+ Memcheck:Leak
+ fun:g_type_create_instance
+ ...
fun:type_class_init_Wm
}
@@ -219,6 +229,26 @@
}
{
+ g-io-module-default-singleton-calloc
+ Memcheck:Leak
+ fun:calloc
+ ...
+ fun:g_type_create_instance
+ ...
+ fun:_g_io_module_get_default
+}
+
+# This one seems to show up sometimes with g_type_create_instance() at the top
+# of the stack, as well.
+{
+ g-io-module-default-singleton
+ Memcheck:Leak
+ fun:g_type_create_instance
+ ...
+ fun:_g_io_module_get_default
+}
+
+{
g-io-module-default-singleton-module
Memcheck:Leak
fun:calloc
@@ -229,7 +259,17 @@
}
{
- g-get-language-names
+ g-io-module-default-singleton-name
+ Memcheck:Leak
+ fun:malloc
+ ...
+ fun:g_strdup
+ ...
+ fun:_g_io_module_get_default*
+}
+
+{
+ g-get-language-names-malloc
Memcheck:Leak
fun:malloc
...
@@ -237,6 +277,14 @@
}
{
+ g-get-language-names-calloc
+ Memcheck:Leak
+ fun:calloc
+ ...
+ fun:g_get_language_names
+}
+
+{
g-static-mutex
Memcheck:Leak
fun:malloc
@@ -543,3 +591,173 @@
...
fun:g_object_new_valist
}
+
+# g_set_user_dirs() deliberately leaks the previous cached g_get_user_*() values.
+{
+ g_set_user_dirs_str
+ Memcheck:Leak
+ fun:malloc
+ ...
+ fun:set_str_if_different
+ fun:g_set_user_dirs
+}
+
+# g_set_user_dirs() deliberately leaks the previous cached g_get_user_*() values.
+{
+ g_set_user_dirs_strv
+ Memcheck:Leak
+ fun:malloc
+ ...
+ fun:set_strv_if_different
+ fun:g_set_user_dirs
+}
+
+# g_get_system_data_dirs() caches a one-time allocation
+{
+ g_get_system_data_dirs
+ Memcheck:Leak
+ fun:malloc
+ ...
+ fun:g_build_system_data_dirs
+ fun:g_get_system_data_dirs
+}
+
+# g_get_user_data_dir() caches a one-time allocation
+{
+ g_get_user_data_dir
+ Memcheck:Leak
+ fun:realloc
+ ...
+ fun:g_build_user_data_dir
+ fun:g_get_user_data_dir
+}
+
+# gdesktopappinfo.c caches a one-time allocation global table of @desktop_file_dirs.
+{
+ desktop_file_dirs_malloc
+ Memcheck:Leak
+ fun:malloc
+ ...
+ fun:desktop_file_dirs_lock
+}
+
+# gdesktopappinfo.c caches a one-time allocation global table of @desktop_file_dirs.
+{
+ desktop_file_dirs_realloc
+ Memcheck:Leak
+ fun:realloc
+ ...
+ fun:desktop_file_dirs_lock
+}
+
+# gdesktopappinfo.c caches a one-time allocation global table of @desktop_file_dirs.
+{
+ desktop_file_dir_unindexed_setup_search
+ Memcheck:Leak
+ fun:malloc
+ ...
+ fun:desktop_file_dir_unindexed_setup_search
+ fun:desktop_file_dir_unindexed_setup_search
+}
+
+# g_io_extension_point_register() caches a one-time allocation global table of @extension_points.
+{
+ g_io_extension_point_register
+ Memcheck:Leak
+ fun:calloc
+ ...
+ fun:g_io_extension_point_register
+}
+
+# g_strerror() caches a one-time allocation global table of @errors.
+{
+ g_strerror
+ Memcheck:Leak
+ fun:malloc
+ ...
+ fun:g_locale_to_utf8
+ fun:g_strerror
+}
+
+# g_socket_connection_factory_register_type() caches a one-time allocation global table of @connection_types.
+{
+ g_socket_connection_factory_register_type
+ Memcheck:Leak
+ fun:calloc
+ ...
+ fun:g_socket_connection_factory_register_type
+}
+
+# g_dbus_error_quark() never unregisters itself as a GDBusError domain, as it’s always available
+{
+ g_dbus_error_quark
+ Memcheck:Leak
+ fun:calloc
+ ...
+ fun:g_dbus_error_register_error_domain
+ fun:g_dbus_error_quark
+}
+
+# Thread-private data allocated once per thread
+{
+ g_private_set_alloc0
+ Memcheck:Leak
+ fun:malloc
+ ...
+ fun:g_private_set_alloc0
+}
+{
+ g_private_set_alloc0-calloc
+ Memcheck:Leak
+ fun:calloc
+ ...
+ fun:g_private_set_alloc0
+}
+
+# Thread-private GMainContext stack
+{
+ g_main_context_push_thread_default
+ Memcheck:Leak
+ fun:malloc
+ ...
+ fun:g_queue_new
+ fun:g_main_context_push_thread_default
+}
+
+# One-time allocations for #GFileInfo attribute cache
+{
+ g_file_info_attribute_cache
+ Memcheck:Leak
+ fun:malloc
+ ...
+ fun:ensure_attribute_hash
+ ...
+ fun:g_file_*
+}
+{
+ g_file_info_attribute_cache2
+ Memcheck:Leak
+ fun:calloc
+ ...
+ fun:ensure_attribute_hash
+ ...
+ fun:g_file_*
+}
+{
+ g_file_info_attribute_cache3
+ Memcheck:Leak
+ fun:malloc
+ ...
+ fun:lookup_namespace
+ ...
+ fun:g_file_*
+}
+{
+ g_file_info_attribute_cache4
+ Memcheck:Leak
+ fun:calloc
+ ...
+ fun:lookup_namespace
+ ...
+ fun:g_file_*
+}