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 | |
commit-bot@chromium.org | 1a98a06 | 2014-04-30 21:10:13 +0000 | [diff] [blame] | 3 | # Third party lib, driver issues. |
robertphillips@google.com | 6187abe | 2013-10-08 15:37:19 +0000 | [diff] [blame] | 4 | { |
commit-bot@chromium.org | 1a98a06 | 2014-04-30 21:10:13 +0000 | [diff] [blame] | 5 | ati_driver_bug_1 |
robertphillips@google.com | ffb68f6 | 2013-12-06 17:03:39 +0000 | [diff] [blame] | 6 | Memcheck:Param |
| 7 | ioctl(generic) |
| 8 | fun:ioctl |
| 9 | ... |
| 10 | obj:/usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so |
| 11 | } |
| 12 | { |
commit-bot@chromium.org | 1a98a06 | 2014-04-30 21:10:13 +0000 | [diff] [blame] | 13 | ati_driver_bug_2 |
robertphillips@google.com | ffb68f6 | 2013-12-06 17:03:39 +0000 | [diff] [blame] | 14 | Memcheck:Cond |
| 15 | obj:/usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so |
| 16 | } |
| 17 | { |
commit-bot@chromium.org | 1a98a06 | 2014-04-30 21:10:13 +0000 | [diff] [blame] | 18 | ati_driver_bug_3 |
robertphillips@google.com | ffb68f6 | 2013-12-06 17:03:39 +0000 | [diff] [blame] | 19 | Memcheck:Addr8 |
| 20 | ... |
| 21 | obj:/usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so |
| 22 | } |
robertphillips@google.com | aad7e0b | 2013-12-09 13:55:33 +0000 | [diff] [blame] | 23 | { |
commit-bot@chromium.org | 1a98a06 | 2014-04-30 21:10:13 +0000 | [diff] [blame] | 24 | ati_driver_bug_4 |
robertphillips@google.com | aad7e0b | 2013-12-09 13:55:33 +0000 | [diff] [blame] | 25 | Memcheck:Addr4 |
| 26 | ... |
robertphillips@google.com | ffb68f6 | 2013-12-06 17:03:39 +0000 | [diff] [blame] | 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_5 |
robertphillips@google.com | ffb68f6 | 2013-12-06 17:03:39 +0000 | [diff] [blame] | 31 | Memcheck:Addr2 |
| 32 | ... |
| 33 | obj:/usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so |
| 34 | } |
| 35 | { |
commit-bot@chromium.org | 1a98a06 | 2014-04-30 21:10:13 +0000 | [diff] [blame] | 36 | ati_driver_bug_6 |
robertphillips@google.com | ffb68f6 | 2013-12-06 17:03:39 +0000 | [diff] [blame] | 37 | Memcheck:Addr1 |
| 38 | ... |
| 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_7 |
robertphillips@google.com | aad7e0b | 2013-12-09 13:55:33 +0000 | [diff] [blame] | 43 | Memcheck:Leak |
| 44 | fun:malloc |
robertphillips@google.com | ffb68f6 | 2013-12-06 17:03:39 +0000 | [diff] [blame] | 45 | obj:/usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so |
| 46 | } |
robertphillips@google.com | 45e01c3 | 2013-12-18 17:28:55 +0000 | [diff] [blame] | 47 | { |
| 48 | driver_bug_8 |
| 49 | Memcheck:Overlap |
| 50 | fun:strcpy |
| 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_9 |
robertphillips@google.com | 45e01c3 | 2013-12-18 17:28:55 +0000 | [diff] [blame] | 55 | Memcheck:Leak |
| 56 | fun:calloc |
| 57 | obj:/usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so |
| 58 | } |
robertphillips@google.com | 5fbccb3 | 2014-01-30 18:51:29 +0000 | [diff] [blame] | 59 | { |
commit-bot@chromium.org | 1a98a06 | 2014-04-30 21:10:13 +0000 | [diff] [blame] | 60 | ati_driver_bug_10 |
robertphillips@google.com | dd31ac4 | 2014-02-11 15:23:21 +0000 | [diff] [blame] | 61 | Memcheck:Leak |
| 62 | fun:malloc |
robertphillips@google.com | 5fbccb3 | 2014-01-30 18:51:29 +0000 | [diff] [blame] | 63 | obj:/usr/lib/fglrx/fglrx-libGL.so.1.2 |
| 64 | } |
commit-bot@chromium.org | 1a98a06 | 2014-04-30 21:10:13 +0000 | [diff] [blame] | 65 | { |
| 66 | nv_driver_bug_1 |
| 67 | Memcheck:Param |
| 68 | write(buf) |
commit-bot@chromium.org | 7126fef | 2014-05-19 21:06:01 +0000 | [diff] [blame] | 69 | ... |
commit-bot@chromium.org | 1a98a06 | 2014-04-30 21:10:13 +0000 | [diff] [blame] | 70 | obj:/usr/lib/libnvidia-glcore.so* |
| 71 | } |
| 72 | { |
| 73 | nv_driver_bug_2 |
| 74 | Memcheck:Cond |
bsalomon | 61d04c4 | 2014-06-25 08:25:30 -0700 | [diff] [blame] | 75 | ... |
commit-bot@chromium.org | 1a98a06 | 2014-04-30 21:10:13 +0000 | [diff] [blame] | 76 | obj:/usr/lib/libnvidia-glcore.so* |
| 77 | } |
| 78 | { |
| 79 | nv_driver_bug_3 |
| 80 | Memcheck:Leak |
| 81 | fun:calloc |
commit-bot@chromium.org | 7126fef | 2014-05-19 21:06:01 +0000 | [diff] [blame] | 82 | obj:/usr/lib*/libGL.so* |
commit-bot@chromium.org | 1a98a06 | 2014-04-30 21:10:13 +0000 | [diff] [blame] | 83 | } |
| 84 | { |
bungeman | 50119fa | 2014-08-26 13:48:00 -0700 | [diff] [blame] | 85 | #Fixed by FontConfig 2.9.0 |
| 86 | #http://cgit.freedesktop.org/fontconfig/commit/?id=1c475d5c8cb265ac939d6b9e097666e300162511 |
commit-bot@chromium.org | 1a98a06 | 2014-04-30 21:10:13 +0000 | [diff] [blame] | 87 | font_config_bug_1 |
| 88 | Memcheck:Addr4 |
| 89 | fun:FcConfigFileExists |
| 90 | } |
| 91 | { |
bungeman | 50119fa | 2014-08-26 13:48:00 -0700 | [diff] [blame] | 92 | #https://bugs.freedesktop.org/show_bug.cgi?id=8215 |
| 93 | #https://bugs.freedesktop.org/show_bug.cgi?id=8428 |
| 94 | #FcPattern uses 'intptr_t elts_offset' instead of 'FcPatternEltPtr elts', |
| 95 | #which confuses valgrind. |
commit-bot@chromium.org | 1a98a06 | 2014-04-30 21:10:13 +0000 | [diff] [blame] | 96 | font_config_bug_2 |
| 97 | Memcheck:Leak |
bungeman | 50119fa | 2014-08-26 13:48:00 -0700 | [diff] [blame] | 98 | fun:*alloc |
bungeman | 2210d9e | 2014-08-29 10:38:48 -0700 | [diff] [blame] | 99 | ... |
bungeman | 50119fa | 2014-08-26 13:48:00 -0700 | [diff] [blame] | 100 | fun:Fc*Add* |
commit-bot@chromium.org | 1a98a06 | 2014-04-30 21:10:13 +0000 | [diff] [blame] | 101 | } |
| 102 | { |
bungeman | 2210d9e | 2014-08-29 10:38:48 -0700 | [diff] [blame] | 103 | #Same root cause as font_config_bug_2. |
| 104 | #The 'leak' here is a copy of rule values, as opposed to new values. |
| 105 | font_config_bug_3 |
| 106 | Memcheck:Leak |
| 107 | fun:*alloc |
| 108 | fun:FcConfigValues |
| 109 | fun:FcConfigSubstituteWithPat |
| 110 | fun:FcFontRenderPrepare |
| 111 | } |
| 112 | { |
commit-bot@chromium.org | 1a98a06 | 2014-04-30 21:10:13 +0000 | [diff] [blame] | 113 | zlib_bug_1 |
| 114 | Memcheck:Cond |
| 115 | fun:inflateReset2 |
| 116 | fun:inflateInit2_ |
| 117 | fun:png_create_read_struct_2 |
| 118 | fun:png_create_read_struct |
| 119 | } |
halcanary | 86cfff0 | 2014-08-14 13:08:45 -0700 | [diff] [blame] | 120 | { |
| 121 | zlib_bug_2 |
| 122 | Memcheck:Cond |
| 123 | fun:inflateReset2 |
| 124 | fun:inflateInit2_ |
| 125 | fun:_ZN12_GLOBAL__N_17doFlateEbP8SkStreamP9SkWStream |
| 126 | fun:_ZN7SkFlate7InflateEP8SkStreamP9SkWStream |
| 127 | } |
commit-bot@chromium.org | 1a98a06 | 2014-04-30 21:10:13 +0000 | [diff] [blame] | 128 | |
| 129 | # Why is it OK to suppress this? |
| 130 | { |
| 131 | SkRTConfRegistry_bug_1 |
| 132 | Memcheck:Leak |
| 133 | fun:_Znwm |
| 134 | fun:_ZN16SkRTConfRegistry12registerConfEP12SkRTConfBase |
| 135 | } |
| 136 | |
| 137 | # The gpu_issue_* suppressions suppress issues that cannot be reproduced locally. These appear to be |
| 138 | # 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] | 139 | { |
| 140 | gpu_issue_1 |
| 141 | Memcheck:Addr2 |
| 142 | fun:_ZNK5GrGpu18getQuadIndexBufferEv |
| 143 | } |
| 144 | { |
| 145 | gpu_issue_2 |
| 146 | Memcheck:Addr2 |
| 147 | fun:_ZN24GrAAHairLinePathRenderer6CreateEP9GrContext |
| 148 | } |
| 149 | { |
| 150 | gpu_issue_3 |
| 151 | Memcheck:Addr2 |
| 152 | fun:_ZN16GrAARectRenderer21aaFillRectIndexBufferEP5GrGpu |
| 153 | } |
| 154 | { |
| 155 | gpu_issue_4 |
| 156 | Memcheck:Addr8 |
| 157 | fun:_ZN24GrAAHairLinePathRenderer14createLineGeomERK6SkPathP12GrDrawTargetRK8SkTArrayI7SkPointLb1EEiPNS3_19AutoReleaseGeometryEP6SkRect |
| 158 | } |
| 159 | { |
| 160 | gpu_issue_5 |
| 161 | Memcheck:Addr8 |
| 162 | fun:_ZN21GrDefaultPathRenderer10createGeomERK6SkPathRK11SkStrokeRecfP12GrDrawTargetP15GrPrimitiveTypePiSA_PNS6_19AutoReleaseGeometryE |
| 163 | } |
| 164 | { |
| 165 | gpu_issue_6 |
| 166 | Memcheck:Addr8 |
robertphillips@google.com | dd31ac4 | 2014-02-11 15:23:21 +0000 | [diff] [blame] | 167 | fun:_ZN22GrAAConvexPathRenderer10onDrawPathERK11SkStrokeRecP12GrDrawTargetb |
robertphillips@google.com | 45e01c3 | 2013-12-18 17:28:55 +0000 | [diff] [blame] | 168 | } |
| 169 | { |
| 170 | gpu_issue_7 |
| 171 | Memcheck:Addr4 |
| 172 | fun:_ZNK7SkPoint24distanceToLineBetweenSqdERKS_S1_PNS_4SideE |
robertphillips@google.com | dd31ac4 | 2014-02-11 15:23:21 +0000 | [diff] [blame] | 173 | fun:_ZN22GrAAConvexPathRenderer10onDrawPathERK11SkStrokeRecP12GrDrawTargetb |
robertphillips@google.com | 4fa237f | 2013-12-19 13:41:48 +0000 | [diff] [blame] | 174 | } |
robertphillips@google.com | 5fbccb3 | 2014-01-30 18:51:29 +0000 | [diff] [blame] | 175 | { |
| 176 | gpu_issue_8 |
| 177 | Memcheck:Addr4 |
| 178 | fun:_ZN24GrAAHairLinePathRenderer14createLineGeomERK6SkPathP12GrDrawTargetRK8SkTArrayI7SkPointLb1EEiPNS3_19AutoReleaseGeometryEP6SkRect |
| 179 | } |
| 180 | { |
| 181 | gpu_issue_9 |
| 182 | Memcheck:Addr2 |
| 183 | fun:_ZN21GrDefaultPathRenderer10createGeomERK6SkPathRK11SkStrokeRecfP12GrDrawTargetP15GrPrimitiveTypePiSA_PNS6_19AutoReleaseGeometryE |
| 184 | } |
| 185 | { |
| 186 | gpu_issue_10 |
| 187 | Memcheck:Addr4 |
robertphillips@google.com | dd31ac4 | 2014-02-11 15:23:21 +0000 | [diff] [blame] | 188 | fun:_ZN22GrAAConvexPathRenderer10onDrawPathERK11SkStrokeRecP12GrDrawTargetb |
robertphillips@google.com | 5fbccb3 | 2014-01-30 18:51:29 +0000 | [diff] [blame] | 189 | } |
| 190 | { |
| 191 | gpu_issue_11 |
| 192 | Memcheck:Addr2 |
robertphillips@google.com | dd31ac4 | 2014-02-11 15:23:21 +0000 | [diff] [blame] | 193 | fun:_ZN22GrAAConvexPathRenderer10onDrawPathERK11SkStrokeRecP12GrDrawTargetb |
robertphillips@google.com | 5fbccb3 | 2014-01-30 18:51:29 +0000 | [diff] [blame] | 194 | } |
robertphillips@google.com | 7fac718 | 2014-02-14 14:08:05 +0000 | [diff] [blame] | 195 | { |
| 196 | gpu_issue_12 |
| 197 | Memcheck:Addr8 |
| 198 | fun:_ZN22GrAAConvexPathRenderer10onDrawPathERK6SkPathRK11SkStrokeRecP12GrDrawTargetb |
| 199 | } |
| 200 | { |
| 201 | gpu_issue_13 |
| 202 | Memcheck:Addr4 |
| 203 | fun:_ZNK7SkPoint24distanceToLineBetweenSqdERKS_S1_PNS_4SideE |
| 204 | fun:_ZN22GrAAConvexPathRenderer10onDrawPathERK6SkPathRK11SkStrokeRecP12GrDrawTargetb |
| 205 | } |
| 206 | { |
| 207 | gpu_issue_14 |
| 208 | Memcheck:Addr4 |
| 209 | fun:_ZN22GrAAConvexPathRenderer10onDrawPathERK6SkPathRK11SkStrokeRecP12GrDrawTargetb |
| 210 | } |
| 211 | { |
| 212 | gpu_issue_15 |
| 213 | Memcheck:Addr2 |
| 214 | fun:_ZN22GrAAConvexPathRenderer10onDrawPathERK6SkPathRK11SkStrokeRecP12GrDrawTargetb |
| 215 | } |