turn up the heat
[platform/upstream/gst-common.git] / gst.supp
1 ### this file contains suppressions for valgrind when running
2 ### the gstreamer unit tests
3 ### it might be useful for wider use as well
4
5
6 ### glibc suppressions
7
8 # glibc does not deallocate thread-local storage
9
10 {
11    <tls>
12    Memcheck:Leak
13    fun:calloc
14    fun:_dl_allocate_tls
15    fun:pthread_create@@GLIBC_2.1
16 }
17
18 {
19    <pthread strstr>
20    Memcheck:Cond
21    fun:strstr
22    fun:__pthread_initialize_minimal
23    obj:/lib/libpthread-*.so
24    obj:/lib/libpthread-*.so
25    fun:call_init
26    fun:_dl_init
27    obj:/lib/ld-*.so
28 }
29
30 # a thread-related free problem in glibc from Edgard
31 {
32    __libc_freeres_rw_acess
33    Memcheck:Addr4
34    obj:*
35    obj:*
36    obj:*
37    obj:*
38    obj:*
39    fun:__libc_freeres
40 }
41
42 ### glib suppressions
43
44 {
45    <g_type_init malloc>
46    Memcheck:Leak
47    fun:malloc
48    fun:g_malloc
49    fun:g_strdup
50    fun:g_quark_from_string
51    obj:*
52    obj:*
53    fun:g_type_register_fundamental
54    obj:*
55    fun:g_type_init_with_debug_flags
56    fun:g_type_init
57    fun:init_pre
58 }
59
60 {
61    <g_type_init calloc>
62    Memcheck:Leak
63    fun:calloc
64    fun:g_malloc0
65    obj:*
66    obj:*
67    fun:g_type_register_fundamental
68 }
69
70 {
71    <g_type_init calloc 2>
72    Memcheck:Leak
73    fun:calloc
74    fun:g_malloc0
75    obj:*
76    obj:*
77    fun:g_type_init_with_debug_flags
78    fun:g_type_init
79    fun:init_pre
80 }
81
82 ### GStreamer suppressions
83
84 # ds is saying he's rewriting the registry anyway
85 {
86    <registry>
87    Memcheck:Leak
88    fun:malloc
89    fun:g_malloc
90    fun:g_strdup
91    fun:read_string
92    fun:load_plugin
93    fun:gst_xml_registry_load
94    fun:gst_registry_load
95    fun:_registry_load_func
96    fun:g_list_foreach
97    fun:gst_registry_pool_load_all
98    fun:init_post
99    fun:init_popt_callback
100 }
101