### this file contains suppressions for valgrind when running ### the gibber/telepathy-salut unit tests based on the gstreamer one ### syscall suppressions { Memcheck:Param clone(parent_tidptr) fun:clone fun:clone } { Memcheck:Param clone(child_tidptr) fun:clone fun:clone } { Memcheck:Param clone(tlsinfo) fun:clone fun:clone } ### glibc suppressions { Memcheck:Cond obj:/lib/ld-2.3.*.so fun:dl_open_worker obj:/lib/ld-2.3.*.so fun:_dl_open fun:dlopen_doit obj:/lib/ld-2.3.*.so fun:_dlerror_run fun:dlopen@@GLIBC_2.1 fun:g_module_open } # glibc does not deallocate thread-local storage { Memcheck:Leak fun:calloc fun:_dl_allocate_tls fun:pthread_create@@* } # I get an extra stack entry on x86/dapper { Memcheck:Leak fun:calloc obj:/lib/ld-2.3.*.so fun:_dl_allocate_tls fun:pthread_create@@* } { Memcheck:Cond fun:strstr fun:__pthread_initialize_minimal obj:/lib/libpthread-*.so obj:/lib/libpthread-*.so fun:call_init fun:_dl_init obj:/lib/ld-*.so } # a thread-related free problem in glibc from Edgard { __libc_freeres_rw_acess Memcheck:Addr4 obj:* obj:* obj:* obj:* obj:* fun:__libc_freeres } { Memcheck:Cond obj:/lib/ld-2.3.*.so obj:/lib/ld-2.3.*.so obj:/lib/ld-2.3.*.so obj:/lib/ld-2.3.*.so obj:/lib/ld-2.3.*.so } # g_module_open-related problems { Memcheck:Addr2 fun:memcpy fun:_dl_map_object_deps fun:dl_open_worker fun:_dl_catch_error fun:_dl_open fun:dlopen_doit fun:_dl_catch_error fun:_dlerror_run fun:dlopen@@GLIBC_2.1 fun:g_module_open } { Memcheck:Addr4 fun:memcpy fun:_dl_map_object_deps fun:dl_open_worker fun:_dl_catch_error fun:_dl_open fun:dlopen_doit fun:_dl_catch_error fun:_dlerror_run fun:dlopen@@GLIBC_2.1 fun:g_module_open } { Memcheck:Cond obj:/lib/ld-2.3.*.so obj:/lib/ld-2.3.*.so obj:/lib/ld-2.3.*.so fun:do_sym fun:_dl_sym fun:dlsym_doit obj:/lib/ld-2.3.*.so fun:_dlerror_run fun:dlsym fun:g_module_symbol fun:g_module_open } { Memcheck:Cond obj:/lib/ld-2.3.*.so obj:/lib/ld-2.3.*.so obj:/lib/ld-2.3.*.so fun:dl_open_worker obj:/lib/ld-2.3.*.so fun:_dl_open fun:dlopen_doit obj:/lib/ld-2.3.*.so fun:_dlerror_run fun:dlopen@@GLIBC_2.1 fun:g_module_open } { Memcheck:Cond obj:/lib/ld-2.3.*.so fun:dl_open_worker obj:/lib/ld-2.3.*.so fun:_dl_open fun:dlopen_doit obj:/lib/ld-2.3.*.so fun:_dlerror_run fun:dlopen@@GLIBC_2.1 fun:g_module_open } { Memcheck:Leak fun:malloc obj:/lib/ld-2.3.*.so fun:dl_open_worker obj:/lib/ld-2.3.*.so fun:_dl_open fun:dlopen_doit obj:/lib/ld-2.3.*.so fun:_dlerror_run fun:dlopen@@GLIBC_2.1 fun:g_module_open } { Memcheck:Addr4 obj:/lib/ld-2.3.*.so obj:/lib/ld-2.3.*.so obj:/lib/ld-2.3.*.so obj:/lib/ld-2.3.*.so obj:/lib/ld-2.3.*.so obj:/lib/ld-2.3.*.so obj:/lib/ld-2.3.*.so fun:dl_open_worker obj:/lib/ld-2.3.*.so fun:_dl_open fun:dlopen_doit obj:/lib/ld-2.3.*.so } { Memcheck:Addr4 obj:/lib/ld-2.3.*.so obj:/lib/ld-2.3.*.so obj:/lib/ld-2.3.*.so obj:/lib/ld-2.3.*.so obj:/lib/ld-2.3.*.so obj:/lib/ld-2.3.*.so fun:dl_open_worker obj:/lib/ld-2.3.*.so fun:_dl_open fun:dlopen_doit obj:/lib/ld-2.3.*.so fun:_dlerror_run } { Memcheck:Addr4 obj:/lib/ld-2.3.*.so obj:/lib/ld-2.3.*.so obj:/lib/ld-2.3.*.so fun:dl_open_worker obj:/lib/ld-2.3.*.so fun:_dl_open fun:dlopen_doit obj:/lib/ld-2.3.*.so fun:_dlerror_run fun:dlopen@@GLIBC_2.1 fun:g_module_open } { Memcheck:Addr4 obj:/lib/ld-2.3.*.so obj:/lib/ld-2.3.*.so fun:dl_open_worker obj:/lib/ld-2.3.*.so fun:_dl_open fun:dlopen_doit obj:/lib/ld-2.3.*.so fun:_dlerror_run fun:dlopen@@GLIBC_2.1 fun:g_module_open } { Memcheck:Addr4 obj:/lib/ld-2.3.*.so obj:/lib/ld-2.3.*.so obj:/lib/ld-2.3.*.so fun:do_sym fun:_dl_sym fun:dlsym_doit obj:/lib/ld-2.3.*.so fun:_dlerror_run fun:dlsym fun:g_module_symbol fun:g_module_open } { Memcheck:Param futex(uaddr2) fun:pthread_once obj:/lib/libc-2.3.*.so obj:/lib/libc-2.3.*.so fun:mbsnrtowcs fun:vfprintf fun:vsprintf fun:sprintf obj:/lib/libc-2.3.*.so } # valgrind doesn't allow me to specify a suppression for Addr1, Addr2, Addr4 # as Addr*, so 3 copies for that; and then 2 of each for that pesky memcpy { Memcheck:Addr1 fun:_dl_signal_error fun:_dl_map_object_deps fun:dl_open_worker fun:_dl_catch_error fun:_dl_open fun:dlopen_doit fun:_dl_catch_error fun:_dlerror_run fun:dlopen@@GLIBC_2.1 fun:g_module_open } { Memcheck:Addr2 fun:_dl_signal_error fun:_dl_map_object_deps fun:dl_open_worker fun:_dl_catch_error fun:_dl_open fun:dlopen_doit fun:_dl_catch_error fun:_dlerror_run fun:dlopen@@GLIBC_2.1 fun:g_module_open } { Memcheck:Addr4 fun:_dl_signal_error fun:_dl_map_object_deps fun:dl_open_worker fun:_dl_catch_error fun:_dl_open fun:dlopen_doit fun:_dl_catch_error fun:_dlerror_run fun:dlopen@@GLIBC_2.1 fun:g_module_open } { Memcheck:Addr1 fun:memcpy fun:_dl_signal_error fun:_dl_map_object_deps fun:dl_open_worker fun:_dl_catch_error fun:_dl_open fun:dlopen_doit fun:_dl_catch_error fun:_dlerror_run fun:dlopen@@GLIBC_2.1 fun:g_module_open } { Memcheck:Addr2 fun:memcpy fun:_dl_signal_error fun:_dl_map_object_deps fun:dl_open_worker fun:_dl_catch_error fun:_dl_open fun:dlopen_doit fun:_dl_catch_error fun:_dlerror_run fun:dlopen@@GLIBC_2.1 fun:g_module_open } { Memcheck:Addr4 fun:memcpy fun:_dl_signal_error fun:_dl_map_object_deps fun:dl_open_worker fun:_dl_catch_error fun:_dl_open fun:dlopen_doit fun:_dl_catch_error fun:_dlerror_run fun:dlopen@@GLIBC_2.1 fun:g_module_open } { Memcheck:Addr8 obj:/lib/ld-2.3.*.so obj:/lib/ld-2.3.*.so obj:/lib/ld-2.3.*.so obj:/lib/ld-2.3.*.so obj:/lib/ld-2.3.*.so obj:/lib/ld-2.3.*.so obj:/lib/ld-2.3.*.so obj:/lib/libc-2.3.*.so obj:/lib/ld-2.3.*.so fun:_dl_open obj:/lib/libdl-2.3.*.so obj:/lib/ld-2.3.*.so } { Memcheck:Cond obj:/lib/ld-2.3.*.so obj:/lib/libc-2.3.*.so obj:/lib/ld-2.3.*.so fun:_dl_open obj:/lib/libdl-2.3.*.so obj:/lib/ld-2.3.*.so obj:/lib/libdl-2.3.*.so fun:dlopen fun:g_module_open } { Memcheck:Addr4 obj:/lib/ld-2.3.6.so obj:/lib/ld-2.3.6.so obj:/lib/tls/i686/cmov/libc-2.3.6.so obj:/lib/ld-2.3.6.so fun:_dl_open obj:/lib/tls/i686/cmov/libdl-2.3.6.so obj:/lib/ld-2.3.6.so obj:/lib/tls/i686/cmov/libdl-2.3.6.so fun:dlopen } { Memcheck:Cond obj:/lib/ld-2.3.6.so obj:/lib/tls/i686/cmov/libc-2.3.6.so obj:/lib/ld-2.3.6.so fun:_dl_open obj:/lib/tls/i686/cmov/libdl-2.3.6.so obj:/lib/ld-2.3.6.so obj:/lib/tls/i686/cmov/libdl-2.3.6.so fun:dlopen } { Memcheck:Cond obj:/lib/ld-2.3.6.so obj:/lib/ld-2.3.6.so obj:/lib/ld-2.3.6.so obj:/lib/tls/i686/cmov/libc-2.3.6.so obj:/lib/ld-2.3.6.so fun:_dl_open obj:/lib/tls/i686/cmov/libdl-2.3.6.so obj:/lib/ld-2.3.6.so obj:/lib/tls/i686/cmov/libdl-2.3.6.so fun:dlopen } ### glib suppressions { Memcheck:Cond fun:g_parse_debug_string obj:/usr/lib*/libglib-2.0.so.* fun:g_slice_alloc fun:g_slice_alloc0 } { Memcheck:Leak fun:malloc fun:g_malloc fun:g_strdup fun:g_quark_from_string obj:* obj:* fun:g_type_register_fundamental obj:* fun:g_type_init_with_debug_flags fun:g_type_init } { Memcheck:Leak fun:calloc fun:g_malloc0 obj:* obj:* fun:g_type_register_fundamental } { Memcheck:Leak fun:calloc fun:g_malloc0 obj:* obj:* fun:g_type_init_with_debug_flags } { Memcheck:Leak fun:calloc fun:g_malloc0 fun:g_slice_alloc obj:* obj:* fun:g_type_init_with_debug_flags } #pthread memleaks { Thread creation leak Memcheck:Leak fun:calloc fun:allocate_dtv fun:_dl_allocate* fun:_dl_allocate* fun:__pthread_initialize_minimal } { Thread management leak Memcheck:Leak fun:calloc fun:allocate_dtv fun:_dl_allocate* fun:_dl_allocate* fun:__pthread_* } { Thread management leak 2 Memcheck:Leak fun:memalign fun:_dl_allocate* fun:_dl_allocate* fun:__pthread_* } { pthread_create Syscall param write(buf) points to uninitialised byte(s) Memcheck:Param write(buf) fun:pthread_create@@GLIBC_2.2.5 fun:g_thread_create* } # nss_parse_* memleak (used by g_option_context_parse) { nss_parse_* memleak Memcheck:Leak fun:malloc fun:nss_parse_service_list fun:__nss_database_lookup } { Memcheck:Addr8 obj:/lib/ld-2.3.6.so } { Memcheck:Param futex(uaddr2) fun:pthread_once obj:/lib/libc-2.3.6.so obj:/lib/libc-2.3.6.so fun:setlocale fun:init_pre fun:g_option_context_parse } { Memcheck:Cond obj:/lib/ld-2.3.6.so obj:/lib/ld-2.3.6.so fun:_dl_open obj:/lib/libdl-2.3.6.so obj:/lib/ld-2.3.6.so obj:/lib/libdl-2.3.6.so fun:dlopen fun:g_module_open } # this exists in a bunch of different variations, hence the short tail/trace { Memcheck:Addr4 obj:/lib/ld-2.4.so obj:/lib/ld-2.4.so } { Memcheck:Addr8 obj:/lib/ld-2.4.so obj:/lib/ld-2.4.so } # More edgy suppressions (Mike) { Memcheck:Cond obj:/lib/ld-2.4.so obj:/lib/ld-2.4.so obj:/lib/ld-2.4.so obj:/lib/ld-2.4.so fun:dlopen_doit obj:/lib/ld-2.4.so fun:_dlerror_run fun:dlopen@@GLIBC_2.1 } { Memcheck:Cond obj:/lib/ld-2.4.so obj:/lib/ld-2.4.so obj:/lib/ld-2.4.so obj:/lib/ld-2.4.so obj:/lib/ld-2.4.so obj:/lib/ld-2.4.so fun:dlopen_doit obj:/lib/ld-2.4.so fun:_dlerror_run fun:dlopen@@GLIBC_2.1 } { Memcheck:Cond obj:/lib/ld-2.4.so obj:/lib/ld-2.4.so obj:/lib/ld-2.4.so fun:do_sym fun:_dl_sym } # This one's overly general, but there's zero other information in the stack # trace - just these five lines! { Memcheck:Cond obj:/lib/ld-2.4.so obj:/lib/ld-2.4.so obj:/lib/ld-2.4.so obj:/lib/ld-2.4.so obj:/lib/ld-2.4.so } { Memcheck:Leak fun:calloc obj:/lib/ld-2.4.so fun:_dl_allocate_tls fun:pthread_create@@GLIBC_2.1 } { Memcheck:Leak fun:calloc obj:/usr/lib/libcdio.so.6.0.1 fun:cdio_open_am_linux obj:/usr/lib/libcdio.so.6.0.1 fun:cdio_open_am } # TLS leaks for feisty/x86 { Memcheck:Leak fun:calloc fun:allocate_dtv fun:_dl_allocate_tls fun:pthread_create@@GLIBC_2.1 } { Memcheck:Addr8 obj:/lib/ld-2.5.so } { Memcheck:Leak fun:malloc obj:/lib/libc-*.so fun:__nss_database_lookup obj:* obj:* fun:getpwnam_r fun:g_get_any_init_do fun:g_get_home_dir } { Memcheck:Leak fun:malloc obj:/lib/libc-*.so fun:__nss_database_lookup obj:* obj:* fun:getpwnam_r fun:g_get_any_init_do fun:g_get_user_name } { Memcheck:Leak fun:calloc fun:_dlerror_run fun:dlopen@@GLIBC_2.1 } { Memcheck:Leak fun:realloc fun:add_to_global fun:dl_open_worker fun:_dl_catch_error fun:_dl_open fun:dlopen_doit fun:_dl_catch_error fun:_dlerror_run fun:dlopen@@GLIBC_2.1 } { Memcheck:Leak fun:malloc fun:realloc fun:g_realloc fun:g_quark_from_static_string } { Memcheck:Leak fun:realloc fun:g_realloc fun:type_node_any_new_W fun:type_node_new_W fun:g_type_register_static }