summaryrefslogtreecommitdiffstats
path: root/tools/valgrind/suppressions_mac.txt
blob: 5eb92619c688db69577e2ae28e52e596d56eb20d (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
# 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
}
{
   # 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
}

# 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_15762
   Memcheck:Cond
   fun:_ZN7testing8internal11CmpHelperEQIjjEENS_15AssertionResultEPKcS4_RKT_RKT0_
   fun:_ZN7testing8internal8EqHelperILb0EE7CompareIjjEENS_15AssertionResultEPKcS6_RKT_RKT0_
   fun:_ZN39ImageOperations_CreateMaskedBitmap_Test8TestBodyEv
   fun:_ZN7testing4Test3RunEv
   fun:_ZN7testing8internal12TestInfoImpl3RunEv
   fun:_ZN7testing8internal12TestInfoImpl7RunTestEPNS_8TestInfoE
   fun:_ZNK7testing8internal4ListIPNS_8TestInfoEE7ForEachIPFvS3_EEEvT_
   fun:_ZN7testing8TestCase3RunEv
   fun:_ZN7testing8TestCase11RunTestCaseEPS0_
   fun:_ZNK7testing8internal4ListIPNS_8TestCaseEE7ForEachIPFvS3_EEEvT_
   fun:_ZN7testing8internal12UnitTestImpl11RunAllTestsEv
   fun:_ZN7testing8UnitTest3RunEv
   fun:main
}
{
   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_16210
   Memcheck:Leak
   fun:_Znwm
   fun:_ZN3IPC11SyncChannelC1ERKSsNS_7Channel4ModeEPNS3_8ListenerEPNS_12ChannelProxy13MessageFilterEP11MessageLoopbPN4base13WaitableEventE
   fun:_ZN11ChildThread4InitEv
   fun:_ZN12RenderThread4InitEv
   fun:_ZN4base6Thread10ThreadMainEv
   fun:_ZL10ThreadFuncPv
   fun:_pthread_start
   fun:thread_start
}