Home | History | Annotate | Download | only in tools
      1 # Pass this file to Valgrind with "--suppressions=tools/valgrind.supp"
      2 
      3 # Third party lib, driver issues.
      4 {
      5     ati_driver_bug_1
      6     Memcheck:Param
      7     ioctl(generic)
      8     fun:ioctl
      9     ...
     10     obj:/usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so
     11 }
     12 {
     13     ati_driver_bug_2
     14     Memcheck:Cond
     15     obj:/usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so
     16 }
     17 {
     18     ati_driver_bug_3
     19     Memcheck:Addr8
     20     ...
     21     obj:/usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so
     22 }
     23 {
     24     ati_driver_bug_4
     25     Memcheck:Addr4
     26     ...
     27     obj:/usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so
     28 }
     29 {
     30     ati_driver_bug_5
     31     Memcheck:Addr2
     32     ...
     33     obj:/usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so
     34 }
     35 {
     36     ati_driver_bug_6
     37     Memcheck:Addr1
     38     ...
     39     obj:/usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so
     40 }
     41 {
     42     ati_driver_bug_7
     43     Memcheck:Leak
     44     fun:malloc
     45     obj:/usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so
     46 }
     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 {
     54     ati_driver_bug_9
     55     Memcheck:Leak
     56     fun:calloc
     57     obj:/usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so
     58 }
     59 {
     60     ati_driver_bug_10
     61     Memcheck:Leak
     62     fun:malloc
     63     obj:/usr/lib/fglrx/fglrx-libGL.so.1.2
     64 }
     65 {
     66     nv_driver_bug_1
     67     Memcheck:Param
     68     write(buf)
     69     ...
     70     obj:/usr/lib/libnvidia-glcore.so*
     71 }
     72 {
     73     nv_driver_bug_2
     74     Memcheck:Cond
     75     obj:/usr/lib/libnvidia-glcore.so*
     76 }
     77 {
     78     nv_driver_bug_3
     79     Memcheck:Leak
     80     fun:calloc
     81     obj:/usr/lib*/libGL.so*
     82 }
     83 {
     84     font_config_bug_1
     85     Memcheck:Addr4
     86     fun:FcConfigFileExists
     87 }
     88 {
     89     font_config_bug_2
     90     Memcheck:Leak
     91     fun:malloc
     92     fun:FcFontSetCreate
     93 }
     94 {
     95     font_config_bug_3
     96     Memcheck:Leak
     97     fun:realloc
     98     fun:FcFontSetAdd
     99 }
    100 {
    101     font_config_bug_4
    102     Memcheck:Leak
    103     fun:malloc
    104     fun:FcPatternObjectInsertElt
    105     fun:FcPatternObjectAddWithBinding
    106 }
    107 {
    108     zlib_bug_1
    109     Memcheck:Cond
    110     fun:inflateReset2
    111     fun:inflateInit2_
    112     fun:png_create_read_struct_2
    113     fun:png_create_read_struct
    114 }
    115 
    116 # Why is it OK to suppress this?
    117 {
    118     SkRTConfRegistry_bug_1
    119     Memcheck:Leak
    120     fun:_Znwm
    121     fun:_ZN16SkRTConfRegistry12registerConfEP12SkRTConfBase
    122 }
    123 
    124 # The gpu_issue_* suppressions suppress issues that cannot be reproduced locally. These appear to be
    125 # due to valgrind not knowing about memory mapped by the ATI driver via glMapBuffer.
    126 {
    127     gpu_issue_1
    128     Memcheck:Addr2
    129     fun:_ZNK5GrGpu18getQuadIndexBufferEv
    130 }
    131 {
    132     gpu_issue_2
    133     Memcheck:Addr2
    134     fun:_ZN24GrAAHairLinePathRenderer6CreateEP9GrContext
    135 }
    136 {
    137     gpu_issue_3
    138     Memcheck:Addr2
    139     fun:_ZN16GrAARectRenderer21aaFillRectIndexBufferEP5GrGpu
    140 }
    141 {
    142     gpu_issue_4
    143     Memcheck:Addr8
    144     fun:_ZN24GrAAHairLinePathRenderer14createLineGeomERK6SkPathP12GrDrawTargetRK8SkTArrayI7SkPointLb1EEiPNS3_19AutoReleaseGeometryEP6SkRect
    145 }
    146 {
    147     gpu_issue_5
    148     Memcheck:Addr8
    149     fun:_ZN21GrDefaultPathRenderer10createGeomERK6SkPathRK11SkStrokeRecfP12GrDrawTargetP15GrPrimitiveTypePiSA_PNS6_19AutoReleaseGeometryE
    150 }
    151 {
    152     gpu_issue_6
    153     Memcheck:Addr8
    154     fun:_ZN22GrAAConvexPathRenderer10onDrawPathERK11SkStrokeRecP12GrDrawTargetb
    155 }
    156 {
    157     gpu_issue_7
    158     Memcheck:Addr4
    159     fun:_ZNK7SkPoint24distanceToLineBetweenSqdERKS_S1_PNS_4SideE
    160     fun:_ZN22GrAAConvexPathRenderer10onDrawPathERK11SkStrokeRecP12GrDrawTargetb
    161 }
    162 {
    163     gpu_issue_8
    164     Memcheck:Addr4
    165     fun:_ZN24GrAAHairLinePathRenderer14createLineGeomERK6SkPathP12GrDrawTargetRK8SkTArrayI7SkPointLb1EEiPNS3_19AutoReleaseGeometryEP6SkRect
    166 }
    167 {
    168     gpu_issue_9
    169     Memcheck:Addr2
    170     fun:_ZN21GrDefaultPathRenderer10createGeomERK6SkPathRK11SkStrokeRecfP12GrDrawTargetP15GrPrimitiveTypePiSA_PNS6_19AutoReleaseGeometryE
    171 }
    172 {
    173     gpu_issue_10
    174     Memcheck:Addr4
    175     fun:_ZN22GrAAConvexPathRenderer10onDrawPathERK11SkStrokeRecP12GrDrawTargetb
    176 }
    177 {
    178     gpu_issue_11
    179     Memcheck:Addr2
    180     fun:_ZN22GrAAConvexPathRenderer10onDrawPathERK11SkStrokeRecP12GrDrawTargetb
    181 }
    182 {
    183     gpu_issue_12
    184     Memcheck:Addr8
    185     fun:_ZN22GrAAConvexPathRenderer10onDrawPathERK6SkPathRK11SkStrokeRecP12GrDrawTargetb
    186 }
    187 {
    188     gpu_issue_13
    189     Memcheck:Addr4
    190     fun:_ZNK7SkPoint24distanceToLineBetweenSqdERKS_S1_PNS_4SideE
    191     fun:_ZN22GrAAConvexPathRenderer10onDrawPathERK6SkPathRK11SkStrokeRecP12GrDrawTargetb
    192 }
    193 {
    194     gpu_issue_14
    195     Memcheck:Addr4
    196     fun:_ZN22GrAAConvexPathRenderer10onDrawPathERK6SkPathRK11SkStrokeRecP12GrDrawTargetb
    197 }
    198 {
    199     gpu_issue_15
    200     Memcheck:Addr2
    201     fun:_ZN22GrAAConvexPathRenderer10onDrawPathERK6SkPathRK11SkStrokeRecP12GrDrawTargetb
    202 }
    203