# There are three kinds of suppressions in this file: # 1. Third party stuff we have no control over. # # 2. Intentional unit test errors, stuff that is somehow a false positive # in our own code, or stuff that is so trivial it's not worth fixing. # # 3. Suppressions for real chromium bugs that are not yet fixed. # These should all be in chromium's bug tracking system. # Periodically we should sweep this file and the bug tracker clean by # running overnight and removing outdated bugs/suppressions. #----------------------------------------------------------------------- # 1. Third party stuff we have no control over. { # See http://code.google.com/p/chromium/issues/detail?id=9565 # This should have been handled by platform-specific suppression. # Remove this when https://bugs.kde.org/show_bug.cgi?id=188572 is fixed setenv() leaks on Mac intentionally. Memcheck:Leak ... fun:__setenv 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) fun:kevent 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 system library bug? See http://crbug.com/11327 bug_11327 Memcheck:Cond fun:_ZN19AudioConverterChain5ResetEv fun:AudioConverterReset obj:/System/Library/Components/CoreAudio.component/Contents/MacOS/CoreAudio } { # Mac system library bug? See http://crbug.com/11327 bug_11327b Memcheck:Cond fun:AUNetSendEntry fun:AUNetSendEntry obj:/System/Library/Components/CoreAudio.component/Contents/MacOS/CoreAudio } { # CoreAudio leak. See http://crbug.com/9351 bug_9351 Memcheck:Leak fun:_Znwm fun:_ZN12HALCADClient19AddPropertyListenerEmPK26AudioObjectPropertyAddressPFlmmS2_PvES3_ fun:_ZN16HALDefaultDevice22InstallServerListenersEv fun:_ZN16HALDefaultDevice10InitializeEv fun:_ZN9HALSystem16CheckOutInstanceEv fun:AudioHardwareGetProperty fun:_ZN15AudioManagerMac15HasAudioDevicesEv } { # Filed with Apple as rdar://6915060; see http://crbug.com/11270 bug_11270 Memcheck:Leak fun:calloc fun:CMSSetLabCLUT } { # ATI driver bug? 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 leak in CMOpenOrNewAccess in unit_tests PlatformCanvas_SkLayer_Test, # ToolbarControllerTest_FocusLocation_Test. See http://crbug.com/11333. bug_11333 Memcheck:Leak fun:malloc fun:stdSmartNewPtr fun:stdSmartNewHandle fun:IOCreateAndOpen fun:ScratchInit fun:CMOpenOrNewAccess } { # Mac unit_tests. See http://crbug.com/11271 bug_12640a Memcheck:Cond fun:png_write_find_filter fun:webkit_png_write_row fun:_ZN10PNGEncoder6EncodeEPKhNS_11ColorFormatEiiibPSt6vectorIhSaIhEE ... fun:_ZN24ExtensionsServiceBackend24InstallOrUpdateExtensionERK8FilePathRKSsb } { # OpenGL.framework init; filed with Apple as rdar://6986771 opengl_init_rdar_6986771 Memcheck:Cond ... fun:gl_context_init_client_state } { # Reproducible just launching and quitting TextEdit; filed with Apple as rdar://7004347 tsm_leak_rdar_7004347 Memcheck:Leak fun:malloc_zone_malloc fun:_CFRuntimeCreateInstance fun:__CFDictionaryInit fun:utOpenActivateAllSelectedIMInDoc fun:MyActivateTSMDocument fun:ActivateTSMDocument } { bug_18540 Memcheck:Leak fun:malloc_zone_malloc fun:_CFRuntimeCreateInstance fun:__CFArrayInit fun:CFArrayCreate fun:-[__NSPlaceholderArray initWithObjects:count:] fun:-[NSArray initWithObjects:] fun:-[RenderWidgetHostViewCocoa validAttributesForMarkedText] fun:-[NSTSMInputContext initWithClient:] fun:+[NSInputContext inputContextWithClient:] fun:-[NSView inputContext] fun:+[NSInputContext currentInputContext] fun:+[NSInputContext updateInputContexts] fun:-[NSApplication updateWindows] fun:_handleWindowsNeedUpdateNote } { # Looks like an Apple bug; has no visual impact. unitialized_rect_allocated_on_stack_when_reparenting_window_content_views Memcheck:Cond fun:NSRectClip fun:-[NSThemeFrame drawOverlayRect:] ... fun:-[NSWindow makeKeyAndOrderFront:] fun:-[BrowserWindowController setFullscreen:] ... fun:main } { # Tiny one-time leak, widely seen by valgind users; everyone suppresses this. # See related discussion at http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39366 plugin_bundle_global_leak Memcheck:Leak fun:malloc fun:__cxa_get_globals fun:__cxa_allocate_exception fun:_ZN4dyld4loadEPKcRKNS_11LoadContextE fun:dlopen fun:dlopen fun:_CFBundleDlfcnCheckLoaded } { bug_18215 Memcheck:Cond fun:_DPSNextEvent fun:-[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] fun:-[NSApplication run] } { bug_18223 Memcheck:Cond fun:_ZNK8Security12UnixPlusPlus17StaticForkMonitorclEv fun:_ZN12ocspdGlobals10serverPortEv } # 2. Intentional unit test errors, stuff that is somehow a false positive # in our own code, or stuff that is so trivial it's not worth fixing. # 3. Suppressions for real chromium bugs that are not yet fixed. { # 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 fun:malloc_zone_malloc fun:_CFRuntimeCreateInstance fun:CGTypeCreateInstanceWithAllocator fun:CGTypeCreateInstance fun:CGContextCreateWithDelegate fun:CGContextCreate fun:createBitmapContext fun:CGBitmapContextCreate fun:_ZN4skia23BitmapPlatformDeviceMac6CreateEP9CGContextiib } { # Mac test_shell_tests; skia leak? See http://crbug.com/9563 bug_9563b Memcheck:Leak fun:malloc_zone_calloc fun:ripc_Initialize fun:__CGBitmapContextDelegateCreate fun:__CGBitmapContextDelegateCreate fun:createBitmapContext fun:CGBitmapContextCreate fun:_ZN4skia23BitmapPlatformDeviceMac6CreateEP9CGContextiib } { # Mac test_shell_tests. See http://crbug.com/9563 bug_9563d Memcheck:Leak fun:malloc_zone_calloc fun:ripc_Initialize fun:__CGWindowContextDelegateCreate fun:CGWindowContextCreate ... fun:_ZN13TestShellTest5SetUpEv } { # Mac test_shell_tests. See http://crbug.com/11134 bug_11134 Memcheck:Value4 fun:vCMMVectorConvert8BitRGBToRGB fun:_ZNK15CMMConvRGBToRGB7ConvertER8CMM8BitsP14CMMRuntimeInfomm } { bug_12525 Memcheck:Cond ... fun:gldGetTextureLevel fun:gldUpdateDispatch fun:glBegin_Exec fun:fe_gl_begin fun:fe_tree_render_apply_1 fun:apply_tile_callback fun:fe_gl_texture_tile_map fun:image_buffer_texture_tile_map fun:fe_texture_tile_map } { # Jump on uninitialized value in OpenGL.framework's GLEngine.bundle bug_12528 Memcheck:Cond ... fun:ripc_DrawShading fun:CGContextDrawShading } { bug_12640b Memcheck:Value4 ... fun:png_write_find_filter fun:webkit_png_write_row fun:_ZN10PNGEncoder6EncodeEPKhNS_11ColorFormatEiiibPSt6vectorIhSaIhEE ... fun:_ZN24ExtensionsServiceBackend24InstallOrUpdateExtensionERK8FilePathRKSsb } { bug_12640c Memcheck:Param write(buf) fun:write$UNIX2003 fun:_ZN24ExtensionsServiceBackend19OnExtensionUnpackedERK8FilePathS2_SsbRK15DictionaryValueRKSt6vectorI6Tuple2I8SkBitmapS0_ESaIS9_EE } { bug_12640d Memcheck:Cond fun:_ZN10PNGEncoder18EncodeBGRASkBitmapERK8SkBitmapbPSt6vectorIhSaIhEE fun:_ZN24ExtensionsServiceBackend19OnExtensionUnpackedERK8FilePathS2_SsbRK15DictionaryValueRKSt6vectorI6Tuple2I8SkBitmapS0_ESaIS9_EE fun:_ZN24ExtensionsServiceBackend14UnpackerClient30OnUnpackExtensionSucceededImplERK15DictionaryValueRKSt6vectorI6Tuple2I8SkBitmap8FilePathESaIS8_EE } { bug_15819a Memcheck:Cond fun:_ZNK10CMMMtxOnly10ConvertMinE10CMM3x3Type10CMM3x1TypeR12CMMMinBuffermm ... fun:CGContextDrawImage fun:_ZN3gfx17CGImageToSkBitmapEP7CGImage } { bug_15819b Memcheck:Value4 fun:_ZNK10CMMConvLut7ConvertER10CMMMinBitsP14CMMRuntimeInfomm ... fun:CGContextDrawImage fun:_ZN3gfx17CGImageToSkBitmapEP7CGImage } { bug_16209 Memcheck:Leak fun:_Znwm fun:_ZN18RenderWidgetHelper17AllocTransportDIBEmPN4base14FileDescriptorE fun:_ZN21ResourceMessageFilter19OnAllocTransportDIBEmPN4base14FileDescriptorE fun:_Z16DispatchToMethodI21ResourceMessageFilterMS0_FvmPN4base14FileDescriptorEEmS2_EvPT_T0_RK6Tuple1IT1_EPS9_IT2_E fun:_ZN3IPC16MessageWithReplyI6Tuple1ImES1_IRN4base14FileDescriptorEEE8DispatchI21ResourceMessageFilterMS9_FvmPS4_EEEbPKNS_7MessageEPT_T0_ fun:_ZN21ResourceMessageFilter17OnMessageReceivedERKN3IPC7MessageE fun:_ZN3IPC12ChannelProxy7Context10TryFiltersERKNS_7MessageE fun:_ZN3IPC11SyncChannel11SyncContext17OnMessageReceivedERKNS_7MessageE } { bug_16661 Memcheck:Leak fun:_Znwm fun:_ZN4base19MessagePumpLibevent19WatchFileDescriptorEibNS0_4ModeEPNS0_21FileDescriptorWatcherEPNS0_7WatcherE fun:_ZN16MessageLoopForIO19WatchFileDescriptorEibNS_4ModeEPN4base19MessagePumpLibevent21FileDescriptorWatcherEPNS2_7WatcherE fun:_ZN3IPC7Channel11ChannelImpl23ProcessOutgoingMessagesEv fun:_ZN3IPC7Channel11ChannelImpl4SendEPNS_7MessageE fun:_ZN3IPC7Channel4SendEPNS_7MessageE fun:_ZN3IPC12ChannelProxy7Context13OnSendMessageEPNS_7MessageE fun:_ZN3IPC8SendTask3RunEv } { bug_17297 Memcheck:Leak fun:malloc ... fun:+[NSColor keyboardFocusIndicatorColor] fun:+[NSColor colorWithCatalogName:colorName:] fun:+[NSCatalogColor newWithCoder:zone:] fun:-[NSColor initWithCoder:] } { # 1 in 5 runs on mac? bug_17888 Memcheck:Leak fun:_Znwm fun:_ZN3IPC7ChannelC2ERKSsNS0_4ModeEPNS0_8ListenerE fun:_ZN3IPC7ChannelC1ERKSsNS0_4ModeEPNS0_8ListenerE fun:_ZN3IPC12ChannelProxy7Context13CreateChannelERKSsRKNS_7Channel4ModeE fun:_ZN3IPC12ChannelProxy4InitERKSsNS_7Channel4ModeEP11MessageLoopb fun:_ZN3IPC12ChannelProxyC2ERKSsNS_7Channel4ModeEP11MessageLoopPNS0_7ContextEb fun:_ZN3IPC11SyncChannelC2ERKSsNS_7Channel4ModeEPNS3_8ListenerEPNS_12ChannelProxy13MessageFilterEP11MessageLoopbPN4base13WaitableEventE fun:_ZN3IPC11SyncChannelC1ERKSsNS_7Channel4ModeEPNS3_8ListenerEPNS_12ChannelProxy13MessageFilterEP11MessageLoopbPN4base13WaitableEventE fun:_ZN11ChildThread4InitEv } { # Nasty invalid write. Should we even suppress this? bug_18189 Memcheck:Addr8 fun:sseCGSFill8by1 fun:argb32_mark_constshape fun:argb32_mark fun:ripl_BltShape fun:ripc_Render fun:ripc_DrawRects fun:CGContextFillRects fun:CGContextFillRect fun:NSRectFill fun:-[NSView _drawRect:clip:] fun:-[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] fun:-[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] fun:-[NSNextStepFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] fun:-[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] fun:-[NSView displayIfNeeded] fun:-[NSWindow displayIfNeeded] fun:-[NSWindow _reallyDoOrderWindow:relativeTo:findKey:forCounter:force:isModal:] fun:-[NSWindow orderWindow:relativeTo:] fun:-[NSWindow addChildWindow:ordered:] fun:_ZN15StatusBubbleMac6CreateEv } { bug_18218 Memcheck:Leak fun:malloc fun:__addHandler2 fun:__NSFinalizeThreadData fun:_pthread_tsd_cleanup fun:_pthread_exit fun:thread_start } { bug_18219 Memcheck:Leak fun:malloc_zone_malloc fun:_CFRuntimeCreateInstance fun:CGTypeCreateInstanceWithAllocator fun:CGTypeCreateInstance fun:CGImageCreate fun:_NSCreateImageRef2 fun:-[CIImage(NSAppKitAdditions) initWithBitmapImageRep:] fun:-[ThrobberFilmstripDelegate initWithImage:] fun:+[ThrobberView filmstripThrobberViewWithFrame:image:] fun:-[TabStripController tabChangedWithContents:atIndex:loadingOnly:] fun:_ZN27TabStripModelObserverBridge12TabChangedAtEP11TabContentsib } { bug_18252 Memcheck:Leak fun:calloc fun:_internal_class_createInstanceFromZone fun:_internal_class_createInstance fun:+[NSObject allocWithZone:] fun:+[NSColor colorWithCalibratedRed:green:blue:alpha:] fun:+[GTMTheme(BrowserThemeProviderInitialization) themeWithBrowserThemeProvider:isOffTheRecord:] fun:-[BrowserWindowController(Private) setTheme] fun:-[BrowserWindowController initWithBrowser:takeOwnership:] fun:-[BrowserWindowController initWithBrowser:] fun:_ZN13BrowserWindow19CreateBrowserWindowEP7Browser fun:_ZN7Browser19CreateBrowserWindowEv fun:_ZN7Browser6CreateEP7Profile fun:_ZN7Browser15OpenEmptyWindowEP7Profile fun:_ZN7Browser18NewIncognitoWindowEv } { bug_18253 Memcheck:Cond fun:resample_band fun:img_interpolate_read fun:img_colormatch_read fun:img_data_lock fun:CGSImageDataLock fun:ripc_AcquireImage fun:ripc_DrawImage fun:CGContextDrawImage fun:_ZN7WebCore11BitmapImage4drawEPNS_15GraphicsContextERKNS_9FloatRectES5_NS_17CompositeOperatorE fun:_ZN7WebCore5Image9drawTiledEPNS_15GraphicsContextERKNS_9FloatRectERKNS_10FloatPointERKNS_9FloatSizeENS_17CompositeOperatorE fun:_ZN7WebCore15GraphicsContext14drawTiledImageEPNS_5ImageERKNS_7IntRectERKNS_8IntPointERKNS_7IntSizeENS_17CompositeOperatorE fun:_ZN7WebCore20RenderBoxModelObject22paintFillLayerExtendedERKNS_12RenderObject9PaintInfoERKNS_5ColorEPKNS_9FillLayerEiiiiPNS_13InlineFlowBoxENS_17CompositeOperatorE fun:_ZN7WebCore9RenderBox14paintFillLayerERKNS_12RenderObject9PaintInfoERKNS_5ColorEPKNS_9FillLayerEiiiiNS_17CompositeOperatorE fun:_ZN7WebCore9RenderBox15paintFillLayersERKNS_12RenderObject9PaintInfoERKNS_5ColorEPKNS_9FillLayerEiiiiNS_17CompositeOperatorE fun:_ZN7WebCore9RenderBox19paintBoxDecorationsERNS_12RenderObject9PaintInfoEii fun:_ZN7WebCore11RenderBlock11paintObjectERNS_12RenderObject9PaintInfoEii fun:_ZN7WebCore11RenderBlock5paintERNS_12RenderObject9PaintInfoEii }