2005-07-11 15:10:40 +00:00
|
|
|
### this file contains suppressions for valgrind when running
|
|
|
|
### the gstreamer unit tests
|
|
|
|
### it might be useful for wider use as well
|
|
|
|
|
|
|
|
|
|
|
|
### glibc suppressions
|
|
|
|
|
|
|
|
# glibc does not deallocate thread-local storage
|
|
|
|
|
|
|
|
{
|
|
|
|
<tls>
|
|
|
|
Memcheck:Leak
|
|
|
|
fun:calloc
|
|
|
|
fun:_dl_allocate_tls
|
|
|
|
fun:pthread_create@@GLIBC_2.1
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
|
|
|
<pthread strstr>
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2005-07-13 13:14:57 +00:00
|
|
|
# a thread-related free problem in glibc from Edgard
|
|
|
|
{
|
|
|
|
__libc_freeres_rw_acess
|
|
|
|
Memcheck:Addr4
|
2005-07-20 17:15:19 +00:00
|
|
|
obj:*
|
|
|
|
obj:*
|
|
|
|
obj:*
|
|
|
|
obj:*
|
|
|
|
obj:*
|
2005-07-13 13:14:57 +00:00
|
|
|
fun:__libc_freeres
|
|
|
|
}
|
|
|
|
|
2005-07-11 15:10:40 +00:00
|
|
|
### glib suppressions
|
|
|
|
|
|
|
|
{
|
|
|
|
<g_type_init>
|
|
|
|
Memcheck:Leak
|
|
|
|
fun:calloc
|
|
|
|
fun:g_malloc0
|
2005-07-20 17:15:19 +00:00
|
|
|
obj:*
|
|
|
|
obj:*
|
2005-07-11 15:10:40 +00:00
|
|
|
fun:g_type_init_with_debug_flags
|
|
|
|
fun:g_type_init
|
|
|
|
fun:init_pre
|
|
|
|
fun:init_popt_callback
|
2005-07-20 17:15:19 +00:00
|
|
|
obj:*
|
|
|
|
obj:*
|
2005-07-11 15:10:40 +00:00
|
|
|
fun:poptGetContext
|
|
|
|
fun:gst_init_check_with_popt_table
|
|
|
|
}
|
|
|
|
|
|
|
|
### GStreamer suppressions
|
|
|
|
|
|
|
|
# ds is saying he's rewriting the registry anyway
|
|
|
|
{
|
|
|
|
<registry>
|
|
|
|
Memcheck:Leak
|
|
|
|
fun:malloc
|
|
|
|
fun:g_malloc
|
|
|
|
fun:g_strdup
|
|
|
|
fun:read_string
|
|
|
|
fun:load_plugin
|
|
|
|
fun:gst_xml_registry_load
|
|
|
|
fun:gst_registry_load
|
|
|
|
fun:_registry_load_func
|
|
|
|
fun:g_list_foreach
|
|
|
|
fun:gst_registry_pool_load_all
|
|
|
|
fun:init_post
|
|
|
|
fun:init_popt_callback
|
|
|
|
}
|
|
|
|
|