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