2014-04-30 21:10:13 +00:00
|
|
|
# Pass this file to Valgrind with "--suppressions=tools/valgrind.supp"
|
2013-10-08 15:37:19 +00:00
|
|
|
|
2017-02-08 18:04:30 +00:00
|
|
|
# Intentional thread / memory leak in DM and nanbench.
|
2015-03-16 13:59:18 +00:00
|
|
|
{
|
2017-02-08 18:04:30 +00:00
|
|
|
nanobench_and_dm_keepalive_thread_leak
|
2015-03-16 13:59:18 +00:00
|
|
|
Memcheck:Leak
|
2017-02-21 13:12:09 +00:00
|
|
|
match-leak-kinds: possible,definite
|
2015-03-16 13:59:18 +00:00
|
|
|
...
|
2017-10-31 12:27:40 +00:00
|
|
|
fun:start_keepalive
|
2015-03-16 22:06:00 +00:00
|
|
|
...
|
2017-02-08 18:04:30 +00:00
|
|
|
fun:main
|
2016-09-16 12:47:06 +00:00
|
|
|
...
|
2016-01-04 19:35:43 +00:00
|
|
|
}
|
|
|
|
|
2014-04-30 21:10:13 +00:00
|
|
|
# Third party lib, driver issues.
|
2013-10-08 15:37:19 +00:00
|
|
|
{
|
2014-04-30 21:10:13 +00:00
|
|
|
ati_driver_bug_1
|
2013-12-06 17:03:39 +00:00
|
|
|
Memcheck:Param
|
|
|
|
ioctl(generic)
|
|
|
|
fun:ioctl
|
|
|
|
...
|
|
|
|
obj:/usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so
|
|
|
|
}
|
|
|
|
{
|
2014-04-30 21:10:13 +00:00
|
|
|
ati_driver_bug_2
|
2013-12-06 17:03:39 +00:00
|
|
|
Memcheck:Cond
|
|
|
|
obj:/usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so
|
|
|
|
}
|
|
|
|
{
|
2014-04-30 21:10:13 +00:00
|
|
|
ati_driver_bug_3
|
2013-12-06 17:03:39 +00:00
|
|
|
Memcheck:Addr8
|
|
|
|
...
|
|
|
|
obj:/usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so
|
|
|
|
}
|
2013-12-09 13:55:33 +00:00
|
|
|
{
|
2014-04-30 21:10:13 +00:00
|
|
|
ati_driver_bug_4
|
2013-12-09 13:55:33 +00:00
|
|
|
Memcheck:Addr4
|
|
|
|
...
|
2013-12-06 17:03:39 +00:00
|
|
|
obj:/usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so
|
|
|
|
}
|
|
|
|
{
|
2014-04-30 21:10:13 +00:00
|
|
|
ati_driver_bug_5
|
2013-12-06 17:03:39 +00:00
|
|
|
Memcheck:Addr2
|
|
|
|
...
|
|
|
|
obj:/usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so
|
|
|
|
}
|
|
|
|
{
|
2014-04-30 21:10:13 +00:00
|
|
|
ati_driver_bug_6
|
2013-12-06 17:03:39 +00:00
|
|
|
Memcheck:Addr1
|
|
|
|
...
|
|
|
|
obj:/usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so
|
|
|
|
}
|
|
|
|
{
|
2014-04-30 21:10:13 +00:00
|
|
|
ati_driver_bug_7
|
2013-12-09 13:55:33 +00:00
|
|
|
Memcheck:Leak
|
|
|
|
fun:malloc
|
2013-12-06 17:03:39 +00:00
|
|
|
obj:/usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so
|
|
|
|
}
|
2013-12-18 17:28:55 +00:00
|
|
|
{
|
|
|
|
driver_bug_8
|
|
|
|
Memcheck:Overlap
|
|
|
|
fun:strcpy
|
|
|
|
obj:/usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so
|
|
|
|
}
|
|
|
|
{
|
2014-04-30 21:10:13 +00:00
|
|
|
ati_driver_bug_9
|
2013-12-18 17:28:55 +00:00
|
|
|
Memcheck:Leak
|
|
|
|
fun:calloc
|
|
|
|
obj:/usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so
|
|
|
|
}
|
2014-01-30 18:51:29 +00:00
|
|
|
{
|
2014-04-30 21:10:13 +00:00
|
|
|
ati_driver_bug_10
|
2014-02-11 15:23:21 +00:00
|
|
|
Memcheck:Leak
|
|
|
|
fun:malloc
|
2014-01-30 18:51:29 +00:00
|
|
|
obj:/usr/lib/fglrx/fglrx-libGL.so.1.2
|
|
|
|
}
|
2014-04-30 21:10:13 +00:00
|
|
|
{
|
|
|
|
nv_driver_bug_1
|
|
|
|
Memcheck:Param
|
|
|
|
write(buf)
|
2014-05-19 21:06:01 +00:00
|
|
|
...
|
2014-11-12 18:51:19 +00:00
|
|
|
obj:*/libnvidia-glcore.so*
|
2014-04-30 21:10:13 +00:00
|
|
|
}
|
|
|
|
{
|
|
|
|
nv_driver_bug_2
|
|
|
|
Memcheck:Cond
|
2014-06-25 15:25:30 +00:00
|
|
|
...
|
2014-11-12 18:51:19 +00:00
|
|
|
obj:*/libnvidia-glcore.so*
|
2014-04-30 21:10:13 +00:00
|
|
|
}
|
|
|
|
{
|
|
|
|
nv_driver_bug_3
|
|
|
|
Memcheck:Leak
|
|
|
|
fun:calloc
|
2014-05-19 21:06:01 +00:00
|
|
|
obj:/usr/lib*/libGL.so*
|
2014-04-30 21:10:13 +00:00
|
|
|
}
|
2017-06-30 12:13:03 +00:00
|
|
|
{
|
|
|
|
nv_driver_bug_4
|
|
|
|
Memcheck:Param
|
|
|
|
sendmsg(msg.msg_iov[0])
|
|
|
|
fun:sendmsg
|
|
|
|
obj:*/libGLX_nvidia.so*
|
|
|
|
}
|
2018-07-17 13:51:35 +00:00
|
|
|
{
|
|
|
|
nv_driver_bug_5
|
|
|
|
Memcheck:Leak
|
|
|
|
fun:malloc
|
|
|
|
obj:*/libGLX_nvidia.so*
|
|
|
|
}
|
2014-04-30 21:10:13 +00:00
|
|
|
{
|
2014-08-26 20:48:00 +00:00
|
|
|
#Fixed by FontConfig 2.9.0
|
|
|
|
#http://cgit.freedesktop.org/fontconfig/commit/?id=1c475d5c8cb265ac939d6b9e097666e300162511
|
2014-04-30 21:10:13 +00:00
|
|
|
font_config_bug_1
|
|
|
|
Memcheck:Addr4
|
|
|
|
fun:FcConfigFileExists
|
|
|
|
}
|
|
|
|
{
|
2014-08-26 20:48:00 +00:00
|
|
|
#https://bugs.freedesktop.org/show_bug.cgi?id=8215
|
|
|
|
#https://bugs.freedesktop.org/show_bug.cgi?id=8428
|
|
|
|
#FcPattern uses 'intptr_t elts_offset' instead of 'FcPatternEltPtr elts',
|
|
|
|
#which confuses valgrind.
|
2014-04-30 21:10:13 +00:00
|
|
|
font_config_bug_2
|
|
|
|
Memcheck:Leak
|
2014-08-26 20:48:00 +00:00
|
|
|
fun:*alloc
|
2014-08-29 17:38:48 +00:00
|
|
|
...
|
2014-08-26 20:48:00 +00:00
|
|
|
fun:Fc*Add*
|
2014-04-30 21:10:13 +00:00
|
|
|
}
|
2014-08-29 17:38:48 +00:00
|
|
|
{
|
|
|
|
#Same root cause as font_config_bug_2.
|
|
|
|
#The 'leak' here is a copy of rule values, as opposed to new values.
|
|
|
|
font_config_bug_3
|
|
|
|
Memcheck:Leak
|
|
|
|
fun:*alloc
|
2014-11-05 14:44:11 +00:00
|
|
|
...
|
2014-08-29 17:38:48 +00:00
|
|
|
fun:FcConfigValues
|
|
|
|
fun:FcConfigSubstituteWithPat
|
|
|
|
fun:FcFontRenderPrepare
|
|
|
|
}
|
2015-02-05 17:11:46 +00:00
|
|
|
{
|
|
|
|
#Same root cause as font_config_bug_2.
|
|
|
|
#The 'leak' is copies of font or pattern values into returned pattern values.
|
|
|
|
font_config_bug_4
|
|
|
|
Memcheck:Leak
|
|
|
|
fun:*alloc
|
|
|
|
...
|
|
|
|
fun:FcValue*
|
|
|
|
fun:FcFontRenderPrepare
|
|
|
|
}
|
2017-06-30 12:13:03 +00:00
|
|
|
{
|
|
|
|
font_config_bug_5
|
|
|
|
Memcheck:Leak
|
|
|
|
fun:malloc
|
|
|
|
obj:*/libfontconfig.so.1.8.0
|
|
|
|
fun:FcConfigSubstituteWithPat
|
|
|
|
}
|
|
|
|
{
|
|
|
|
font_config_bug_6
|
|
|
|
Memcheck:Leak
|
|
|
|
fun:*alloc
|
|
|
|
...
|
|
|
|
obj:*/libfontconfig.so.1.8.0
|
|
|
|
fun:FcFont*
|
|
|
|
}
|
2014-04-30 21:10:13 +00:00
|
|
|
{
|
|
|
|
zlib_bug_1
|
|
|
|
Memcheck:Cond
|
|
|
|
fun:inflateReset2
|
|
|
|
fun:inflateInit2_
|
|
|
|
fun:png_create_read_struct_2
|
|
|
|
fun:png_create_read_struct
|
|
|
|
}
|
2014-08-14 20:08:45 +00:00
|
|
|
{
|
|
|
|
zlib_bug_2
|
|
|
|
Memcheck:Cond
|
|
|
|
fun:inflateReset2
|
|
|
|
fun:inflateInit2_
|
|
|
|
fun:_ZN12_GLOBAL__N_17doFlateEbP8SkStreamP9SkWStream
|
|
|
|
fun:_ZN7SkFlate7InflateEP8SkStreamP9SkWStream
|
|
|
|
}
|
2014-04-30 21:10:13 +00:00
|
|
|
|
|
|
|
# Why is it OK to suppress this?
|
|
|
|
{
|
|
|
|
SkRTConfRegistry_bug_1
|
|
|
|
Memcheck:Leak
|
|
|
|
fun:_Znwm
|
|
|
|
fun:_ZN16SkRTConfRegistry12registerConfEP12SkRTConfBase
|
|
|
|
}
|
|
|
|
|
|
|
|
# The gpu_issue_* suppressions suppress issues that cannot be reproduced locally. These appear to be
|
|
|
|
# due to valgrind not knowing about memory mapped by the ATI driver via glMapBuffer.
|
2013-12-18 17:28:55 +00:00
|
|
|
{
|
|
|
|
gpu_issue_1
|
|
|
|
Memcheck:Addr2
|
|
|
|
fun:_ZNK5GrGpu18getQuadIndexBufferEv
|
|
|
|
}
|
|
|
|
{
|
|
|
|
gpu_issue_2
|
|
|
|
Memcheck:Addr2
|
|
|
|
fun:_ZN24GrAAHairLinePathRenderer6CreateEP9GrContext
|
|
|
|
}
|
|
|
|
{
|
|
|
|
gpu_issue_3
|
|
|
|
Memcheck:Addr2
|
|
|
|
fun:_ZN16GrAARectRenderer21aaFillRectIndexBufferEP5GrGpu
|
|
|
|
}
|
|
|
|
{
|
|
|
|
gpu_issue_4
|
|
|
|
Memcheck:Addr8
|
|
|
|
fun:_ZN24GrAAHairLinePathRenderer14createLineGeomERK6SkPathP12GrDrawTargetRK8SkTArrayI7SkPointLb1EEiPNS3_19AutoReleaseGeometryEP6SkRect
|
|
|
|
}
|
|
|
|
{
|
|
|
|
gpu_issue_5
|
|
|
|
Memcheck:Addr8
|
|
|
|
fun:_ZN21GrDefaultPathRenderer10createGeomERK6SkPathRK11SkStrokeRecfP12GrDrawTargetP15GrPrimitiveTypePiSA_PNS6_19AutoReleaseGeometryE
|
|
|
|
}
|
|
|
|
{
|
|
|
|
gpu_issue_6
|
|
|
|
Memcheck:Addr8
|
2014-02-11 15:23:21 +00:00
|
|
|
fun:_ZN22GrAAConvexPathRenderer10onDrawPathERK11SkStrokeRecP12GrDrawTargetb
|
2013-12-18 17:28:55 +00:00
|
|
|
}
|
|
|
|
{
|
|
|
|
gpu_issue_7
|
|
|
|
Memcheck:Addr4
|
|
|
|
fun:_ZNK7SkPoint24distanceToLineBetweenSqdERKS_S1_PNS_4SideE
|
2014-02-11 15:23:21 +00:00
|
|
|
fun:_ZN22GrAAConvexPathRenderer10onDrawPathERK11SkStrokeRecP12GrDrawTargetb
|
2013-12-19 13:41:48 +00:00
|
|
|
}
|
2014-01-30 18:51:29 +00:00
|
|
|
{
|
|
|
|
gpu_issue_8
|
|
|
|
Memcheck:Addr4
|
|
|
|
fun:_ZN24GrAAHairLinePathRenderer14createLineGeomERK6SkPathP12GrDrawTargetRK8SkTArrayI7SkPointLb1EEiPNS3_19AutoReleaseGeometryEP6SkRect
|
|
|
|
}
|
|
|
|
{
|
|
|
|
gpu_issue_9
|
|
|
|
Memcheck:Addr2
|
|
|
|
fun:_ZN21GrDefaultPathRenderer10createGeomERK6SkPathRK11SkStrokeRecfP12GrDrawTargetP15GrPrimitiveTypePiSA_PNS6_19AutoReleaseGeometryE
|
|
|
|
}
|
|
|
|
{
|
|
|
|
gpu_issue_10
|
|
|
|
Memcheck:Addr4
|
2014-02-11 15:23:21 +00:00
|
|
|
fun:_ZN22GrAAConvexPathRenderer10onDrawPathERK11SkStrokeRecP12GrDrawTargetb
|
2014-01-30 18:51:29 +00:00
|
|
|
}
|
|
|
|
{
|
|
|
|
gpu_issue_11
|
|
|
|
Memcheck:Addr2
|
2014-02-11 15:23:21 +00:00
|
|
|
fun:_ZN22GrAAConvexPathRenderer10onDrawPathERK11SkStrokeRecP12GrDrawTargetb
|
2014-01-30 18:51:29 +00:00
|
|
|
}
|
2014-02-14 14:08:05 +00:00
|
|
|
{
|
|
|
|
gpu_issue_12
|
|
|
|
Memcheck:Addr8
|
|
|
|
fun:_ZN22GrAAConvexPathRenderer10onDrawPathERK6SkPathRK11SkStrokeRecP12GrDrawTargetb
|
|
|
|
}
|
|
|
|
{
|
|
|
|
gpu_issue_13
|
|
|
|
Memcheck:Addr4
|
|
|
|
fun:_ZNK7SkPoint24distanceToLineBetweenSqdERKS_S1_PNS_4SideE
|
|
|
|
fun:_ZN22GrAAConvexPathRenderer10onDrawPathERK6SkPathRK11SkStrokeRecP12GrDrawTargetb
|
|
|
|
}
|
|
|
|
{
|
|
|
|
gpu_issue_14
|
|
|
|
Memcheck:Addr4
|
|
|
|
fun:_ZN22GrAAConvexPathRenderer10onDrawPathERK6SkPathRK11SkStrokeRecP12GrDrawTargetb
|
|
|
|
}
|
|
|
|
{
|
|
|
|
gpu_issue_15
|
|
|
|
Memcheck:Addr2
|
|
|
|
fun:_ZN22GrAAConvexPathRenderer10onDrawPathERK6SkPathRK11SkStrokeRecP12GrDrawTargetb
|
|
|
|
}
|
2015-11-11 14:41:01 +00:00
|
|
|
{
|
|
|
|
libjpeg_turbo_bug4550_1
|
|
|
|
Memcheck:Cond
|
|
|
|
fun:_Z26S32A_Opaque_BlitRow32_SSE4PjPKjij
|
|
|
|
fun:_ZN14Sprite_D32_S328blitRectEiiii
|
|
|
|
}
|
|
|
|
{
|
|
|
|
libjpeg_turbo_bug4550_2
|
|
|
|
Memcheck:Cond
|
|
|
|
fun:_ZL15S32A_D565_BlendPtPKjijii
|
|
|
|
fun:_ZN26Sprite_D16_S32_BlitRowProc8blitRectEiiii
|
|
|
|
}
|
|
|
|
{
|
|
|
|
libjpeg_turbo_bug4550_3
|
|
|
|
Memcheck:Cond
|
|
|
|
fun:_ZN12_GLOBAL__N_120ConvolveHorizontallyILb0EEEvPKhRK21SkConvolutionFilter1DPh
|
|
|
|
fun:_Z14BGRAConvolve2DPKhibRK21SkConvolutionFilter1DS3_iPhRK18SkConvolutionProcsb
|
|
|
|
}
|
2019-11-05 15:10:08 +00:00
|
|
|
#Something odd is happening in SkRasterPipeline when called by GrConvertPixels and GrClearImage.
|
|
|
|
#It seems bogus after investigation. MSAN/ASAN have no complaints. It's complaining about
|
|
|
|
#conditional jump or use of var that is "uninitialized" but it definitely is.
|
2019-06-20 16:25:02 +00:00
|
|
|
{
|
|
|
|
grconvertpixels_rasterpipeline
|
|
|
|
Memcheck:Cond
|
|
|
|
...
|
|
|
|
fun:_ZNK16SkRasterPipeline3runEmmmm
|
2019-09-30 16:15:30 +00:00
|
|
|
fun:_Z15GrConvertPixelsRK11GrImageInfoPvmS1_PKvmb
|
2019-06-20 16:25:02 +00:00
|
|
|
...
|
|
|
|
}
|
|
|
|
{
|
|
|
|
grconvertpixels_rasterpipeline
|
|
|
|
Memcheck:Value8
|
|
|
|
...
|
|
|
|
fun:_ZNK16SkRasterPipeline3runEmmmm
|
2019-09-30 16:15:30 +00:00
|
|
|
fun:_Z15GrConvertPixelsRK11GrImageInfoPvmS1_PKvmb
|
2019-06-20 16:25:02 +00:00
|
|
|
...
|
|
|
|
}
|
2019-11-05 15:10:08 +00:00
|
|
|
{
|
|
|
|
grclearimage_rasterpipeline
|
|
|
|
Memcheck:Cond
|
|
|
|
...
|
|
|
|
fun:_ZNK16SkRasterPipeline3runEmmmm
|
|
|
|
fun:_Z12GrClearImageRK11GrImageInfoPvm8SkRGBA4fIL11SkAlphaType3EE
|
|
|
|
...
|
|
|
|
}
|
|
|
|
{
|
|
|
|
grclearimage_rasterpipeline
|
|
|
|
Memcheck:Value8
|
|
|
|
...
|
|
|
|
fun:_ZNK16SkRasterPipeline3runEmmmm
|
|
|
|
fun:_Z12GrClearImageRK11GrImageInfoPvm8SkRGBA4fIL11SkAlphaType3EE
|
|
|
|
...
|
|
|
|
}
|
2020-06-24 14:19:52 +00:00
|
|
|
{
|
2020-06-24 21:27:08 +00:00
|
|
|
make_get_error_with_random_oom1
|
2020-06-24 14:19:52 +00:00
|
|
|
Memcheck:Leak
|
|
|
|
match-leak-kinds: definite
|
|
|
|
...
|
|
|
|
fun:_Z30make_get_error_with_random_oom12GrGLFunctionIFjvEE
|
|
|
|
...
|
|
|
|
}
|
2020-06-24 21:27:08 +00:00
|
|
|
{
|
|
|
|
make_get_error_with_random_oom2
|
|
|
|
Memcheck:Leak
|
|
|
|
match-leak-kinds: definite
|
|
|
|
...
|
|
|
|
fun:make_get_error_with_random_oom
|
|
|
|
...
|
|
|
|
}
|