# 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. { FIXME mac kevent libevent probably needs valgrind hooks Memcheck:Param kevent(changelist) fun:kevent fun:event_base_new } { # Mac test_shell_tests. See http://crbug.com/11134 # Doesn't happen on bots, but happens like crazy on the smo # test machine 'caliban'. Don't delete just because it # doesn't happen on the bots. bug_11134 Memcheck:Value4 fun:vCMMVectorConvert8BitRGBToRGB fun:_ZNK15CMMConvRGBToRGB7ConvertER8CMM8BitsP14CMMRuntimeInfomm } { # 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:_Znw* fun:_ZN12HALCADClient19AddPropertyListenerEmPK26AudioObjectPropertyAddressPFlmmS2_PvES3_ fun:_ZN16HALDefaultDevice22InstallServerListenersEv fun:_ZN16HALDefaultDevice10InitializeEv fun:_ZN9HALSystem16CheckOutInstanceEv fun:AudioObjectGetPropertyData fun:_ZN15AudioManagerMac15HasAudioDevicesEv } { # Filed with Apple as rdar://6915060; see http://crbug.com/11270 bug_11270 Memcheck:Leak fun:calloc fun:CMSSetLabCLUT } { # 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 } { # suddenly very common as of 6 aug 2009 bug_11333b Memcheck:Leak fun:malloc fun:stdSmartNewPtr fun:stdSmartNewHandle fun:IOCreateAndOpen fun:ScratchInit fun:CMNewAccessFromAnother } { # 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 } { # Invalid read bug_20508a Memcheck:Addr4 ... fun:ripc_DrawGlyphs fun:draw_glyphs fun:CGContextShowGlyphsWithAdvances } { # Invalid read bug_20508b Memcheck:Addr4 fun:_eATSFontGetGlyphIDsForGlyphNames fun:ATSFontGetGlyphIDsForGlyphNames fun:ats_font_get_glyphs_for_glyph_names fun:get_glyphs_for_glyph_names } { # Nasty invalid write. Reported to Apple as rdar://7240303. 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 } # 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. { # NSObject pointers in a static std::map; we do technically leak them, but # only on shutdown, so it's not worth fixing. static_theme_cache Memcheck:Leak fun:calloc fun:_internal_class_createInstanceFromZone fun:_internal_class_createInstance fun:+[NSObject allocWithZone:] fun:+[NSObject alloc] fun:+[GTMTheme(BrowserThemeProviderInitialization) themeWithBrowserThemeProvider:isOffTheRecord:] } # 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 } { bug_17297 Memcheck:Leak fun:malloc ... fun:+[NSColor keyboardFocusIndicatorColor] fun:+[NSColor colorWithCatalogName:colorName:] fun:+[NSCatalogColor newWithCoder:zone:] fun:-[NSColor initWithCoder:] } { bug_18218 Memcheck:Leak fun:malloc fun:__addHandler2 fun:__NSFinalizeThreadData fun:_pthread_tsd_cleanup fun:_pthread_exit fun:thread_start } { bug_20504 Memcheck:Leak fun:malloc_zone_calloc fun:_internal_class_createInstanceFromZone fun:+[NSObject allocWithZone:] fun:-[NSCustomObject nibInstantiate] fun:-[NSIBObjectData instantiateObject:] fun:-[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] fun:loadNib fun:+[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] fun:+[NSBundle(NSNibLoading) loadNibFile:externalNameTable:withZone:] fun:+[NSBundle(NSNibLoading) loadNibNamed:owner:] fun:_ZN8Platform29WillInitializeMainMessageLoopERK18MainFunctionParams } { bug_20582 Memcheck:Leak fun:_Znw* fun:_ZN4base19MessagePumpLibevent19WatchFileDescriptorEibNS0_4ModeEPNS0_21FileDescriptorWatcherEPNS0_7WatcherE fun:_ZN16MessageLoopForIO19WatchFileDescriptorEibNS_4ModeEPN4base19MessagePumpLibevent21FileDescriptorWatcherEPNS2_7WatcherE fun:_ZN3IPC7Channel11ChannelImpl23ProcessOutgoingMessagesEv } { bug_20814 Memcheck:Addr4 fun:_ZN10CLVContextC2EPKvm fun:_Z26getAllCarbonLazyValues2000v fun:CLVVisitValuesForKey fun:INIT_ResourceManager fun:CurResFile ... fun:_ZN5NPAPI12_GLOBAL__N_117ReadSTRPluginInfoERK8FilePathP10__CFBundleP13WebPluginInfo fun:_ZN5NPAPI9PluginLib17ReadWebPluginInfoERK8FilePathP13WebPluginInfo } { bug_20997 Memcheck:Param socketcall.sendmsg(msg.msg_iov[i]) fun:sendmsg$UNIX2003 fun:_ZN3IPC7Channel11ChannelImpl4SendEPNS_7MessageE } { bug_21280 Memcheck:Leak fun:malloc_zone_malloc ... fun:ATSFontLoadUnicodeCharacterSet ... fun:__NSFontInstanceInfoInitializeMetricsInfo ... fun:-[NSFont boundingRectForGlyph:] } { bug_21280_b Memcheck:Addr2 fun:CFRetain fun:CFDictionarySetValue fun:_ZNK9TBaseFont20SetAttributeInternalEPKvS1_ fun:_ZNK9TBaseFont16CopyCharacterSetEv fun:-[__NSFontTypefaceInfo _nominalCharacterCoverage] fun:-[__NSSharedFontInstanceInfo _characterCoverage] fun:__NSFontInstanceInfoInitializeMetricsInfo fun:-[__NSSharedFontInstanceInfo _numberOfGlyphs] fun:-[NSFont boundingRectForGlyph:] } { bug_21286 Memcheck:Leak fun:_Znw* fun:sendSimpleEventToSelf fun:aeInitializeFromHIToolbox fun:INIT_AppleEvents } { bug_21479 Memcheck:Leak fun:malloc_zone_malloc fun:_CFRuntimeCreateInstance fun:CFPasteboardCreate fun:CFPasteboardCreateUnique fun:+[NSPasteboard _pasteboardWithName:] fun:+[NSPasteboard pasteboardWithUniqueName] } { bug_21479 Memcheck:Leak fun:malloc_zone_malloc fun:_CFRuntimeCreateInstance fun:CFPasteboardCreate fun:+[NSPasteboard _pasteboardWithName:] fun:-[FindPasteboard findPboard] } { bug_22021 Memcheck:Leak fun:malloc fun:_ZN3WTF10fastMalloc* ... fun:_ZN7WebCore19V8EventListenerList3addEPNS_15V8EventListenerE } { bug_22544 Memcheck:Leak fun:malloc_zone_malloc fun:_CFRuntimeCreateInstance fun:__CFArrayInit fun:CFArrayCreateMutableCopy fun:_ZN3net22MacTrustedCertificates27CopyTrustedCertificateArrayEv fun:_ZNK3net15X509Certificate6VerifyERKSsiPNS_16CertVerifyResultE } { bug_23416 Memcheck:Leak fun:_Znw* fun:_ZN11webkit_glue16WebURLLoaderImplC2Ev ... fun:_ZN11webkit_glue20ImageResourceFetcherC1ERK4GURLPN6WebKit8WebFrameEiiP14CallbackRunnerI6Tuple2IPS0_RK8SkBitmapEE fun:_ZN10RenderView13DownloadImageEiRK4GURLi } { bug_25648 Memcheck:Leak fun:malloc fun:sqlite3MemMalloc ... fun:yy_reduce fun:sqlite3Parser ... fun:_ZN7history15HistoryDatabase4InitERK8FilePathS3_ } { bug_25656 Memcheck:Addr4 ... fun:bestBtreeIndex fun:sqlite3WhereBegin fun:sqlite3Select fun:yy_reduce fun:sqlite3Parser ... fun:_ZN7history14HistoryBackend* } { bug_25661 Memcheck:Addr4 fun:_ZNK10scoped_ptrI11ChildThreadE3getEv fun:_ZN12ChildProcess11main_threadEv fun:_ZN11ChildThread7currentEv fun:_ZN25WebMessagePortChannelImpl11postMessageERKN6WebKit9WebStringEPNS0_9WebVectorIPNS0_21WebMessagePortChannelEEE fun:_ZN7WebCore26PlatformMessagePortChannel19postMessageToRemoteEN3WTF10PassOwnPtrINS_18MessagePortChannel9EventDataEEE fun:_ZN7WebCore18MessagePortChannel19postMessageToRemoteEN3WTF10PassOwnPtrINS0_9EventDataEEE fun:_ZN7WebCore11MessagePort11postMessageEN3WTF10PassRefPtrINS_21SerializedScriptValueEEEPKNS1_6VectorINS1_6RefPtrIS0_EELm1EEERi fun:_ZN7WebCore8V8Custom32v8MessagePortPostMessageCallbackERKN2v89ArgumentsE fun:_ZN2v88internalL21Builtin_HandleApiCallENS0_9ArgumentsE }