[Session restore] Rename group name Enabled to Restore.
[chromium-blink-merge.git] / tools / valgrind / memcheck / suppressions_mac.txt
blobc9ed9bfef3dabd123923ba49494aeb3e7dfef310
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    ...
97 # Intentional leaks in AppKit, for an OS-level cache. Only appear on the first
98 # run of each reboot.  See also issues 105525, 257276, 340847.
100    bug_257276_b
101    Memcheck:Leak
102    fun:malloc_zone_malloc
103    ...
104    fun:setCursorFromBundle
105    fun:CoreCursorSet
106    fun:-[NSCursor set]
109    bug_379331
110    Memcheck:Uninitialized
111    fun:x_zone_size
112    fun:find_registered_purgeable_zone
113    fun:malloc_make_purgeable
114    ...
115    fun:setCursorFromBundle
116    fun:CoreCursorSet
117    fun:-[NSCursor set]
118    fun:_ZN12_GLOBAL__N_116ForceSystemLeaksEv
121    FIXME initImagePng leaks from an unknown module
122    Memcheck:Leak
123    fun:malloc_zone_malloc
124    fun:_CFRuntimeCreateInstance
125    fun:CFNumberCreate
126    fun:get_colorspace
127    fun:initImagePng
128    obj:*
129    obj:/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
130    obj:/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
133 # 2. Intentional unit test errors, stuff that is somehow a false positive
134 # in our own code, or stuff that is so trivial it's not worth fixing.
136    # Mac Sandbox test cases are registered in a global map.  This code is only
137    # used in the unit test binary.
138    Mac_Sandbox_Intentional_Leak1
139    Memcheck:Leak
140    fun:_Znw*
141    fun:_ZN7content8internal19RegisterSandboxTestINS_*
142    ...
143    fun:_ZN16ImageLoaderMachO18doModInitFunctionsERKN11ImageLoader11LinkContextE
144    fun:_ZN11ImageLoader23recursiveInitializationERKNS_11LinkContextEj
145    fun:_ZN11ImageLoader15runInitializersERKNS_11LinkContextE
146    fun:_ZN4dyld24initializeMainExecutableEv
149    # __cxa_get_globals leaks a structure when called for the first time
150    __cxa_get_globals one-time leak
151    Memcheck:Leak
152    ...
153    fun:__cxa_get_globals
156 # 3. Suppressions for real chromium bugs that are not yet fixed.
158    bug_87629
159    Memcheck:Leak
160    ...
161    fun:realloc
162    fun:new_sem_from_pool
165    bug_93932_a
166    Memcheck:Overlap
167    fun:memcpy
168    fun:vp8_decode_update_thread_context
169    fun:update_context_from_thread
170    ...
171    fun:ff_thread_decode_frame
172    fun:avcodec_decode_video2
173    fun:_ZN5media23FFmpegVideoDecodeEngine6DecodeERK13scoped_refptrINS_6BufferEEPS1_INS_10VideoFrameEE
174    fun:_ZN5media18FFmpegVideoDecoder14DoDecodeBufferERK13scoped_refptrINS_6BufferEE
177    bug_93932_b
178    Memcheck:Overlap
179    fun:memcpy
180    fun:vp8_decode_update_thread_context
181    fun:update_context_from_thread
182    fun:frame_thread_free
183    fun:avcodec_close
184    ...
185    fun:_ZN5media23FFmpegVideoDecodeEngineD0Ev
186    fun:_ZN10scoped_ptrIN5media23FFmpegVideoDecodeEngineEE5resetEPS1_
187    fun:_ZN5media27FFmpegVideoDecodeEngineTestD2Ev
188    fun:_ZN5media51FFmpegVideoDecodeEngineTest_DecodeFrame_Normal_TestD0Ev
191    bug_159190
192    Memcheck:Uninitialized
193    ...
194    fun:_ZNK19TConcreteFontScaler15CopyGlyphBitmapEtjP6CGRectPm
195    ...
196    fun:_ZN9Offscreen5getCGERK19SkScalerContext_MacRK7SkGlyphtPmb
197    fun:_ZN19SkScalerContext_Mac13generateImageERK7SkGlyph
200    bug_173779
201    Memcheck:Uninitialized
202    ...
203    fun:img_data_lock
204    fun:CGSImageDataLock
205    fun:ripc_AcquireImage
206    fun:ripc_DrawImage*
207    fun:CGContextDrawImage*
208    ...
209    fun:_ZN11CUIRenderer4DrawE6CGRectP9CGContextPK14__CFDictionaryPS5_
212    bug_173779_b
213    Memcheck:Uninitialized
214    ...
215    fun:img_data_lock
216    fun:CGSImageDataLock
217    fun:ripc_AcquireImage
218    fun:ripc_DrawImage*
219    fun:CGContextDrawImage*
220    ...
221    fun:-[NSImage hitTestRect:withImageDestinationRect:context:hints:flipped:]
224   bug_340726
225   Memcheck:Leak
226   fun:_Znw*
227   fun:_ZN4base17LoadNativeLibrary*
228   fun:_ZN3gfx26InitializeStaticGLBindings*
229   fun:_ZN3gfx9GLSurface30InitializeOneOffImplementation*
230   fun:_ZN3gfx9GLSurface24InitializeOneOffForTestsEv
233    bug_380568
234    Memcheck:Leak
235    fun:calloc
236    fun:_internal_class_createInstanceFromZone
237    ...
238    fun:NSAllocateObject
239    ...
240    fun:-[VideoCaptureDeviceQTKit initWithFrameReceiver:]
241    fun:_ZN5media21VideoCaptureDeviceMac4InitENS_18VideoCaptureDevice4Name14CaptureApiTypeE
242    fun:_ZN5media28VideoCaptureDeviceFactoryMac6CreateERKNS_18VideoCaptureDevice4NameE
243    fun:_ZN5media45VideoCaptureDeviceTest_OpenInvalidDevice_Test8TestBodyEv
246    bug_385604_b
247    Memcheck:Leak
248    fun:calloc
249    fun:_ZN18hb_object_header_t6createEj
250    fun:_ZL16hb_object_createI9hb_face_tEPT_v
251    fun:hb_face_create_for_tables
252    fun:_ZN3gfx12_GLOBAL__N_118CreateHarfBuzzFaceEP10SkTypeface
253    fun:_ZN3gfx12_GLOBAL__N_118CreateHarfBuzzFontEP10SkTypefacei
254    fun:_ZN3gfx18RenderTextHarfBuzz8ShapeRunEPNS_8internal15TextRunHarfBuzzE
255    fun:_ZN3gfx18RenderTextHarfBuzz12EnsureLayoutEv
256    fun:_ZN3gfx41RenderTextTest_HarfBuzz_RunDirection_Test8TestBodyEv
259    bug_431906
260    Memcheck:Leak
261    fun:_Znw*
262    fun:_ZN7content21PluginLoaderPosixTestC2Ev
263    fun:_ZN7content45PluginLoaderPosixTest_PluginLaunchFailed_TestC2Ev
264    fun:_ZN7content45PluginLoaderPosixTest_PluginLaunchFailed_TestC1Ev
265    fun:_ZN7testing8internal15TestFactoryImplIN7content45PluginLoaderPosixTest_PluginLaunchFailed_TestEE10CreateTestEv
268    bug_437807
269    Memcheck:Leak
270    ...
271    fun:_ZN4base3mac30PathForFrameworkBundleResourceEPK10__CFString
272    fun:_ZN3gin13IsolateHolder14LoadV8SnapshotEv
275    bug_464850
276    Memcheck:Uninitialized
277    fun:_ZN2v88internal9ExitFrame23GetStateForFramePointerEPhPNS0_10StackFrame5StateE
278    fun:_ZN2v88internal18StackFrameIterator5ResetEPNS0_14ThreadLocalTopE
279    fun:_ZN2v88internal18StackFrameIteratorC2EPNS0_7IsolateE
280    fun:_ZN2v88internal18StackFrameIteratorC1EPNS0_7IsolateE
281    fun:_ZN2v88internal7Isolate11FindHandlerEv