summaryrefslogtreecommitdiffstats
path: root/tools/valgrind/memcheck/suppressions_mac.txt
blob: 36bd01726b96c9f697a14168500b060ea9b084f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
# 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
}
{
   bug_26326
   Memcheck:Addr4
   fun:_ZN7WebCore14ChromiumBridge24suddenTerminationChangedEb
   fun:_ZN7WebCore23enableSuddenTerminationEv
   fun:_ZN7WebCore15StorageAreaSync11performSyncEv
}
{
   bug_26964
   Memcheck:Addr4
   fun:findElementGivenHash
   fun:sqlite3HashFind
   fun:sqlite3FindTable
   fun:sqlite3LocateTable
   fun:selectExpander
   fun:sqlite3WalkSelect
   fun:sqlite3SelectExpand
   fun:sqlite3SelectPrep
   fun:sqlite3Select
   fun:yy_reduce
   fun:sqlite3Parser
   fun:sqlite3RunParser
   fun:sqlite3Prepare
   fun:sqlite3LockAndPrepare
   fun:sqlite3_prepare_v2
   fun:_ZN3sql10Connection18GetUniqueStatementEPKc
   fun:_ZN3sql10Connection18GetCachedStatementERKNS_11StatementIDEPKc
   fun:_ZN7history13VisitDatabase12GetStartDateEPN4base4TimeE
   fun:_ZN7history14HistoryBackend8InitImplEv
   fun:_ZN7history14HistoryBackend4InitEb
   fun:_Z16DispatchToMethodIN7history14HistoryBackendEMS1_FvbEbEvPT_T0_RK6Tuple1IT1_E
   fun:_ZN14RunnableMethodIN7history14HistoryBackendEMS1_FvbE6Tuple1IbEE3RunEv
}