Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / tools / valgrind / memcheck / suppressions_mac.txt
blob5ffffdb4f82cdaa133bd0738dc02b36d9f1a472e
1 # There are three kinds of suppressions in this file:
2 # 1. Third party stuff we have no control over.
4 # 2. Intentional unit test errors, stuff that is somehow a false positive
5 # in our own code, or stuff that is so trivial it's not worth fixing.
7 # 3. Suppressions for real chromium bugs that are not yet fixed.
8 # These should all be in chromium's bug tracking system.
9 # Periodically we should sweep this file and the bug tracker clean by
10 # running overnight and removing outdated bugs/suppressions.
11 #-----------------------------------------------------------------------
13 # 1. Third party stuff we have no control over.
15    FIXME mac kevent libevent probably needs valgrind hooks
16    Memcheck:Param
17    kevent(changelist)
18    fun:kevent
19    fun:event_base_new
22    # CoreAudio leak.  See http://crbug.com/9351
23    bug_9351
24    Memcheck:Leak
25    ...
26    fun:_ZN12HALCADClient19AddPropertyListenerE*26AudioObjectPropertyAddressP*
27    ...
28    fun:_ZN9HALSystem16CheckOutInstanceEv
29    ...
32    bug_18215
33    Memcheck:Uninitialized
34    fun:_DPSNextEvent
35    fun:-[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
36    fun:-[NSApplication run]
39    # Also filed with Apple as rdar://7255382
40    bug_20459b
41    Memcheck:Leak
42    fun:malloc_zone_malloc
43    fun:_CFRuntimeCreateInstance
44    fun:__CFArrayInit
45    fun:CFArrayCreateMutableCopy
46    ...
47    fun:_ZN8Security12KeychainCore5Trust8evaluate*
50    # See also http://openradar.appspot.com/radar?id=1169404
51    bug_79533b
52    Memcheck:Uninitialized
53    ...
54    fun:_Z*19cssm_DataAbortQuery17cssm_dl_db_handlel
55    fun:CSSM_DL_DataAbortQuery
56    fun:_ZN11SSDLSession14DataAbortQueryEll
57    fun:_Z*19cssm_DataAbortQuery17cssm_dl_db_handlel
58    fun:CSSM_DL_DataAbortQuery
59    fun:tpDbFindIssuerCrl
60    fun:tpVerifyCertGroupWithCrls
63    # QTKit leak. See http://crbug.com/100772 and rdar://10319535.
64    bug_100772
65    Memcheck:Leak
66    fun:calloc
67    fun:QTMLCreateMutex
68    fun:WarholCreateGlobals
69    fun:INIT_QuickTimeLibInternal
70    fun:pthread_once
71    fun:INIT_QuickTimeLib
72    fun:EnterMovies_priv
73    fun:EnterMovies
74    fun:TundraUnitInputFromTSFileEntry
75    fun:TundraUnitVDIGInputEntry
76    fun:TundraUnitCreateFromDescription
77    fun:+[QTCaptureVDIGDevice _refreshDevices]
78    fun:+[QTCaptureVDIGDevice devicesWithIOType:]
79    fun:+[QTCaptureDevice devicesWithIOType:]
80    fun:+[QTCaptureDevice inputDevices]
81    fun:+[QTCaptureDevice inputDevicesWithMediaType:]
82    ...
85    # See http://crbug.com/385604
86    bug_385604_a
87    Memcheck:Leak
88    fun:_Znw*
89    fun:_ZNK11AEEventImpl9duplicateEv
90    fun:AESendMessage
91    fun:_ZL35HIToolboxLSNotificationCallbackFunc18LSNotificationCodedPKvPK7__LSASNS1_11LSSessionIDS1_
92    fun:_ZL48LSScheduleNotificationReceiveMessageCallbackFuncP12__CFMachPortPvlS1_
93    fun:__CFMachPortPerform
94    fun:__CFRunLoopRun
95    ...
98    # See also http://openradar.appspot.com/20698633
99    bug_481286
100    Memcheck:Leak
101    ...
102    fun:_ZN8Security13PluginSession6mallocEm
103    fun:_Z20CL_extractCSSMKeyNSSRK33cssm_x509_subject_public_key_infoRN8Security9AllocatorEPK11DecodedCert
105 # Intentional leaks in AppKit, for an OS-level cache. Only appear on the first
106 # run of each reboot.  See also issues 105525, 257276, 340847.
108    bug_257276_b
109    Memcheck:Leak
110    fun:malloc_zone_malloc
111    ...
112    fun:setCursorFromBundle
113    fun:CoreCursorSet
114    fun:-[NSCursor set]
117    bug_379331
118    Memcheck:Uninitialized
119    fun:x_zone_size
120    fun:find_registered_purgeable_zone
121    fun:malloc_make_purgeable
122    ...
123    fun:setCursorFromBundle
124    fun:CoreCursorSet
125    fun:-[NSCursor set]
126    fun:_ZN12_GLOBAL__N_116ForceSystemLeaksEv
129    FIXME initImagePng leaks from an unknown module
130    Memcheck:Leak
131    fun:malloc_zone_malloc
132    fun:_CFRuntimeCreateInstance
133    fun:CFNumberCreate
134    fun:get_colorspace
135    fun:initImagePng
136    obj:*
137    obj:/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
138    obj:/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
141 # 2. Intentional unit test errors, stuff that is somehow a false positive
142 # in our own code, or stuff that is so trivial it's not worth fixing.
144    # Mac Sandbox test cases are registered in a global map.  This code is only
145    # used in the unit test binary.
146    Mac_Sandbox_Intentional_Leak1
147    Memcheck:Leak
148    fun:_Znw*
149    fun:_ZN7content8internal19RegisterSandboxTestINS_*
150    ...
151    fun:_ZN16ImageLoaderMachO18doModInitFunctionsERKN11ImageLoader11LinkContextE
152    fun:_ZN11ImageLoader23recursiveInitializationERKNS_11LinkContextEj
153    fun:_ZN11ImageLoader15runInitializersERKNS_11LinkContextE
154    fun:_ZN4dyld24initializeMainExecutableEv
157    # __cxa_get_globals leaks a structure when called for the first time
158    __cxa_get_globals one-time leak
159    Memcheck:Leak
160    ...
161    fun:__cxa_get_globals
164 # 3. Suppressions for real chromium bugs that are not yet fixed.
166    bug_87629
167    Memcheck:Leak
168    ...
169    fun:realloc
170    fun:new_sem_from_pool
173    bug_93932_a
174    Memcheck:Overlap
175    fun:memcpy
176    fun:vp8_decode_update_thread_context
177    fun:update_context_from_thread
178    ...
179    fun:ff_thread_decode_frame
180    fun:avcodec_decode_video2
181    fun:_ZN5media23FFmpegVideoDecodeEngine6DecodeERK13scoped_refptrINS_6BufferEEPS1_INS_10VideoFrameEE
182    fun:_ZN5media18FFmpegVideoDecoder14DoDecodeBufferERK13scoped_refptrINS_6BufferEE
185    bug_93932_b
186    Memcheck:Overlap
187    fun:memcpy
188    fun:vp8_decode_update_thread_context
189    fun:update_context_from_thread
190    fun:frame_thread_free
191    fun:avcodec_close
192    ...
193    fun:_ZN5media23FFmpegVideoDecodeEngineD0Ev
194    fun:_ZN10scoped_ptrIN5media23FFmpegVideoDecodeEngineEE5resetEPS1_
195    fun:_ZN5media27FFmpegVideoDecodeEngineTestD2Ev
196    fun:_ZN5media51FFmpegVideoDecodeEngineTest_DecodeFrame_Normal_TestD0Ev
199    bug_159190
200    Memcheck:Uninitialized
201    ...
202    fun:_ZNK19TConcreteFontScaler15CopyGlyphBitmapEtjP6CGRectPm
203    ...
204    fun:_ZN9Offscreen5getCGERK19SkScalerContext_MacRK7SkGlyphtPmb
205    fun:_ZN19SkScalerContext_Mac13generateImageERK7SkGlyph
208    bug_173779
209    Memcheck:Uninitialized
210    ...
211    fun:img_data_lock
212    fun:CGSImageDataLock
213    fun:ripc_AcquireImage
214    fun:ripc_DrawImage*
215    fun:CGContextDrawImage*
216    ...
217    fun:_ZN11CUIRenderer4DrawE6CGRectP9CGContextPK14__CFDictionaryPS5_
220    bug_173779_b
221    Memcheck:Uninitialized
222    ...
223    fun:img_data_lock
224    fun:CGSImageDataLock
225    fun:ripc_AcquireImage
226    fun:ripc_DrawImage*
227    fun:CGContextDrawImage*
228    ...
229    fun:-[NSImage hitTestRect:withImageDestinationRect:context:hints:flipped:]
232   bug_340726
233   Memcheck:Leak
234   fun:_Znw*
235   fun:_ZN4base17LoadNativeLibrary*
236   fun:_ZN3gfx26InitializeStaticGLBindings*
237   fun:_ZN3gfx9GLSurface30InitializeOneOffImplementation*
238   fun:_ZN3gfx9GLSurface24InitializeOneOffForTestsEv
241    bug_380568
242    Memcheck:Leak
243    fun:calloc
244    fun:_internal_class_createInstanceFromZone
245    ...
246    fun:NSAllocateObject
247    ...
248    fun:-[VideoCaptureDeviceQTKit initWithFrameReceiver:]
249    fun:_ZN5media21VideoCaptureDeviceMac4InitENS_18VideoCaptureDevice4Name14CaptureApiTypeE
250    fun:_ZN5media28VideoCaptureDeviceFactoryMac6CreateERKNS_18VideoCaptureDevice4NameE
251    fun:_ZN5media45VideoCaptureDeviceTest_OpenInvalidDevice_Test8TestBodyEv
254    bug_385604_b
255    Memcheck:Leak
256    fun:calloc
257    fun:_ZN18hb_object_header_t6createEj
258    fun:_ZL16hb_object_createI9hb_face_tEPT_v
259    fun:hb_face_create_for_tables
260    fun:_ZN3gfx12_GLOBAL__N_118CreateHarfBuzzFaceEP10SkTypeface
261    fun:_ZN3gfx12_GLOBAL__N_118CreateHarfBuzzFontEP10SkTypefacei
262    fun:_ZN3gfx18RenderTextHarfBuzz8ShapeRunEPNS_8internal15TextRunHarfBuzzE
263    fun:_ZN3gfx18RenderTextHarfBuzz12EnsureLayoutEv
264    fun:_ZN3gfx41RenderTextTest_HarfBuzz_RunDirection_Test8TestBodyEv
267    bug_431906
268    Memcheck:Leak
269    fun:_Znw*
270    fun:_ZN7content21PluginLoaderPosixTestC2Ev
271    fun:_ZN7content45PluginLoaderPosixTest_PluginLaunchFailed_TestC2Ev
272    fun:_ZN7content45PluginLoaderPosixTest_PluginLaunchFailed_TestC1Ev
273    fun:_ZN7testing8internal15TestFactoryImplIN7content45PluginLoaderPosixTest_PluginLaunchFailed_TestEE10CreateTestEv
276    bug_437807
277    Memcheck:Leak
278    ...
279    fun:_ZN4base3mac30PathForFrameworkBundleResourceEPK10__CFString
280    fun:_ZN3gin13IsolateHolder14LoadV8SnapshotEv
283    bug_464850
284    Memcheck:Uninitialized
285    fun:_ZN2v88internal9ExitFrame23GetStateForFramePointerEPhPNS0_10StackFrame5StateE
286    fun:_ZN2v88internal18StackFrameIterator5ResetEPNS0_14ThreadLocalTopE
287    fun:_ZN2v88internal18StackFrameIteratorC2EPNS0_7IsolateE
288    fun:_ZN2v88internal18StackFrameIteratorC1EPNS0_7IsolateE
291    bug_515244_a
292    Memcheck:Unaddressable
293    fun:_ZN8remoting8protocol12_GLOBAL__N_110FakeSocket17AppendInputPacketERKSt6vectorIcSaIcEE
296    bug_515244_b
297    Memcheck:Unaddressable
298    ...
299    fun:_ZNSt5dequeISt6vectorIcSaIcEESaIS2_EE9push_backERKS2_
300    fun:_ZN8remoting8protocol12_GLOBAL__N_110FakeSocket17AppendInputPacketERKSt6vectorIcSaIcEE
303    bug_515244_c
304    Memcheck:Unaddressable
305    fun:_ZNK13scoped_refptrIN4base8internal13BindStateBaseEE3getEv
306    fun:_ZNK4base8internal12CallbackBase7is_nullEv
307    fun:_ZN8remoting8protocol12_GLOBAL__N_110FakeSocket17AppendInputPacketERKSt6vectorIcSaIcEE