Valgrind on DBus

Ross Burton ross at burtonini.com
Sat Jul 16 02:50:49 EST 2005


Hi,

If anyone else wants to run Valgrind over the GLib bindings, they might
find the attached suppressions file useful: it ignores the leaked GType
information.

Ross
-- 
Ross Burton                                 mail: ross at burtonini.com
                                          jabber: ross at burtonini.com
                                     www: http://www.burtonini.com./
 PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF

-------------- next part --------------
#
# Suppressions for DBus
#

{
   Leaks from specialised GType code
   Memcheck:Leak
   fun:realloc
   fun:g_realloc
   fun:g_string_maybe_expand
   fun:g_string_insert_len
   fun:g_string_append
   fun:build_specialization_name
   fun:lookup_or_register_specialized
}

#
# Suppressions for GType
#

{
   Leaks from object, param, boxed gtypes
   Memcheck:Leak
   fun:calloc
   fun:g_malloc0
   fun:type_node_any_new_W
   fun:type_node_fundamental_new_W
   fun:g_type_register_fundamental
   fun:g_*_type_init
}

{
   Leaks from enum, value, spec gtypes.
   Memcheck:Leak
   fun:calloc
   fun:g_malloc0
   fun:type_node_any_new_W
   fun:type_node_fundamental_new_W
   fun:g_type_register_fundamental
   fun:g_*_types_init
}

{
   Leaks from void gtype
   Memcheck:Leak
   fun:calloc
   fun:g_malloc0
   fun:type_node_any_new_W
   fun:type_node_fundamental_new_W
   fun:g_type_init_with_debug_flags
}


More information about the dbus mailing list