[gtk-engines] All new suppressions file.



commit fa030bc09f061eb526313114170f6b43245309d4
Author: Benjamin Berg <benjamin sipsolutions net>
Date:   Fri Oct 1 19:56:53 2010 +0200

    All new suppressions file.

 test/valgrind-suppressions |  218 ++++++++++++++++++++++++++------------------
 1 files changed, 130 insertions(+), 88 deletions(-)
---
diff --git a/test/valgrind-suppressions b/test/valgrind-suppressions
index 2c2582b..888bf77 100644
--- a/test/valgrind-suppressions
+++ b/test/valgrind-suppressions
@@ -1,155 +1,197 @@
+
+# X libs
 {
-   Some invalid access on application startup
-   Memcheck:Param
-   writev(vector[...])
-   fun:*writev
-   obj:/usr/lib/libX11.so.6.2.0
-   fun:_X11TransWritev
-   fun:_XSend
-   fun:XQueryExtension
+   Initializing X extensions causes possible leaks (1)
+   Memcheck:Leak
+   fun:*alloc
    fun:XInitExtension
-   fun:XFixesFindDisplay
-   fun:XFixesQueryExtension
-   fun:gdk_display_open
+   fun:X*AddDisplay
 }
 {
-   Some ld thing.
-   Memcheck:Cond
-   fun:_dl_start
-   fun:_start
-   obj:*
-   obj:*
-   obj:*
-   obj:*
+   Initializing X extensions causes possible leaks (2)
+   Memcheck:Leak
+   fun:*alloc
+   fun:XInitExtension
+   fun:X*FindDisplay
+}
+{
+   Initializing X extensions causes possible leaks (3)
+   Memcheck:Leak
+   fun:*alloc
+   fun:XInitExtension
+   fun:X*UseExtension
+   fun:X*OpenDisplay
 }
 {
-   something else, dunno what exactly
-   Memcheck:Param
-   write(buf)
-   fun:*write*
-   fun:_X11TransWrite*
-   obj:/usr/lib/libX11.so*
+   Initializing X extensions causes possible leaks (4)
+   Memcheck:Leak
+   fun:*alloc
+   fun:XAddExtension
 }
+
+# Fontconfig
 {
-   Some home directory stuff, happens when loading the engine
+   Leak in FC Config XML Parser
    Memcheck:Leak
    fun:malloc
-   fun:nss_parse_service_list
-   fun:__nss_database_lookup
-   obj:*
-   obj:*
-   fun:getpwnam_r@@GLIBC_2.1.2
-   fun:g_get_any_init_do
-   fun:g_get_home_dir
+   ...
+   fun:XML_ParseBuffer
+   ...
+   fun:FcConfigParseAndLoad
 }
 {
-   pango/fc leak
+   Leak in FC Config XML Parser
    Memcheck:Leak
-   fun:*alloc
-   fun:FcPatternObject*
+   fun:malloc
+   ...
+   fun:FcStrStaticName
 }
 {
-   pango/fc leak
+   Leak that happens when handling pango layouts (eg. during range creation)
    Memcheck:Leak
-   fun:*alloc
-   fun:FcConfigValues*
-   fun:FcConfigSubstituteWithPat
+   fun:realloc
+   fun:FcPatternObjectInsertElt
+   fun:FcPatternObjectAddWithBinding
+   fun:FcFontRenderPrepare
 }
 {
-   Some GLib leak that valgrind reports
+   Leak that happens inside pango_fc_font_map_load_fontset and others
+   Memcheck:Leak
+   fun:realloc
+   fun:FcPatternObjectInsertElt
+   fun:FcPatternObjectAddWithBinding
+   fun:FcDefaultSubstitute
+}
+
+# GLib
+{
+   Leak in the GType system (1)
    Memcheck:Leak
    ...
-   fun:type_iface_vtable_base_init_Wm
+   fun:type_node_any_new_W
+   fun:g_type_register_static
+}
+{
+   Leak in the GType system (2)
+   Memcheck:Leak
+   ...
+   fun:type_add_flags_W
+   fun:g_type_register_fundamental
 }
 {
-   Some GLib leak that valgrind reports
+   Leak in the GType system (3)
    Memcheck:Leak
    ...
    fun:type_data_make_W
-   fun:g_type_init_with_debug_flags
+   fun:g_type_register_fundamental
 }
 {
-   More GLib stuff
+   Leak in the GType system (4)
    Memcheck:Leak
    ...
-   fun:type_node_any_new_W
-   fun:g_type_register_*
+   fun:type_add_interface_Wm
+   fun:g_type_add_interface_static
 }
 {
-   More GLib stuff
+   Leak in the GType system (5)
    Memcheck:Leak
    ...
-   fun:type_add_flags_W
-   fun:g_type_register_*
+   fun:g_memdup
+   fun:type_iface_vtable_base_init_Wm
+   fun:g_type_class_ref
 }
 {
-   More GLib stuff
+   Leak in the GType system (6)
+   Memcheck:Leak
+   ...
+   fun:g_type_class_ref
+   fun:g_param_spec_*
+}
+{
+   Leak in the GType system (7)
+   Memcheck:Leak
+   ...
+   fun:g_type_class_ref
+   fun:g_type_create_instance
+   fun:g_param_spec_*
+}
+{
+   Leak in the GType system (8)
    Memcheck:Leak
    ...
-   fun:g_*alloc*
    fun:type_data_make_W
-   fun:g_type_register_*
+   fun:g_type_init_with_debug_flags
 }
 {
-   This is getting ridiculus
+   Leak in the GType system (9)
    Memcheck:Leak
    ...
-   fun:g_type_add_interface_*
+   fun:type_node_fundamental_new_W
 }
+
+
+# Pango
 {
-   Leak in gdk_display_open/XInitExtension.
+   Pango rulesets leaks (1)
    Memcheck:Leak
-   fun:malloc
-   fun:XInitExtension
-   fun:XkbUseExtension
-   fun:XOpenDisplay
-   fun:gdk_display_open
+   ...
+   fun:g_slice_alloc
+   fun:g_array_sized_new
+   fun:pango_ot_ruleset_init
+   fun:g_type_create_instance
 }
 {
-   gtk_widget_class_init leak
+   Pango rulesets leaks (2)
    Memcheck:Leak
-   fun:calloc
-   fun:g_malloc0
    ...
-   fun:g_param_spec_*
-   fun:gtk_widget_class_init
+   fun:g_array_append_vals
+   fun:pango_ot_ruleset_add_feature
 }
 {
-   More pango leaks reported by valgrind
+   Pango context leak
    Memcheck:Leak
-   fun:calloc
-   fun:g_malloc0
+   ...
    fun:pango_language_from_string
    fun:pango_language_get_default
    fun:pango_context_init
+   fun:g_type_create_instance
 }
+
+# Freetype (only happens in industrial)
 {
-   And more GType object leakage when creating parent classes
+   FT_Init_FreeType
    Memcheck:Leak
-   fun:calloc
-   fun:g_malloc0
-   fun:g_type_class_ref
-   fun:g_type_class_ref
-   fun:g_type_create_instance
+   ...
+   fun:FT_Add_Module
+   fun:FT_Add_Default_Modules
+   fun:FT_Init_FreeType
 }
 {
-   More pango leaks
+   FT_Init_FreeType
    Memcheck:Leak
-   fun:malloc
-   fun:g_malloc
-   fun:g_slice_alloc
-   fun:g_array_sized_new
-   fun:pango_ot_ruleset_init
    ...
-   fun:basic_engine_shape
+   fun:FT_New_Memory
+   fun:FT_Init_FreeType
 }
 {
-   leak
+   FT_Init_FreeType
    Memcheck:Leak
-   fun:malloc
-   fun:getdelim
    ...
-   fun:call_init
-   fun:_dl_init
-   fun:_start
+   fun:FT_New_Library
+   fun:FT_Init_FreeType
+}
+
+# GTK+
+{
+   Some home directory stuff, happens when loading the engine
+   Memcheck:Leak
+   fun:malloc
+   fun:nss_parse_service_list
+   fun:__nss_database_lookup
+   obj:*
+   obj:*
+   fun:getpwnam_r*
+   fun:g_get_any_init_do
+   fun:g_get_home_dir
 }
+



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]