update suppressions file for popt->goption
[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>
46    Memcheck:Leak
47    fun:calloc
48    fun:g_malloc0
49    obj:*
50    obj:*
51    fun:g_type_init_with_debug_flags
52    fun:g_type_init
53    fun:init_pre
54    fun:init_popt_callback
55    obj:*
56    obj:*
57    fun:poptGetContext
58    fun:gst_init_check_with_popt_table
59 }
60
61 {
62    <g_type_init>
63    Memcheck:Leak
64    fun:calloc
65    fun:g_malloc0
66    obj:*
67    obj:*
68    fun:g_type_init_with_debug_flags
69    fun:g_type_init
70    fun:init_pre
71 }
72
73 ### GStreamer suppressions
74
75 # ds is saying he's rewriting the registry anyway
76 {
77    <registry>
78    Memcheck:Leak
79    fun:malloc
80    fun:g_malloc
81    fun:g_strdup
82    fun:read_string
83    fun:load_plugin
84    fun:gst_xml_registry_load
85    fun:gst_registry_load
86    fun:_registry_load_func
87    fun:g_list_foreach
88    fun:gst_registry_pool_load_all
89    fun:init_post
90    fun:init_popt_callback
91 }
92