summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authordank@chromium.org <dank@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-01 17:58:07 +0000
committerdank@chromium.org <dank@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-01 17:58:07 +0000
commit22bc963aafdfe91bab0c9e906ada7dcb02837e52 (patch)
tree8de93742dfb38cc2df9772c6f01b1bd1e80187c1 /tools
parent697776a7f02d17b60d50e775a3c685269b8424a9 (diff)
downloadchromium_src-22bc963aafdfe91bab0c9e906ada7dcb02837e52.zip
chromium_src-22bc963aafdfe91bab0c9e906ada7dcb02837e52.tar.gz
chromium_src-22bc963aafdfe91bab0c9e906ada7dcb02837e52.tar.bz2
Suppress valgrind warnings for
http://crbug.com/9561 http://crbug.com/11270 http://crbug.com/11271 http://crbug.com/11286 and a couple of things that seem clearly to be system issues rather than chromium issues. Just trying to get the mac unit_test valgrind builder green. Review URL: http://codereview.chromium.org/99259 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15071 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools')
-rw-r--r--tools/valgrind/suppressions_mac.txt89
1 files changed, 89 insertions, 0 deletions
diff --git a/tools/valgrind/suppressions_mac.txt b/tools/valgrind/suppressions_mac.txt
index c047bec..560278f 100644
--- a/tools/valgrind/suppressions_mac.txt
+++ b/tools/valgrind/suppressions_mac.txt
@@ -9,6 +9,21 @@
fun:setenv$UNIX2003
}
{
+ # syslog needs a system suppression on the mac.
+ # See https://bugs.kde.org/show_bug.cgi?id=191192
+ valgrind_bug_191192
+ Memcheck:Param
+ socketcall.sendto(msg)
+ fun:sendto$NOCANCEL$UNIX2003
+ fun:vsyslog
+}
+{
+ # mac ati drivers seem to have problems
+ bug_11280
+ Memcheck:Cond
+ obj:/System/Library/Extensions/ATIRadeonX2000GLDriver.bundle/Contents/MacOS/ATIRadeonX2000GLDriver
+}
+{
FIXME mac kevent libevent probably needs valgrind hooks
Memcheck:Param
kevent(changelist)
@@ -16,6 +31,18 @@
fun:event_base_new
}
{
+ # Mac system library leak? Only suppress in tests for now.
+ mac_init_appleevents_leak
+ Memcheck:Leak
+ fun:_Znwm
+ fun:sendSimpleEventToSelf
+ fun:aeInitializeFromHIToolbox
+ fun:INIT_AppleEvents
+ fun:_FirstEventTime
+ ...
+ fun:_ZN7testing4Test3RunEv
+}
+{
# Mac media_unittests. See http://crbug.com/9351
bug_9351
Memcheck:Leak
@@ -28,6 +55,18 @@
fun:_ZN15AudioManagerMac15HasAudioDevicesEv
}
{
+ # Mac test_shell_tests, see http://crbug.com/9561
+ bug_9561
+ Memcheck:Leak
+ fun:malloc_zone_malloc
+ fun:ripc_GetClipState
+ fun:ripc_GetRenderingState
+ fun:ripc_DrawRects
+ fun:CGContextFillRects
+ fun:CGContextFillRect
+ fun:_ZN7WebCore15GraphicsContext8fillRectERKNS_9FloatRectERKNS_5ColorE
+}
+{
# Mac test_shell_tests; skia leak? See http://crbug.com/9563
bug_9563
Memcheck:Leak
@@ -83,3 +122,53 @@
fun:vCMMVectorConvert8BitRGBToRGB
fun:_ZNK15CMMConvRGBToRGB7ConvertER8CMM8BitsP14CMMRuntimeInfomm
}
+{
+ # Mac unit_tests. See http://crbug.com/11270
+ bug_11270
+ Memcheck:Leak
+ fun:calloc
+ fun:CMSSetLabCLUT
+ fun:create
+ fun:CMSTransformCreate
+ fun:createBase
+ fun:initialize
+ fun:createColorTransform
+ fun:CGColorTransformCreateMutable
+}
+{
+ # Mac unit_tests. See http://crbug.com/11271
+ bug_11271
+ Memcheck:Leak
+ fun:calloc
+ fun:gldCreateBuffer
+ fun:gldPageoffBuffer
+ fun:gldGetString
+ fun:gldGetString
+ fun:gldGetString
+ fun:gldInitDispatch
+ fun:gldGetQueryInfo
+ fun:gldUpdateDispatch
+ fun:gldInitDispatch
+ fun:gliSetCurrentPluginDispatchTable
+ fun:gliAttachDrawableWithOptions
+ fun:cglSetContextScreen
+ fun:cglSetAnyDrawable
+ fun:CGLSetSurface
+ fun:view_draw
+ fun:view_display_link
+ fun:link_callback
+ fun:_ZN13CVDisplayLink9performIOEP11CVTimeStamp
+ fun:_ZN13CVDisplayLink11runIOThreadEv
+}
+{
+ # Mac unit_tests BookmarkBarControllerTest.ShowHide, http://crbug.com/11286
+ bug_11286
+ Memcheck:Leak
+ fun:calloc
+ fun:_internal_class_createInstanceFromZone
+ fun:_internal_class_createInstance
+ fun:+[NSObject allocWithZone:]
+ fun:+[NSObject alloc]
+ fun:-[BookmarkBarController initWithProfile:contentArea:]
+ fun:_ZN12_GLOBAL__N_125BookmarkBarControllerTestC2Ev
+}