commit-bot@chromium.org | 1a98a06 | 2014-04-30 21:10:13 +0000 | [diff] [blame] | 1 | # Pass this file to Valgrind with "--suppressions=tools/valgrind.supp" |
robertphillips@google.com | 6187abe | 2013-10-08 15:37:19 +0000 | [diff] [blame] | 2 | |
mtklein | 1e23738 | 2015-03-16 06:59:18 -0700 | [diff] [blame] | 3 | # Intentional thread / memory leak in DM. |
| 4 | { |
| 5 | dm_keepalive_thread_leak |
| 6 | Memcheck:Leak |
| 7 | match-leak-kinds: possible |
| 8 | ... |
| 9 | fun:_ZN8SkThreadC1EPFvPvES0_ |
mtklein | 18ef5eb | 2015-03-16 15:06:00 -0700 | [diff] [blame] | 10 | ... |
mtklein | 1e23738 | 2015-03-16 06:59:18 -0700 | [diff] [blame] | 11 | fun:_Z7dm_mainv |
mtklein | e14e226 | 2016-09-16 05:47:06 -0700 | [diff] [blame] | 12 | ... |
mtklein | 1e23738 | 2015-03-16 06:59:18 -0700 | [diff] [blame] | 13 | } |
| 14 | |
msarett | c149f0e | 2016-01-04 11:35:43 -0800 | [diff] [blame] | 15 | # Intentional thread / memory leak in nanobench. |
| 16 | { |
| 17 | nanobench_keepalive_thread_leak |
| 18 | Memcheck:Leak |
| 19 | match-leak-kinds: possible |
| 20 | ... |
| 21 | fun:_ZN8SkThreadC1EPFvPvES0_ |
mtklein | 68bb45e | 2016-01-05 04:42:29 -0800 | [diff] [blame] | 22 | ... |
msarett | c149f0e | 2016-01-04 11:35:43 -0800 | [diff] [blame] | 23 | fun:_Z14nanobench_mainv |
mtklein | e14e226 | 2016-09-16 05:47:06 -0700 | [diff] [blame] | 24 | ... |
msarett | c149f0e | 2016-01-04 11:35:43 -0800 | [diff] [blame] | 25 | } |
| 26 | |
commit-bot@chromium.org | 1a98a06 | 2014-04-30 21:10:13 +0000 | [diff] [blame] | 27 | # Third party lib, driver issues. |
robertphillips@google.com | 6187abe | 2013-10-08 15:37:19 +0000 | [diff] [blame] | 28 | { |
commit-bot@chromium.org | 1a98a06 | 2014-04-30 21:10:13 +0000 | [diff] [blame] | 29 | ati_driver_bug_1 |
robertphillips@google.com | ffb68f6 | 2013-12-06 17:03:39 +0000 | [diff] [blame] | 30 | Memcheck:Param |
| 31 | ioctl(generic) |
| 32 | fun:ioctl |
| 33 | ... |
| 34 | obj:/usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so |
| 35 | } |
| 36 | { |
commit-bot@chromium.org | 1a98a06 | 2014-04-30 21:10:13 +0000 | [diff] [blame] | 37 | ati_driver_bug_2 |
robertphillips@google.com | ffb68f6 | 2013-12-06 17:03:39 +0000 | [diff] [blame] | 38 | Memcheck:Cond |
| 39 | obj:/usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so |
| 40 | } |
| 41 | { |
commit-bot@chromium.org | 1a98a06 | 2014-04-30 21:10:13 +0000 | [diff] [blame] | 42 | ati_driver_bug_3 |
robertphillips@google.com | ffb68f6 | 2013-12-06 17:03:39 +0000 | [diff] [blame] | 43 | Memcheck:Addr8 |
| 44 | ... |
| 45 | obj:/usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so |
| 46 | } |
robertphillips@google.com | aad7e0b | 2013-12-09 13:55:33 +0000 | [diff] [blame] | 47 | { |
commit-bot@chromium.org | 1a98a06 | 2014-04-30 21:10:13 +0000 | [diff] [blame] | 48 | ati_driver_bug_4 |
robertphillips@google.com | aad7e0b | 2013-12-09 13:55:33 +0000 | [diff] [blame] | 49 | Memcheck:Addr4 |
| 50 | ... |
robertphillips@google.com | ffb68f6 | 2013-12-06 17:03:39 +0000 | [diff] [blame] | 51 | obj:/usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so |
| 52 | } |
| 53 | { |
commit-bot@chromium.org | 1a98a06 | 2014-04-30 21:10:13 +0000 | [diff] [blame] | 54 | ati_driver_bug_5 |
robertphillips@google.com | ffb68f6 | 2013-12-06 17:03:39 +0000 | [diff] [blame] | 55 | Memcheck:Addr2 |
| 56 | ... |
| 57 | obj:/usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so |
| 58 | } |
| 59 | { |
commit-bot@chromium.org | 1a98a06 | 2014-04-30 21:10:13 +0000 | [diff] [blame] | 60 | ati_driver_bug_6 |
robertphillips@google.com | ffb68f6 | 2013-12-06 17:03:39 +0000 | [diff] [blame] | 61 | Memcheck:Addr1 |
| 62 | ... |
| 63 | obj:/usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so |
| 64 | } |
| 65 | { |
commit-bot@chromium.org | 1a98a06 | 2014-04-30 21:10:13 +0000 | [diff] [blame] | 66 | ati_driver_bug_7 |
robertphillips@google.com | aad7e0b | 2013-12-09 13:55:33 +0000 | [diff] [blame] | 67 | Memcheck:Leak |
| 68 | fun:malloc |
robertphillips@google.com | ffb68f6 | 2013-12-06 17:03:39 +0000 | [diff] [blame] | 69 | obj:/usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so |
| 70 | } |
robertphillips@google.com | 45e01c3 | 2013-12-18 17:28:55 +0000 | [diff] [blame] | 71 | { |
| 72 | driver_bug_8 |
| 73 | Memcheck:Overlap |
| 74 | fun:strcpy |
| 75 | obj:/usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so |
| 76 | } |
| 77 | { |
commit-bot@chromium.org | 1a98a06 | 2014-04-30 21:10:13 +0000 | [diff] [blame] | 78 | ati_driver_bug_9 |
robertphillips@google.com | 45e01c3 | 2013-12-18 17:28:55 +0000 | [diff] [blame] | 79 | Memcheck:Leak |
| 80 | fun:calloc |
| 81 | obj:/usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so |
| 82 | } |
robertphillips@google.com | 5fbccb3 | 2014-01-30 18:51:29 +0000 | [diff] [blame] | 83 | { |
commit-bot@chromium.org | 1a98a06 | 2014-04-30 21:10:13 +0000 | [diff] [blame] | 84 | ati_driver_bug_10 |
robertphillips@google.com | dd31ac4 | 2014-02-11 15:23:21 +0000 | [diff] [blame] | 85 | Memcheck:Leak |
| 86 | fun:malloc |
robertphillips@google.com | 5fbccb3 | 2014-01-30 18:51:29 +0000 | [diff] [blame] | 87 | obj:/usr/lib/fglrx/fglrx-libGL.so.1.2 |
| 88 | } |
commit-bot@chromium.org | 1a98a06 | 2014-04-30 21:10:13 +0000 | [diff] [blame] | 89 | { |
| 90 | nv_driver_bug_1 |
| 91 | Memcheck:Param |
| 92 | write(buf) |
commit-bot@chromium.org | 7126fef | 2014-05-19 21:06:01 +0000 | [diff] [blame] | 93 | ... |
bsalomon | 4bf406a | 2014-11-12 10:51:19 -0800 | [diff] [blame] | 94 | obj:*/libnvidia-glcore.so* |
commit-bot@chromium.org | 1a98a06 | 2014-04-30 21:10:13 +0000 | [diff] [blame] | 95 | } |
| 96 | { |
| 97 | nv_driver_bug_2 |
| 98 | Memcheck:Cond |
bsalomon | 61d04c4 | 2014-06-25 08:25:30 -0700 | [diff] [blame] | 99 | ... |
bsalomon | 4bf406a | 2014-11-12 10:51:19 -0800 | [diff] [blame] | 100 | obj:*/libnvidia-glcore.so* |
commit-bot@chromium.org | 1a98a06 | 2014-04-30 21:10:13 +0000 | [diff] [blame] | 101 | } |
| 102 | { |
| 103 | nv_driver_bug_3 |
| 104 | Memcheck:Leak |
| 105 | fun:calloc |
commit-bot@chromium.org | 7126fef | 2014-05-19 21:06:01 +0000 | [diff] [blame] | 106 | obj:/usr/lib*/libGL.so* |
commit-bot@chromium.org | 1a98a06 | 2014-04-30 21:10:13 +0000 | [diff] [blame] | 107 | } |
| 108 | { |
bungeman | 50119fa | 2014-08-26 13:48:00 -0700 | [diff] [blame] | 109 | #Fixed by FontConfig 2.9.0 |
| 110 | #http://cgit.freedesktop.org/fontconfig/commit/?id=1c475d5c8cb265ac939d6b9e097666e300162511 |
commit-bot@chromium.org | 1a98a06 | 2014-04-30 21:10:13 +0000 | [diff] [blame] | 111 | font_config_bug_1 |
| 112 | Memcheck:Addr4 |
| 113 | fun:FcConfigFileExists |
| 114 | } |
| 115 | { |
bungeman | 50119fa | 2014-08-26 13:48:00 -0700 | [diff] [blame] | 116 | #https://bugs.freedesktop.org/show_bug.cgi?id=8215 |
| 117 | #https://bugs.freedesktop.org/show_bug.cgi?id=8428 |
| 118 | #FcPattern uses 'intptr_t elts_offset' instead of 'FcPatternEltPtr elts', |
| 119 | #which confuses valgrind. |
commit-bot@chromium.org | 1a98a06 | 2014-04-30 21:10:13 +0000 | [diff] [blame] | 120 | font_config_bug_2 |
| 121 | Memcheck:Leak |
bungeman | 50119fa | 2014-08-26 13:48:00 -0700 | [diff] [blame] | 122 | fun:*alloc |
bungeman | 2210d9e | 2014-08-29 10:38:48 -0700 | [diff] [blame] | 123 | ... |
bungeman | 50119fa | 2014-08-26 13:48:00 -0700 | [diff] [blame] | 124 | fun:Fc*Add* |
commit-bot@chromium.org | 1a98a06 | 2014-04-30 21:10:13 +0000 | [diff] [blame] | 125 | } |
| 126 | { |
bungeman | 2210d9e | 2014-08-29 10:38:48 -0700 | [diff] [blame] | 127 | #Same root cause as font_config_bug_2. |
| 128 | #The 'leak' here is a copy of rule values, as opposed to new values. |
| 129 | font_config_bug_3 |
| 130 | Memcheck:Leak |
| 131 | fun:*alloc |
bungeman | 0737922 | 2014-11-05 06:44:11 -0800 | [diff] [blame] | 132 | ... |
bungeman | 2210d9e | 2014-08-29 10:38:48 -0700 | [diff] [blame] | 133 | fun:FcConfigValues |
| 134 | fun:FcConfigSubstituteWithPat |
| 135 | fun:FcFontRenderPrepare |
| 136 | } |
| 137 | { |
bungeman | 8d9225b | 2015-02-05 09:11:46 -0800 | [diff] [blame] | 138 | #Same root cause as font_config_bug_2. |
| 139 | #The 'leak' is copies of font or pattern values into returned pattern values. |
| 140 | font_config_bug_4 |
| 141 | Memcheck:Leak |
| 142 | fun:*alloc |
| 143 | ... |
| 144 | fun:FcValue* |
| 145 | fun:FcFontRenderPrepare |
| 146 | } |
| 147 | { |
commit-bot@chromium.org | 1a98a06 | 2014-04-30 21:10:13 +0000 | [diff] [blame] | 148 | zlib_bug_1 |
| 149 | Memcheck:Cond |
| 150 | fun:inflateReset2 |
| 151 | fun:inflateInit2_ |
| 152 | fun:png_create_read_struct_2 |
| 153 | fun:png_create_read_struct |
| 154 | } |
halcanary | 86cfff0 | 2014-08-14 13:08:45 -0700 | [diff] [blame] | 155 | { |
| 156 | zlib_bug_2 |
| 157 | Memcheck:Cond |
| 158 | fun:inflateReset2 |
| 159 | fun:inflateInit2_ |
| 160 | fun:_ZN12_GLOBAL__N_17doFlateEbP8SkStreamP9SkWStream |
| 161 | fun:_ZN7SkFlate7InflateEP8SkStreamP9SkWStream |
| 162 | } |
commit-bot@chromium.org | 1a98a06 | 2014-04-30 21:10:13 +0000 | [diff] [blame] | 163 | |
| 164 | # Why is it OK to suppress this? |
| 165 | { |
| 166 | SkRTConfRegistry_bug_1 |
| 167 | Memcheck:Leak |
| 168 | fun:_Znwm |
| 169 | fun:_ZN16SkRTConfRegistry12registerConfEP12SkRTConfBase |
| 170 | } |
| 171 | |
| 172 | # The gpu_issue_* suppressions suppress issues that cannot be reproduced locally. These appear to be |
| 173 | # due to valgrind not knowing about memory mapped by the ATI driver via glMapBuffer. |
robertphillips@google.com | 45e01c3 | 2013-12-18 17:28:55 +0000 | [diff] [blame] | 174 | { |
| 175 | gpu_issue_1 |
| 176 | Memcheck:Addr2 |
| 177 | fun:_ZNK5GrGpu18getQuadIndexBufferEv |
| 178 | } |
| 179 | { |
| 180 | gpu_issue_2 |
| 181 | Memcheck:Addr2 |
| 182 | fun:_ZN24GrAAHairLinePathRenderer6CreateEP9GrContext |
| 183 | } |
| 184 | { |
| 185 | gpu_issue_3 |
| 186 | Memcheck:Addr2 |
| 187 | fun:_ZN16GrAARectRenderer21aaFillRectIndexBufferEP5GrGpu |
| 188 | } |
| 189 | { |
| 190 | gpu_issue_4 |
| 191 | Memcheck:Addr8 |
| 192 | fun:_ZN24GrAAHairLinePathRenderer14createLineGeomERK6SkPathP12GrDrawTargetRK8SkTArrayI7SkPointLb1EEiPNS3_19AutoReleaseGeometryEP6SkRect |
| 193 | } |
| 194 | { |
| 195 | gpu_issue_5 |
| 196 | Memcheck:Addr8 |
| 197 | fun:_ZN21GrDefaultPathRenderer10createGeomERK6SkPathRK11SkStrokeRecfP12GrDrawTargetP15GrPrimitiveTypePiSA_PNS6_19AutoReleaseGeometryE |
| 198 | } |
| 199 | { |
| 200 | gpu_issue_6 |
| 201 | Memcheck:Addr8 |
robertphillips@google.com | dd31ac4 | 2014-02-11 15:23:21 +0000 | [diff] [blame] | 202 | fun:_ZN22GrAAConvexPathRenderer10onDrawPathERK11SkStrokeRecP12GrDrawTargetb |
robertphillips@google.com | 45e01c3 | 2013-12-18 17:28:55 +0000 | [diff] [blame] | 203 | } |
| 204 | { |
| 205 | gpu_issue_7 |
| 206 | Memcheck:Addr4 |
| 207 | fun:_ZNK7SkPoint24distanceToLineBetweenSqdERKS_S1_PNS_4SideE |
robertphillips@google.com | dd31ac4 | 2014-02-11 15:23:21 +0000 | [diff] [blame] | 208 | fun:_ZN22GrAAConvexPathRenderer10onDrawPathERK11SkStrokeRecP12GrDrawTargetb |
robertphillips@google.com | 4fa237f | 2013-12-19 13:41:48 +0000 | [diff] [blame] | 209 | } |
robertphillips@google.com | 5fbccb3 | 2014-01-30 18:51:29 +0000 | [diff] [blame] | 210 | { |
| 211 | gpu_issue_8 |
| 212 | Memcheck:Addr4 |
| 213 | fun:_ZN24GrAAHairLinePathRenderer14createLineGeomERK6SkPathP12GrDrawTargetRK8SkTArrayI7SkPointLb1EEiPNS3_19AutoReleaseGeometryEP6SkRect |
| 214 | } |
| 215 | { |
| 216 | gpu_issue_9 |
| 217 | Memcheck:Addr2 |
| 218 | fun:_ZN21GrDefaultPathRenderer10createGeomERK6SkPathRK11SkStrokeRecfP12GrDrawTargetP15GrPrimitiveTypePiSA_PNS6_19AutoReleaseGeometryE |
| 219 | } |
| 220 | { |
| 221 | gpu_issue_10 |
| 222 | Memcheck:Addr4 |
robertphillips@google.com | dd31ac4 | 2014-02-11 15:23:21 +0000 | [diff] [blame] | 223 | fun:_ZN22GrAAConvexPathRenderer10onDrawPathERK11SkStrokeRecP12GrDrawTargetb |
robertphillips@google.com | 5fbccb3 | 2014-01-30 18:51:29 +0000 | [diff] [blame] | 224 | } |
| 225 | { |
| 226 | gpu_issue_11 |
| 227 | Memcheck:Addr2 |
robertphillips@google.com | dd31ac4 | 2014-02-11 15:23:21 +0000 | [diff] [blame] | 228 | fun:_ZN22GrAAConvexPathRenderer10onDrawPathERK11SkStrokeRecP12GrDrawTargetb |
robertphillips@google.com | 5fbccb3 | 2014-01-30 18:51:29 +0000 | [diff] [blame] | 229 | } |
robertphillips@google.com | 7fac718 | 2014-02-14 14:08:05 +0000 | [diff] [blame] | 230 | { |
| 231 | gpu_issue_12 |
| 232 | Memcheck:Addr8 |
| 233 | fun:_ZN22GrAAConvexPathRenderer10onDrawPathERK6SkPathRK11SkStrokeRecP12GrDrawTargetb |
| 234 | } |
| 235 | { |
| 236 | gpu_issue_13 |
| 237 | Memcheck:Addr4 |
| 238 | fun:_ZNK7SkPoint24distanceToLineBetweenSqdERKS_S1_PNS_4SideE |
| 239 | fun:_ZN22GrAAConvexPathRenderer10onDrawPathERK6SkPathRK11SkStrokeRecP12GrDrawTargetb |
| 240 | } |
| 241 | { |
| 242 | gpu_issue_14 |
| 243 | Memcheck:Addr4 |
| 244 | fun:_ZN22GrAAConvexPathRenderer10onDrawPathERK6SkPathRK11SkStrokeRecP12GrDrawTargetb |
| 245 | } |
| 246 | { |
| 247 | gpu_issue_15 |
| 248 | Memcheck:Addr2 |
| 249 | fun:_ZN22GrAAConvexPathRenderer10onDrawPathERK6SkPathRK11SkStrokeRecP12GrDrawTargetb |
| 250 | } |
msarett | b5213e6 | 2015-11-11 06:41:01 -0800 | [diff] [blame] | 251 | { |
| 252 | libjpeg_turbo_bug4550_1 |
| 253 | Memcheck:Cond |
| 254 | fun:_Z26S32A_Opaque_BlitRow32_SSE4PjPKjij |
| 255 | fun:_ZN14Sprite_D32_S328blitRectEiiii |
msarett | b5213e6 | 2015-11-11 06:41:01 -0800 | [diff] [blame] | 256 | } |
| 257 | { |
| 258 | libjpeg_turbo_bug4550_2 |
| 259 | Memcheck:Cond |
| 260 | fun:_ZL15S32A_D565_BlendPtPKjijii |
| 261 | fun:_ZN26Sprite_D16_S32_BlitRowProc8blitRectEiiii |
msarett | b5213e6 | 2015-11-11 06:41:01 -0800 | [diff] [blame] | 262 | } |
| 263 | { |
| 264 | libjpeg_turbo_bug4550_3 |
| 265 | Memcheck:Cond |
| 266 | fun:_ZN12_GLOBAL__N_120ConvolveHorizontallyILb0EEEvPKhRK21SkConvolutionFilter1DPh |
| 267 | fun:_Z14BGRAConvolve2DPKhibRK21SkConvolutionFilter1DS3_iPhRK18SkConvolutionProcsb |
msarett | b5213e6 | 2015-11-11 06:41:01 -0800 | [diff] [blame] | 268 | } |