[telepathy-gabble/master] update copy of tp-glib.supp

Dafydd Harries dafydd.harries at collabora.co.uk
Thu Dec 10 17:32:25 PST 2009


---
 tests/twisted/tools/tp-glib.supp |  589 ++++++++------------------------------
 1 files changed, 127 insertions(+), 462 deletions(-)

diff --git a/tests/twisted/tools/tp-glib.supp b/tests/twisted/tools/tp-glib.supp
index 98548fd..18d0dac 100644
--- a/tests/twisted/tools/tp-glib.supp
+++ b/tests/twisted/tools/tp-glib.supp
@@ -1,585 +1,250 @@
 # Valgrind error suppression file
-{
-   dbus-glib, https://bugs.freedesktop.org/show_bug.cgi?id=14125
-   Memcheck:Addr4
-   fun:g_hash_table_foreach
-   obj:/usr/lib/libdbus-glib-1.so.2.1.0
-   fun:g_object_run_dispose
-}
-
-{
-   libdbus shared connection via tp_get_bus (1)
-   Memcheck:Leak
-   fun:malloc
-   fun:dbus_malloc
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   fun:dbus_g_bus_get
-   fun:tp_get_bus
-}
 
-{
-   libdbus shared connection via tp_get_bus (2)
-   Memcheck:Leak
-   fun:calloc
-   fun:dbus_malloc0
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   fun:dbus_g_bus_get
-   fun:tp_get_bus
-}
-
-{
-   libdbus shared connection via tp_get_bus (3)
-   Memcheck:Leak
-   fun:realloc
-   fun:dbus_realloc
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   fun:dbus_g_bus_get
-   fun:tp_get_bus
-}
+# ============================= libc ==================================
 
 {
-   libdbus shared connection via tp_get_bus (4)
+   ld.so initialization + selinux
    Memcheck:Leak
-   fun:malloc
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   fun:dbus_g_bus_get
-   fun:tp_get_bus
+   ...
+   fun:_dl_init
+   obj:/lib/ld-*.so
 }
 
 {
-   libdbus shared connection via tp_get_bus (5)
+   dlopen initialization, triggered by handle-leak-debug code
    Memcheck:Leak
-   fun:malloc
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   fun:dbus_g_bus_get
-   fun:tp_get_bus
+   ...
+   fun:__libc_dlopen_mode
+   fun:init
+   fun:backtrace
+   fun:handle_leak_debug_bt
+   fun:dynamic_ensure_handle
+   fun:tp_handle_ensure
 }
 
-{
-   libdbus shared connection via tp_get_bus (6)
-   Memcheck:Leak
-   fun:calloc
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   fun:dbus_g_bus_get
-   fun:tp_get_bus
-}
+# ============================= GLib ==================================
 
 {
-   libdbus shared connection via tp_get_bus (7)
+   g_set_prgname copies its argument
    Memcheck:Leak
-   fun:calloc
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   fun:dbus_g_bus_get
-   fun:tp_get_bus
+   ...
+   fun:g_set_prgname
 }
 
 {
-   libdbus shared connection via tp_get_bus (8)
+   one g_get_charset per child^Wprocess
    Memcheck:Leak
-   fun:calloc
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   fun:dbus_g_bus_get
-   fun:tp_get_bus
+   ...
+   fun:g_get_charset
 }
 
 {
-   libdbus shared connection via tp_get_bus (9)
+   GQuarks can't be freed
    Memcheck:Leak
-   fun:malloc
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   fun:dbus_g_bus_get
-   fun:tp_get_bus
+   ...
+   fun:g_quark_from_static_string
 }
 
 {
-   libdbus shared connection via tp_get_bus (10)
+   GQuarks can't be freed
    Memcheck:Leak
-   fun:calloc
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   fun:dbus_g_bus_get
-   fun:tp_get_bus
+   ...
+   fun:g_quark_from_string
 }
 
 {
-   libdbus shared connection via tp_get_bus (11)
+   interned strings can't be freed
    Memcheck:Leak
-   fun:calloc
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   fun:dbus_g_bus_get
-   fun:tp_get_bus
+   ...
+   fun:g_intern_string
 }
 
 {
-   libdbus shared connection via tp_get_bus (12)
+   interned strings can't be freed
    Memcheck:Leak
-   fun:realloc
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   fun:dbus_g_bus_get
-   fun:tp_get_bus
+   ...
+   fun:g_intern_static_string
 }
 
 {
-   libdbus shared connection via tp_get_bus (13. sigh.)
+   shared global default g_main_context
    Memcheck:Leak
-   fun:malloc
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   fun:dbus_g_bus_get
-   fun:tp_get_bus
+   ...
+   fun:g_main_context_new
+   fun:g_main_context_default
 }
 
 {
-   libdbus shared connection via tp_get_bus (14)
+   GTest initialization
    Memcheck:Leak
-   fun:malloc
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   fun:dbus_g_bus_get
-   fun:tp_get_bus
+   ...
+   fun:g_test_init
+   fun:main
 }
 
 {
-   libdbus shared connection via tp_get_bus (15)
+   GTest admin
    Memcheck:Leak
-   fun:calloc
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   obj:*/libdbus-1.so.*
-   fun:dbus_g_bus_get
-   fun:tp_get_bus
+   ...
+   fun:g_test_add_vtable
 }
 
 {
-   g_type_init cruft (1)
+   GTest pseudorandomness
    Memcheck:Leak
-   fun:malloc
-   fun:g_malloc
-   obj:/usr/lib/libgobject-2.0.so.*
-   obj:/usr/lib/libgobject-2.0.so.*
-   fun:g_type_init_with_debug_flags
-   fun:g_type_init
-   fun:main
+   ...
+   fun:g_rand_new_with_seed_array
+   fun:test_run_seed
+   ...
+   fun:g_test_run
 }
 
 {
-   g_type_init cruft (1), 2.16 version
+   GSLice initialization
    Memcheck:Leak
-   fun:calloc
+   ...
    fun:g_malloc0
-   obj:/usr/lib/libgobject-2.0.so.*
-   obj:/usr/lib/libgobject-2.0.so.*
-   fun:g_type_init_with_debug_flags
-   fun:g_type_init
-   fun:main
+   fun:g_slice_init_nomessage
+   fun:g_slice_alloc
 }
 
-{
-   g_type_init cruft (3)
-   Memcheck:Leak
-   fun:realloc
-   fun:g_realloc
-   obj:/usr/lib/libgobject-2.0.so.*
-   obj:/usr/lib/libgobject-2.0.so.*
-   fun:g_type_register_static
-   fun:g_param_type_register_static
-   obj:/usr/lib/libgobject-2.0.so.*
-   fun:g_type_init_with_debug_flags
-   fun:g_type_init
-}
+# ============================= GObject ===============================
 
 {
-   g_type_init cruft (4)
+   g_type_init
    Memcheck:Leak
-   fun:realloc
-   fun:g_realloc
-   fun:g_boxed_type_register_static
-   fun:g_value_array_get_type
-   fun:g_param_spec_types_init
-   fun:g_type_init_with_debug_flags
+   ...
    fun:g_type_init
 }
 
 {
-   g_type_init cruft (5)
-   Memcheck:Leak
-   fun:calloc
-   fun:g_malloc0
-   obj:/usr/lib/libgobject-2.0.so.*
-   obj:/usr/lib/libgobject-2.0.so.*
-   fun:g_type_init_with_debug_flags
-}
-
-{
-   g_type_init cruft (6)
+   g_type_register_static
    Memcheck:Leak
-   fun:realloc
-   fun:g_realloc
-   obj:/usr/lib/libgobject-2.0.so.*
+   ...
    fun:g_type_register_static
-   fun:g_param_type_register_static
-   obj:/usr/lib/libgobject-2.0.so.*
-   fun:g_type_init_with_debug_flags
 }
 
-{
-   g_slice_init_nomessage (1)
-   Memcheck:Leak
-   fun:calloc
-   fun:g_malloc0
-   obj:/usr/lib/libglib-2.0.so.*
-   fun:g_slice_alloc
-}
+# ============================= dbus-glib =============================
 
 {
-   creating param specs in tp_proxy_class_intern_init
-   Memcheck:Leak
-   fun:memalign
-   fun:posix_memalign
-   fun:slab_allocator_alloc_chunk
-   fun:g_slice_alloc
-   fun:g_slice_alloc0
-   fun:g_type_create_instance
-   fun:g_param_spec_internal
-   fun:g_param_spec_string
-}
-
-{
-   shared global default g_main_context (1)
-   Memcheck:Leak
-   fun:calloc
-   fun:g_malloc0
-   fun:g_main_context_new
-   fun:g_main_context_default
-}
-
-{
-   shared global default g_main_context (2)
-   Memcheck:Leak
-   fun:memalign
-   fun:posix_memalign
-   fun:slab_allocator_alloc_chunk
-   fun:g_slice_alloc
-   fun:g_ptr_array_sized_new
-   fun:g_ptr_array_new
-   fun:g_main_context_new
-   fun:g_main_context_default
+   dbus-glib, https://bugs.freedesktop.org/show_bug.cgi?id=14125
+   Memcheck:Addr4
+   fun:g_hash_table_foreach
+   obj:/usr/lib/libdbus-glib-1.so.2.1.0
+   fun:g_object_run_dispose
 }
 
 {
-   shared global default g_main_context (2) (with G_SLICE_DEBUG=always-malloc)
+   registering marshallers is permanent
    Memcheck:Leak
-   fun:malloc
-   fun:g_malloc
-   fun:g_slice_alloc
-   fun:g_ptr_array_sized_new
-   fun:g_ptr_array_new
-   fun:g_main_context_new
-   fun:g_main_context_default
+   ...
+   fun:dbus_g_object_register_marshaller_array
+   fun:dbus_g_object_register_marshaller
 }
 
 {
-   GQuarks can't be freed
+   dbus-glib specialized GTypes are permanent
    Memcheck:Leak
-   fun:malloc
-   fun:realloc
-   fun:g_realloc
-   fun:g_quark_from_static_string
+   ...
+   fun:dbus_g_type_specialized_init
 }
 
 {
-   GQuark admin
+   libdbus shared connection
    Memcheck:Leak
-   fun:memalign
-   fun:posix_memalign
-   fun:slab_allocator_alloc_chunk
-   fun:g_slice_alloc
-   fun:g_hash_table_new_full
-   fun:g_hash_table_new
-   fun:g_quark_from_static_string
+   ...
+   fun:dbus_g_bus_get
 }
 
 {
-   GQuark admin (with G_SLICE_DEBUG=always-malloc)
+   dbus-gobject registrations aren't freed unless we fall off the bus
    Memcheck:Leak
-   fun:malloc
-   fun:g_malloc
-   fun:g_slice_alloc
-   fun:g_hash_table_new_full
-   fun:g_hash_table_new
-   fun:g_quark_from_static_string
+   ...
+   fun:g_slist_append
+   fun:dbus_g_connection_register_g_object
 }
 
 {
-   GQuark admin (with G_SLICE_DEBUG=always-malloc and a slightly different glib than above)
+   DBusGProxy slots aren't freed unless we fall off the bus
    Memcheck:Leak
-   fun:malloc
-   fun:g_malloc
-   fun:g_slice_alloc
-   fun:g_hash_table_new_full
-   fun:g_quark_from_static_string
+   ...
+   fun:dbus_connection_allocate_data_slot
+   ...
+   fun:dbus_g_proxy_constructor
 }
 
 {
-   dlopen initialization, triggered by handle-leak-debug code on glibc 2.7
+   error registrations are for life, not just for Christmas
    Memcheck:Leak
-   fun:malloc
-   fun:local_strdup
-   fun:_dl_map_object
-   fun:dl_open_worker
-   fun:_dl_catch_error
-   fun:_dl_open
-   fun:do_dlopen
-   fun:_dl_catch_error
-   fun:dlerror_run
-   fun:__libc_dlopen_mode
-   fun:init
-   fun:backtrace
-   fun:handle_leak_debug_bt
-   fun:dynamic_ensure_handle
-   fun:tp_handle_ensure
+   ...
+   fun:dbus_g_error_domain_register
 }
 
-{
-   dlopen initialization, triggered by handle-leak-debug code on older glibc
-   Memcheck:Leak
-   fun:malloc
-   fun:_dl_map_object
-   fun:dl_open_worker
-   fun:_dl_catch_error
-   fun:_dl_open
-   fun:do_dlopen
-   fun:_dl_catch_error
-   fun:dlerror_run
-   fun:__libc_dlopen_mode
-   fun:init
-   fun:backtrace
-   fun:handle_leak_debug_bt
-   fun:dynamic_ensure_handle
-   fun:tp_handle_ensure
-}
+# ============================= telepathy-glib ========================
 
 {
-   dlopen initialization, triggered by handle-leak-debug code (2)
+   tp_dbus_daemon_constructor @daemons once per DBusConnection
    Memcheck:Leak
-   fun:malloc
-   fun:_dl_new_object
-   fun:_dl_map_object_from_fd
-   fun:_dl_map_object
-   fun:dl_open_worker
-   fun:_dl_catch_error
-   fun:_dl_open
-   fun:do_dlopen
-   fun:_dl_catch_error
-   fun:dlerror_run
-   fun:__libc_dlopen_mode
-   fun:init
-   fun:backtrace
-   fun:handle_leak_debug_bt
-   fun:dynamic_ensure_handle
-   fun:tp_handle_ensure
+   ...
+   fun:g_slice_alloc
+   fun:tp_dbus_daemon_constructor
 }
 
 {
-   dlopen initialization, triggered by handle-leak-debug code (3)
+   tp_proxy_subclass_add_error_mapping refs the enum
    Memcheck:Leak
-   fun:malloc
-   fun:_dl_map_object_deps
-   fun:dl_open_worker
-   fun:_dl_catch_error
-   fun:_dl_open
-   fun:do_dlopen
-   fun:_dl_catch_error
-   fun:dlerror_run
-   fun:__libc_dlopen_mode
-   fun:init
-   fun:backtrace
-   fun:handle_leak_debug_bt
-   fun:dynamic_ensure_handle
-   fun:tp_handle_ensure
+   ...
+   fun:g_type_class_ref
+   fun:tp_proxy_subclass_add_error_mapping
 }
 
 {
-   dlopen initialization, triggered by handle-leak-debug code (4)
+   tp_proxy_or_subclass_hook_on_interface_add never frees its list
    Memcheck:Leak
-   fun:calloc
-   fun:_dl_check_map_versions
-   fun:dl_open_worker
-   fun:_dl_catch_error
-   fun:_dl_open
-   fun:do_dlopen
-   fun:_dl_catch_error
-   fun:dlerror_run
-   fun:__libc_dlopen_mode
-   fun:init
-   fun:backtrace
-   fun:handle_leak_debug_bt
-   fun:dynamic_ensure_handle
-   fun:tp_handle_ensure
-   fun:pretend_connected
-   fun:g_timeout_dispatch
-   fun:g_main_context_dispatch
-   fun:g_main_context_iterate
-   fun:g_main_loop_run
-   fun:tp_connection_run_until_ready
+   ...
+   fun:tp_proxy_or_subclass_hook_on_interface_add
 }
 
 {
-   dlopen initialization, triggered by handle-leak-debug code (5)
+   tp_dbus_daemon_constructor filter not freed til we fall off the bus
    Memcheck:Leak
-   fun:calloc
-   fun:_dl_new_object
-   fun:_dl_map_object_from_fd
-   fun:_dl_map_object
-   fun:dl_open_worker
-   fun:_dl_catch_error
-   fun:_dl_open
-   fun:do_dlopen
-   fun:_dl_catch_error
-   fun:dlerror_run
-   fun:__libc_dlopen_mode
-   fun:init
-   fun:backtrace
-   fun:handle_leak_debug_bt
-   fun:dynamic_ensure_handle
-   fun:tp_handle_ensure
+   ...
+   fun:dbus_connection_add_filter
+   fun:tp_dbus_daemon_constructor
 }
 
-{
-   dlopen initialization, triggered by handle-leak-debug code (6)
-   Memcheck:Leak
-   fun:calloc
-   fun:_dl_check_map_versions
-   fun:dl_open_worker
-   fun:_dl_catch_error
-   fun:_dl_open
-   fun:do_dlopen
-   fun:_dl_catch_error
-   fun:dlerror_run
-   fun:__libc_dlopen_mode
-   fun:init
-   fun:backtrace
-   fun:handle_leak_debug_bt
-   fun:dynamic_ensure_handle
-   fun:tp_handle_ensure
-}
+# ============================= unclassified ==========================
 
 {
-   ld.so initialization + selinux
+   creating param specs in tp_proxy_class_intern_init
    Memcheck:Leak
-   fun:malloc
-   obj:/lib/libselinux.so.*
-   obj:/lib/libselinux.so.*
-   obj:/lib/libselinux.so.*
-   fun:call_init
-   fun:_dl_init
-   obj:/lib/ld-*.so
+   fun:memalign
+   fun:posix_memalign
+   fun:slab_allocator_alloc_chunk
+   fun:g_slice_alloc
+   fun:g_slice_alloc0
+   fun:g_type_create_instance
+   fun:g_param_spec_internal
+   fun:g_param_spec_string
 }
 
 {
-   ld.so initialization + selinux
-   Memcheck:Leak
-   fun:malloc
-   fun:vasprintf
-   fun:asprintf
-   obj:/lib/libselinux.so.*
-   obj:/lib/libselinux.so.*
-   obj:/lib/libselinux.so.*
-   fun:call_init
-   fun:_dl_init
-   obj:/lib/ld-*.so
+   ld.so initialization on glibc 2.9
+   Memcheck:Cond
+   fun:_dl_relocate_object
+   fun:dl_main
+   fun:_dl_sysdep_start
+   fun:_dl_start
+   obj:/lib/ld-2.9.so
 }
 
 {
-   ld.so initialization + selinux
-   Memcheck:Leak
-   fun:realloc
-   fun:vasprintf
-   fun:asprintf
-   obj:/lib/libselinux.so.*
-   obj:/lib/libselinux.so.*
-   obj:/lib/libselinux.so.*
-   fun:call_init
-   fun:_dl_init
-   obj:/lib/ld-*.so
+   ld.so initialization on glibc 2.9
+   Memcheck:Cond
+   fun:strlen
+   fun:_dl_init_paths
+   fun:dl_main
+   fun:_dl_sysdep_start
+   fun:_dl_start
+   obj:/lib/ld-2.9.so
 }
-- 
1.5.6.5




More information about the telepathy-commits mailing list