Merging gst-devtools
[platform/upstream/gstreamer.git] / validate / data / gstvalidate.supp
1 ### This file contains either validate specific suppressions or bugs that we
2 ### can't easily address because they are lower in the stack.
3 ### All the other suppressions should be added ton gstreamer/tests/check/gstreamer.supp
4
5 ### Each set of suppression rules should be prefixed by either:
6 ###   - FIXED: if the bug/leak has been fixed upstream but we keep the rule
7 ###     because the fix may not be deployed yet (because it's lower in the
8 ###     stack and not in gst itself).
9 ###   - PENDING: if the bug/leak hasn't been fixed yet. In this case, please
10 ###     add an url to the bug report.
11
12 # PENDING: https://bugs.freedesktop.org/show_bug.cgi?id=90073
13 {
14    Leak in mesa fixed with http://lists.freedesktop.org/archives/mesa-dev/2015-April/082101.html
15    Memcheck:Leak
16    fun:malloc
17    fun:read_packet
18    fun:_xcb_in_read
19    fun:_xcb_conn_wait
20    fun:wait_for_reply
21    fun:xcb_wait_for_reply
22    fun:dri3_open
23    fun:dri3_create_screen
24    fun:AllocAndFetchScreenConfigs
25    fun:__glXInitialize
26    fun:glXQueryVersion
27 }
28
29 {
30    Leak in mesa fixed with http://lists.freedesktop.org/archives/mesa-dev/2015-April/082100.html
31    Memcheck:Leak
32    ...
33    fun:get_render_node_from_id_path_tag
34    fun:loader_get_user_preferred_fd
35    fun:dri3_create_screen
36    fun:AllocAndFetchScreenConfigs
37    fun:__glXInitialize
38    fun:glXQueryVersion
39 }
40
41 # FIXED
42 {
43    Fixed in pixman master
44    Memcheck:Leak
45    fun:memalign
46    fun:allocate_and_init
47    fun:tls_get_addr_tail
48 }
49
50 # PENDING: https://bugzilla.gnome.org/show_bug.cgi?id=748417
51 {
52    Ignore all the invalid memory errors from libvpx
53    Memcheck:Cond
54    obj:/usr/lib64/libvpx.so*
55 }
56
57 {
58    Ignore all the invalid memory errors from libvpx
59    Memcheck:Value8
60    obj:/usr/lib64/libvpx.so*
61 }
62
63 # PENDING: https://bugzilla.gnome.org/show_bug.cgi?id=747110
64 {
65    https://bugzilla.gnome.org/show_bug.cgi?id=747110
66    Memcheck:Addr4
67    ...
68    fun:aac_decode_frame_int
69    fun:aac_decode_frame
70 }
71
72 # PENDING: https://bugzilla.gnome.org/show_bug.cgi?id=752989
73 {
74    https://bugzilla.gnome.org/show_bug.cgi?id=752989
75    Memcheck:Value4
76    ...
77    fun:aac_decode_frame_int
78    fun:aac_decode_frame
79 }
80
81 # PENDING: https://bugs.freedesktop.org/show_bug.cgi?id=90194
82 {
83    https://bugs.freedesktop.org/show_bug.cgi?id=90194
84    Memcheck:Param
85    ioctl(generic)
86    fun:ioctl
87    fun:drmIoctl
88    fun:drmPrimeHandleToFD
89 }
90
91 # PENDING: https://bugzilla.gnome.org/show_bug.cgi?id=749232
92 # x264 errors
93 {
94    <insert_a_suppression_name_here>
95    Memcheck:Cond
96    ...
97    fun:x264_encoder_encode
98 }
99
100 {
101    <insert_a_suppression_name_here>
102    Memcheck:Value8
103    ...
104    fun:x264_encoder_encode
105 }
106
107 {
108    <insert_a_suppression_name_here>
109    Memcheck:Cond
110    ...
111    fun:x264_lookahead_thread
112 }
113
114 {
115    <insert_a_suppression_name_here>
116    Memcheck:Value8
117    ...
118    fun:x264_lookahead_thread
119 }
120
121 {
122    <insert_a_suppression_name_here>
123    Memcheck:Cond
124    ...
125    fun:x264_threadpool_thread
126 }
127
128 {
129    <insert_a_suppression_name_here>
130    Memcheck:Value8
131    obj:/usr/lib64/libx264.so.*
132 }
133
134 {
135    <insert_a_suppression_name_here>
136    Memcheck:Cond
137    obj:/usr/lib64/libx264.so.*
138 }
139
140 # PENDING: https://bugzilla.gnome.org/show_bug.cgi?id=749428
141 # Theora encoder
142
143 {
144    <insert_a_suppression_name_here>
145    Memcheck:Value8
146    ...
147    fun:theora_enc_handle_frame
148 }
149
150 {
151    <insert_a_suppression_name_here>
152    Memcheck:Cond
153    ...
154    fun:theora_enc_handle_frame
155 }
156
157 {
158    <insert_a_suppression_name_here>
159    Memcheck:Value8
160    fun:oc_enc_tokenize_ac
161 }
162
163 # FIXED
164 {
165    Fixed with mesa master
166    Memcheck:Cond
167    fun:lp_build_blend_factor_unswizzled
168    ...
169    fun:gst_glimage_sink_on_draw
170 }
171
172 # FIXED
173 {
174    Fixed with mesa master
175    Memcheck:Leak
176    match-leak-kinds: definite
177    fun:calloc
178    ...
179    fun:_do_convert_draw
180    fun:_do_convert_one_view
181 }
182
183 # FIXED
184 {
185    Fixed with mesa master
186    Memcheck:Leak
187    match-leak-kinds: definite
188    fun:malloc
189    ...
190    fun:gst_gl_shader_compile
191 }
192
193 # FIXED
194 {
195    Fixed with mesa master
196    Memcheck:Leak
197    match-leak-kinds: definite
198    fun:calloc
199    ...
200    fun:_draw_checker_background
201    fun:_draw_background
202    fun:gst_gl_video_mixer_callback
203 }
204
205 {
206     #https://bugs.freedesktop.org/show_bug.cgi?id=8215
207     #https://bugs.freedesktop.org/show_bug.cgi?id=8428
208     #FcPattern uses 'intptr_t elts_offset' instead of 'FcPatternEltPtr elts',
209     #which confuses valgrind.
210     font_config_bug_2
211     Memcheck:Leak
212     fun:*alloc
213     ...
214     fun:Fc*Add*
215 }
216 {
217     #Same root cause as font_config_bug_2.
218     #The 'leak' here is a copy of rule values, as opposed to new values.
219     font_config_bug_3
220     Memcheck:Leak
221     fun:*alloc
222     ...
223     fun:FcConfigValues
224 }
225 {
226     #Same root cause as font_config_bug_2.
227     #The 'leak' is copies of font or pattern values into returned pattern values.
228     font_config_bug_4
229     Memcheck:Leak
230     fun:*alloc
231     ...
232     fun:FcValue*
233     fun:FcFontRenderPrepare
234 }
235 {
236    font_config_bug_6
237    Memcheck:Leak
238    fun:*alloc
239    ...
240    obj:*/libfontconfig.so.*
241 }