[libpeas] Add valgrind suppression file
- From: Steve Frécinaux <sfre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libpeas] Add valgrind suppression file
- Date: Wed, 23 Mar 2011 21:42:45 +0000 (UTC)
commit 835c455b26694cef3c09b92377f0d58dcb90a28f
Author: Garrett Regier <alias301 gmail com>
Date: Sat Mar 19 14:16:16 2011 -0700
Add valgrind suppression file
tests/Makefile.tests | 1 +
tests/valgrind.suppressions | 328 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 329 insertions(+), 0 deletions(-)
---
diff --git a/tests/Makefile.tests b/tests/Makefile.tests
index 302e8e0..99657ed 100644
--- a/tests/Makefile.tests
+++ b/tests/Makefile.tests
@@ -36,6 +36,7 @@ test-valgrind: all
G_SLICE=always-malloc G_DEBUG=gc-friendly,resident-modules \
libtool --mode=execute valgrind --leak-check=full \
--leak-resolution=high --num-callers=20 \
+ --suppressions=$(top_srcdir)/tests/valgrind.suppressions \
--log-file=vgdump-$$test_prog $$test_prog ; \
done
diff --git a/tests/valgrind.suppressions b/tests/valgrind.suppressions
new file mode 100644
index 0000000..ba86df4
--- /dev/null
+++ b/tests/valgrind.suppressions
@@ -0,0 +1,328 @@
+# valgrind suppressions file
+
+{
+ g_type_init
+ Memcheck:Leak
+ ...
+ fun:g_type_init
+}
+{
+ g_type_init_with_debug_flags
+ Memcheck:Leak
+ ...
+ fun:g_type_init_with_debug_flags
+}
+{
+ g_thread_init
+ Memcheck:Leak
+ ...
+ fun:g_thread_init
+}
+{
+ g_thread_init_glib
+ Memcheck:Leak
+ ...
+ fun:g_thread_init_glib
+}
+{
+ g_type_register_static
+ Memcheck:Leak
+ ...
+ fun:g_type_register_static
+}
+{
+ g_type_register_dynamic
+ Memcheck:Leak
+ ...
+ fun:g_type_register_dynamic
+}
+{
+ g_boxed_type_register_static
+ Memcheck:Leak
+ ...
+ fun:g_boxed_type_register_static
+}
+{
+ g_boxed_type_register_dynamic
+ Memcheck:Leak
+ ...
+ fun:g_boxed_type_register_dynamic
+}
+{
+ g_type_add_interface_static
+ Memcheck:Leak
+ ...
+ fun:g_type_add_interface_static
+}
+{
+ g_type_add_interface_dynamic
+ Memcheck:Leak
+ ...
+ fun:g_type_add_interface_dynamic
+}
+{
+ g_type_interface_add_prerequisite
+ Memcheck:Leak
+ ...
+ fun:g_type_interface_add_prerequisite
+}
+{
+ g_type_class_ref
+ Memcheck:Leak
+ ...
+ fun:g_type_class_ref
+}
+{
+ g_set_prgname
+ Memcheck:Leak
+ ...
+ fun:g_set_prgname
+}
+{
+ g_intern_string
+ Memcheck:Leak
+ ...
+ fun:g_intern_string
+}
+{
+ g_intern_static_string
+ Memcheck:Leak
+ ...
+ fun:g_intern_static_string
+}
+{
+ g_quark_from_string
+ Memcheck:Leak
+ ...
+ fun:g_quark_from_string
+}
+{
+ get_dispatch
+ Memcheck:Leak
+ ...
+ fun:get_dispatch
+}
+{
+ g_signal_handlers_destroy
+ Memcheck:Leak
+ ...
+ fun:g_signal_handlers_destroy
+}
+{
+ g_data_initialize
+ Memcheck:Leak
+ ...
+ fun:g_data_initialize
+}
+{
+ g_static_private_set
+ Memcheck:Leak
+ ...
+ fun:g_static_private_set
+}
+{
+ g_child_watch_source_init_multi_threaded
+ Memcheck:Leak
+ ...
+ fun:g_child_watch_source_init_multi_threaded
+}
+{
+ xdg_mime_init
+ Memcheck:Leak
+ ...
+ fun:xdg_mime_init
+}
+{
+ g_main_context_push_thread_default
+ Memcheck:Leak
+ ...
+ fun:g_main_context_push_thread_default
+}
+{
+ g_socket_connection_factory
+ Memcheck:Leak
+ ...
+ fun:g_socket_connection_factory_register_type
+}
+{
+ g_get_language_names
+ Memcheck:Leak
+ ...
+ fun:g_get_language_names
+}
+{
+ g_get_any_init_do
+ Memcheck:Leak
+ ...
+ fun:g_get_any_init_do
+}
+
+
+{
+ gtk_init_check
+ Memcheck:Leak
+ ...
+ fun:gtk_init_check
+}
+{
+ gtk_css_provider_get_default
+ Memcheck:Leak
+ ...
+ fun:gtk_css_provider_get_default
+}
+{
+ gtk_css_provider_get_named
+ Memcheck:Leak
+ ...
+ fun:gtk_css_provider_get_named
+}
+{
+ gtk_theming_engine_load
+ Memcheck:Leak
+ ...
+ fun:gtk_theming_engine_load
+}
+{
+ ensure_valid_themes
+ Memcheck:Leak
+ ...
+ fun:load_themes
+ fun:ensure_valid_themes
+}
+
+{
+ Fontconfig leak?
+ Memcheck:Leak
+ ...
+ fun:XML_ParseBuffer
+ fun:FcConfigParseAndLoad
+}
+
+{
+ pango_language_get_default
+ Memcheck:Leak
+ ...
+ fun:pango_language_get_default
+}
+{
+ pango_fc_font_map_load_fontset
+ Memcheck:Leak
+ fun:malloc
+ fun:FcLangSetCreate
+ fun:FcLangSetCopy
+ fun:FcValueSave
+ fun:FcPatternObjectAddWithBinding
+ fun:FcPatternObjectAdd
+ fun:FcFontRenderPrepare
+ fun:pango_fc_font_map_load_fontset
+ fun:pango_font_map_load_fontset
+}
+{
+ pango_font_map_load_fontset
+ Memcheck:Leak
+ fun:malloc
+ fun:FcPatternObjectAddWithBinding
+ fun:FcPatternObjectAdd
+ fun:FcFontRenderPrepare
+ fun:pango_fc_font_map_load_fontset
+ fun:pango_font_map_load_fontset
+}
+{
+ pango_fc_font_map_load_fontset
+ Memcheck:Leak
+ fun:malloc
+ fun:FcStrStaticName
+ fun:FcPatternObjectAddWithBinding
+ fun:FcPatternObjectAdd
+ fun:FcFontRenderPrepare
+ fun:pango_fc_font_map_load_fontset
+}
+{
+ pango_fc_font_map_list_families
+ Memcheck:Leak
+ fun:malloc
+ fun:FcStrStaticName
+ fun:FcPatternObjectAddWithBinding
+ fun:FcPatternAdd
+ fun:FcFontSetList
+ fun:FcFontList
+ fun:pango_fc_font_map_list_families
+}
+{
+ pango_font_leak_todo
+ Memcheck:Leak
+ ...
+ fun:FcFontRenderPrepare
+ obj:*
+ fun:pango_font_map_load_fontset
+}
+{
+ pango_font_leak_todo_2
+ Memcheck:Leak
+ fun:malloc
+ fun:g_malloc
+ fun:g_strdup
+ fun:pango_script_get_sample_language
+ ...
+ fun:pango_font_get_metrics
+}
+{
+ pango_font_leak_todo_3
+ Memcheck:Leak
+ ...
+ fun:FcFontRenderPrepare
+ ...
+ fun:pango_itemize_with_base_dir
+}
+{
+ pango_font_leak_todo_4
+ Memcheck:Leak
+ ...
+ fun:FcFontRenderPrepare
+ ...
+ fun:pango_ot_buffer_output
+}
+{
+ pango_font_leak_todo_5
+ Memcheck:Leak
+ ...
+ fun:FcFontRenderPrepare
+ ...
+ fun:pango_context_get_metrics
+}
+{
+ pango_font_leak_todo_6
+ Memcheck:Leak
+ ...
+ fun:FcDefaultSubstitute
+ ...
+ fun:pango_itemize_with_base_dir
+}
+
+{
+ FT_Init_FreeType
+ Memcheck:Leak
+ fun:malloc
+ obj:/usr/lib/libfreetype.so.6.3.10
+ fun:ft_mem_qalloc
+ fun:ft_mem_alloc
+ fun:FT_New_Library
+ fun:FT_Init_FreeType
+}
+
+{
+ # Uninitialised value
+ inflateInit_
+ Memcheck:Cond
+ fun:inflateReset2
+ fun:inflateInit2_
+ fun:inflateInit_
+}
+
+{
+ # GTypeModules cannot be freed
+ peas_object_module_new
+ Memcheck:Leak
+ ...
+ fun:peas_object_module_new
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]