blob: d0640fea4a1fd30efcce38206b43cab3c4c70df7 [file] [log] [blame]
commit-bot@chromium.org1a98a062014-04-30 21:10:13 +00001# Pass this file to Valgrind with "--suppressions=tools/valgrind.supp"
robertphillips@google.com6187abe2013-10-08 15:37:19 +00002
Robert Phillips59df64a2017-02-08 13:04:30 -05003# Intentional thread / memory leak in DM and nanbench.
mtklein1e237382015-03-16 06:59:18 -07004{
Robert Phillips59df64a2017-02-08 13:04:30 -05005 nanobench_and_dm_keepalive_thread_leak
mtklein1e237382015-03-16 06:59:18 -07006 Memcheck:Leak
Mike Klein4a2ab862017-02-21 08:12:09 -05007 match-leak-kinds: possible,definite
mtklein1e237382015-03-16 06:59:18 -07008 ...
9 fun:_ZN8SkThreadC1EPFvPvES0_
mtklein18ef5eb2015-03-16 15:06:00 -070010 ...
Robert Phillips59df64a2017-02-08 13:04:30 -050011 fun:main
mtkleine14e2262016-09-16 05:47:06 -070012 ...
msarettc149f0e2016-01-04 11:35:43 -080013}
14
commit-bot@chromium.org1a98a062014-04-30 21:10:13 +000015# Third party lib, driver issues.
robertphillips@google.com6187abe2013-10-08 15:37:19 +000016{
commit-bot@chromium.org1a98a062014-04-30 21:10:13 +000017 ati_driver_bug_1
robertphillips@google.comffb68f62013-12-06 17:03:39 +000018 Memcheck:Param
19 ioctl(generic)
20 fun:ioctl
21 ...
22 obj:/usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so
23}
24{
commit-bot@chromium.org1a98a062014-04-30 21:10:13 +000025 ati_driver_bug_2
robertphillips@google.comffb68f62013-12-06 17:03:39 +000026 Memcheck:Cond
27 obj:/usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so
28}
29{
commit-bot@chromium.org1a98a062014-04-30 21:10:13 +000030 ati_driver_bug_3
robertphillips@google.comffb68f62013-12-06 17:03:39 +000031 Memcheck:Addr8
32 ...
33 obj:/usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so
34}
robertphillips@google.comaad7e0b2013-12-09 13:55:33 +000035{
commit-bot@chromium.org1a98a062014-04-30 21:10:13 +000036 ati_driver_bug_4
robertphillips@google.comaad7e0b2013-12-09 13:55:33 +000037 Memcheck:Addr4
38 ...
robertphillips@google.comffb68f62013-12-06 17:03:39 +000039 obj:/usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so
40}
41{
commit-bot@chromium.org1a98a062014-04-30 21:10:13 +000042 ati_driver_bug_5
robertphillips@google.comffb68f62013-12-06 17:03:39 +000043 Memcheck:Addr2
44 ...
45 obj:/usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so
46}
47{
commit-bot@chromium.org1a98a062014-04-30 21:10:13 +000048 ati_driver_bug_6
robertphillips@google.comffb68f62013-12-06 17:03:39 +000049 Memcheck:Addr1
50 ...
51 obj:/usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so
52}
53{
commit-bot@chromium.org1a98a062014-04-30 21:10:13 +000054 ati_driver_bug_7
robertphillips@google.comaad7e0b2013-12-09 13:55:33 +000055 Memcheck:Leak
56 fun:malloc
robertphillips@google.comffb68f62013-12-06 17:03:39 +000057 obj:/usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so
58}
robertphillips@google.com45e01c32013-12-18 17:28:55 +000059{
60 driver_bug_8
61 Memcheck:Overlap
62 fun:strcpy
63 obj:/usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so
64}
65{
commit-bot@chromium.org1a98a062014-04-30 21:10:13 +000066 ati_driver_bug_9
robertphillips@google.com45e01c32013-12-18 17:28:55 +000067 Memcheck:Leak
68 fun:calloc
69 obj:/usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so
70}
robertphillips@google.com5fbccb32014-01-30 18:51:29 +000071{
commit-bot@chromium.org1a98a062014-04-30 21:10:13 +000072 ati_driver_bug_10
robertphillips@google.comdd31ac42014-02-11 15:23:21 +000073 Memcheck:Leak
74 fun:malloc
robertphillips@google.com5fbccb32014-01-30 18:51:29 +000075 obj:/usr/lib/fglrx/fglrx-libGL.so.1.2
76}
commit-bot@chromium.org1a98a062014-04-30 21:10:13 +000077{
78 nv_driver_bug_1
79 Memcheck:Param
80 write(buf)
commit-bot@chromium.org7126fef2014-05-19 21:06:01 +000081 ...
bsalomon4bf406a2014-11-12 10:51:19 -080082 obj:*/libnvidia-glcore.so*
commit-bot@chromium.org1a98a062014-04-30 21:10:13 +000083}
84{
85 nv_driver_bug_2
86 Memcheck:Cond
bsalomon61d04c42014-06-25 08:25:30 -070087 ...
bsalomon4bf406a2014-11-12 10:51:19 -080088 obj:*/libnvidia-glcore.so*
commit-bot@chromium.org1a98a062014-04-30 21:10:13 +000089}
90{
91 nv_driver_bug_3
92 Memcheck:Leak
93 fun:calloc
commit-bot@chromium.org7126fef2014-05-19 21:06:01 +000094 obj:/usr/lib*/libGL.so*
commit-bot@chromium.org1a98a062014-04-30 21:10:13 +000095}
96{
bungeman50119fa2014-08-26 13:48:00 -070097 #Fixed by FontConfig 2.9.0
98 #http://cgit.freedesktop.org/fontconfig/commit/?id=1c475d5c8cb265ac939d6b9e097666e300162511
commit-bot@chromium.org1a98a062014-04-30 21:10:13 +000099 font_config_bug_1
100 Memcheck:Addr4
101 fun:FcConfigFileExists
102}
103{
bungeman50119fa2014-08-26 13:48:00 -0700104 #https://bugs.freedesktop.org/show_bug.cgi?id=8215
105 #https://bugs.freedesktop.org/show_bug.cgi?id=8428
106 #FcPattern uses 'intptr_t elts_offset' instead of 'FcPatternEltPtr elts',
107 #which confuses valgrind.
commit-bot@chromium.org1a98a062014-04-30 21:10:13 +0000108 font_config_bug_2
109 Memcheck:Leak
bungeman50119fa2014-08-26 13:48:00 -0700110 fun:*alloc
bungeman2210d9e2014-08-29 10:38:48 -0700111 ...
bungeman50119fa2014-08-26 13:48:00 -0700112 fun:Fc*Add*
commit-bot@chromium.org1a98a062014-04-30 21:10:13 +0000113}
114{
bungeman2210d9e2014-08-29 10:38:48 -0700115 #Same root cause as font_config_bug_2.
116 #The 'leak' here is a copy of rule values, as opposed to new values.
117 font_config_bug_3
118 Memcheck:Leak
119 fun:*alloc
bungeman07379222014-11-05 06:44:11 -0800120 ...
bungeman2210d9e2014-08-29 10:38:48 -0700121 fun:FcConfigValues
122 fun:FcConfigSubstituteWithPat
123 fun:FcFontRenderPrepare
124}
125{
bungeman8d9225b2015-02-05 09:11:46 -0800126 #Same root cause as font_config_bug_2.
127 #The 'leak' is copies of font or pattern values into returned pattern values.
128 font_config_bug_4
129 Memcheck:Leak
130 fun:*alloc
131 ...
132 fun:FcValue*
133 fun:FcFontRenderPrepare
134}
135{
commit-bot@chromium.org1a98a062014-04-30 21:10:13 +0000136 zlib_bug_1
137 Memcheck:Cond
138 fun:inflateReset2
139 fun:inflateInit2_
140 fun:png_create_read_struct_2
141 fun:png_create_read_struct
142}
halcanary86cfff02014-08-14 13:08:45 -0700143{
144 zlib_bug_2
145 Memcheck:Cond
146 fun:inflateReset2
147 fun:inflateInit2_
148 fun:_ZN12_GLOBAL__N_17doFlateEbP8SkStreamP9SkWStream
149 fun:_ZN7SkFlate7InflateEP8SkStreamP9SkWStream
150}
commit-bot@chromium.org1a98a062014-04-30 21:10:13 +0000151
152# Why is it OK to suppress this?
153{
154 SkRTConfRegistry_bug_1
155 Memcheck:Leak
156 fun:_Znwm
157 fun:_ZN16SkRTConfRegistry12registerConfEP12SkRTConfBase
158}
159
160# The gpu_issue_* suppressions suppress issues that cannot be reproduced locally. These appear to be
161# due to valgrind not knowing about memory mapped by the ATI driver via glMapBuffer.
robertphillips@google.com45e01c32013-12-18 17:28:55 +0000162{
163 gpu_issue_1
164 Memcheck:Addr2
165 fun:_ZNK5GrGpu18getQuadIndexBufferEv
166}
167{
168 gpu_issue_2
169 Memcheck:Addr2
170 fun:_ZN24GrAAHairLinePathRenderer6CreateEP9GrContext
171}
172{
173 gpu_issue_3
174 Memcheck:Addr2
175 fun:_ZN16GrAARectRenderer21aaFillRectIndexBufferEP5GrGpu
176}
177{
178 gpu_issue_4
179 Memcheck:Addr8
180 fun:_ZN24GrAAHairLinePathRenderer14createLineGeomERK6SkPathP12GrDrawTargetRK8SkTArrayI7SkPointLb1EEiPNS3_19AutoReleaseGeometryEP6SkRect
181}
182{
183 gpu_issue_5
184 Memcheck:Addr8
185 fun:_ZN21GrDefaultPathRenderer10createGeomERK6SkPathRK11SkStrokeRecfP12GrDrawTargetP15GrPrimitiveTypePiSA_PNS6_19AutoReleaseGeometryE
186}
187{
188 gpu_issue_6
189 Memcheck:Addr8
robertphillips@google.comdd31ac42014-02-11 15:23:21 +0000190 fun:_ZN22GrAAConvexPathRenderer10onDrawPathERK11SkStrokeRecP12GrDrawTargetb
robertphillips@google.com45e01c32013-12-18 17:28:55 +0000191}
192{
193 gpu_issue_7
194 Memcheck:Addr4
195 fun:_ZNK7SkPoint24distanceToLineBetweenSqdERKS_S1_PNS_4SideE
robertphillips@google.comdd31ac42014-02-11 15:23:21 +0000196 fun:_ZN22GrAAConvexPathRenderer10onDrawPathERK11SkStrokeRecP12GrDrawTargetb
robertphillips@google.com4fa237f2013-12-19 13:41:48 +0000197}
robertphillips@google.com5fbccb32014-01-30 18:51:29 +0000198{
199 gpu_issue_8
200 Memcheck:Addr4
201 fun:_ZN24GrAAHairLinePathRenderer14createLineGeomERK6SkPathP12GrDrawTargetRK8SkTArrayI7SkPointLb1EEiPNS3_19AutoReleaseGeometryEP6SkRect
202}
203{
204 gpu_issue_9
205 Memcheck:Addr2
206 fun:_ZN21GrDefaultPathRenderer10createGeomERK6SkPathRK11SkStrokeRecfP12GrDrawTargetP15GrPrimitiveTypePiSA_PNS6_19AutoReleaseGeometryE
207}
208{
209 gpu_issue_10
210 Memcheck:Addr4
robertphillips@google.comdd31ac42014-02-11 15:23:21 +0000211 fun:_ZN22GrAAConvexPathRenderer10onDrawPathERK11SkStrokeRecP12GrDrawTargetb
robertphillips@google.com5fbccb32014-01-30 18:51:29 +0000212}
213{
214 gpu_issue_11
215 Memcheck:Addr2
robertphillips@google.comdd31ac42014-02-11 15:23:21 +0000216 fun:_ZN22GrAAConvexPathRenderer10onDrawPathERK11SkStrokeRecP12GrDrawTargetb
robertphillips@google.com5fbccb32014-01-30 18:51:29 +0000217}
robertphillips@google.com7fac7182014-02-14 14:08:05 +0000218{
219 gpu_issue_12
220 Memcheck:Addr8
221 fun:_ZN22GrAAConvexPathRenderer10onDrawPathERK6SkPathRK11SkStrokeRecP12GrDrawTargetb
222}
223{
224 gpu_issue_13
225 Memcheck:Addr4
226 fun:_ZNK7SkPoint24distanceToLineBetweenSqdERKS_S1_PNS_4SideE
227 fun:_ZN22GrAAConvexPathRenderer10onDrawPathERK6SkPathRK11SkStrokeRecP12GrDrawTargetb
228}
229{
230 gpu_issue_14
231 Memcheck:Addr4
232 fun:_ZN22GrAAConvexPathRenderer10onDrawPathERK6SkPathRK11SkStrokeRecP12GrDrawTargetb
233}
234{
235 gpu_issue_15
236 Memcheck:Addr2
237 fun:_ZN22GrAAConvexPathRenderer10onDrawPathERK6SkPathRK11SkStrokeRecP12GrDrawTargetb
238}
msarettb5213e62015-11-11 06:41:01 -0800239{
240 libjpeg_turbo_bug4550_1
241 Memcheck:Cond
242 fun:_Z26S32A_Opaque_BlitRow32_SSE4PjPKjij
243 fun:_ZN14Sprite_D32_S328blitRectEiiii
msarettb5213e62015-11-11 06:41:01 -0800244}
245{
246 libjpeg_turbo_bug4550_2
247 Memcheck:Cond
248 fun:_ZL15S32A_D565_BlendPtPKjijii
249 fun:_ZN26Sprite_D16_S32_BlitRowProc8blitRectEiiii
msarettb5213e62015-11-11 06:41:01 -0800250}
251{
252 libjpeg_turbo_bug4550_3
253 Memcheck:Cond
254 fun:_ZN12_GLOBAL__N_120ConvolveHorizontallyILb0EEEvPKhRK21SkConvolutionFilter1DPh
255 fun:_Z14BGRAConvolve2DPKhibRK21SkConvolutionFilter1DS3_iPhRK18SkConvolutionProcsb
msarettb5213e62015-11-11 06:41:01 -0800256}