1
2# Suppressions for Darwin 12.x / Mac OS X 10.8 Mountain Lion
3
4# ZLib stuff.  How come this wasn't necessary in 10.6 ?
5{
6   OSX108:zlib-C
7   Memcheck:Cond
8   obj:/usr/lib/libz.*dylib
9   obj:/usr/lib/libz.*dylib
10}
11{
12   OSX108:zlib-8
13   Memcheck:Value8
14   obj:/usr/lib/libz.*dylib
15   obj:/usr/lib/libz.*dylib
16}
17
18############################
19## Possibly all to do with borked/incomplete 10.8 syscall wrappers
20## Consider all of these as a temporary kludge.  It would be much
21## better to fix the wrappers correctly (iow, actually implement them).
22
23{
24   OSX108:CoreFoundation-1
25   Memcheck:Value8
26   obj:*CoreFoundation.framework/Versions/A/CoreFoundation
27   obj:*CoreFoundation.framework/Versions/A/CoreFoundation
28   obj:*CoreFoundation.framework/Versions/A/CoreFoundation
29}
30
31{
32   OSX108:CoreFoundation-2
33   Memcheck:Cond
34   obj:*CoreFoundation.framework/Versions/A/CoreFoundation
35   obj:*CoreFoundation.framework/Versions/A/CoreFoundation
36   obj:*CoreFoundation.framework/Versions/A/CoreFoundation
37}
38
39{
40   OSX108:CoreGraphics-1
41   Memcheck:Cond
42   obj:*CoreGraphics.framework/Versions/A/CoreGraphics
43   obj:*CoreGraphics.framework/Versions/A/CoreGraphics
44   obj:*CoreGraphics.framework/Versions/A/CoreGraphics
45}
46
47# Use of uninitialised value of size 8
48#    at 0x39CC164: aes_encrypt_xmm_no_save
49{
50   OSX108:aes_encrypt_xmm_no_save
51   Memcheck:Value8
52   fun:aes_encrypt_xmm_no_save
53}
54
55{
56   OSX108:dyld-1
57   Memcheck:Value8
58   obj:/usr/lib/dyld
59   obj:/usr/lib/dyld
60   obj:/usr/lib/dyld
61}
62
63{
64   OSX108:dyld-2
65   Memcheck:Cond
66   obj:/usr/lib/dyld
67   obj:/usr/lib/dyld
68   obj:/usr/lib/dyld
69}
70
71{
72   OSX108:libxpc-1
73   Memcheck:Cond
74   obj:/usr/lib/system/libxpc.dylib
75   obj:/usr/lib/system/libxpc.dylib
76   obj:/usr/lib/system/libxpc.dylib
77   obj:/usr/lib/system/libxpc.dylib
78}
79
80{
81   OSX108:libxpc-2
82   Memcheck:Value8
83   obj:/usr/lib/system/libxpc.dylib
84   obj:/usr/lib/system/libxpc.dylib
85   obj:/usr/lib/system/libxpc.dylib
86   obj:/usr/lib/system/libxpc.dylib
87}
88
89{
90   OSX108:libxpc-3
91   Memcheck:Cond
92   fun:malloc
93   obj:/usr/lib/system/libxpc.dylib
94   obj:/usr/lib/system/libxpc.dylib
95   obj:/usr/lib/system/libxpc.dylib
96}
97
98{
99   OSX108:libdispatch-1
100   Memcheck:Value8
101   obj:/usr/lib/system/libdispatch.dylib
102   obj:/usr/lib/system/libdispatch.dylib
103   obj:/usr/lib/system/libdispatch.dylib
104   obj:/usr/lib/system/libdispatch.dylib
105}
106
107{
108   OSX108:ColorSync-1
109   Memcheck:Cond
110   obj:*Frameworks/ColorSync.framework/Versions/A/ColorSync
111   obj:*Frameworks/ColorSync.framework/Versions/A/ColorSync
112   obj:*Frameworks/ColorSync.framework/Versions/A/ColorSync
113   obj:*Frameworks/ColorSync.framework/Versions/A/ColorSync
114}
115
116{
117   OSX108:ColorSync-2
118   Memcheck:Value8
119   obj:*Frameworks/ColorSync.framework/Versions/A/ColorSync
120   obj:*Frameworks/ColorSync.framework/Versions/A/ColorSync
121   obj:*Frameworks/ColorSync.framework/Versions/A/ColorSync
122   obj:*Frameworks/ColorSync.framework/Versions/A/ColorSync
123}
124
125{
126   OSX108:mach_msg/mach_msg_trap
127   Memcheck:Param
128   mach_msg("rcv_name")
129   fun:mach_msg_trap
130}
131
132{
133   OSX108:my_io_execute_passive_block/libdispatch
134   Memcheck:Cond
135   fun:my_io_execute_passive_block
136   obj:/usr/lib/system/libdispatch.dylib
137   obj:/usr/lib/system/libdispatch.dylib
138}
139
140{
141   OSX108:CFRunLoopAddSource/AppKit
142   Memcheck:Cond
143   fun:CFRunLoopAddSource
144   obj:*Frameworks/AppKit.framework/Versions/C/AppKit
145   obj:*Frameworks/AppKit.framework/Versions/C/AppKit
146}
147
148{
149   OSX108:CoreFoundation/HIToolbox/HIToolbox
150   Memcheck:Cond
151   obj:*CoreFoundation.framework/Versions/A/CoreFoundation
152   obj:*HIToolbox.framework/Versions/A/HIToolbox
153   obj:*HIToolbox.framework/Versions/A/HIToolbox
154}
155
156{
157   OSX108:libsystem_kernel/CoreGraphics-1
158   Memcheck:Cond
159   obj:/usr/lib/system/libsystem_kernel.dylib
160   obj:*CoreGraphics.framework/Versions/A/CoreGraphics
161   obj:*CoreGraphics.framework/Versions/A/CoreGraphics
162   obj:*CoreGraphics.framework/Versions/A/CoreGraphics
163}
164
165{
166   OSX108:libsystem_kernel/CoreGraphics-2
167   Memcheck:Param
168   msg->desc.port.name
169   obj:/usr/lib/system/libsystem_kernel.dylib
170   obj:*CoreGraphics.framework/Versions/A/CoreGraphics
171   obj:*CoreGraphics.framework/Versions/A/CoreGraphics
172   obj:*CoreGraphics.framework/Versions/A/CoreGraphics
173}
174
175{
176   OSX108:libsystem_kernel/CoreFoundation/CoreFoundation/LaunchServices
177   Memcheck:Cond
178   obj:*CoreFoundation.framework/Versions/A/CoreFoundation
179   obj:*CoreFoundation.framework/Versions/A/CoreFoundation
180   obj:*LaunchServices.framework/Versions/A/LaunchServices
181}
182
183{
184   OSX108:CoreFoundation/AE/AE
185   Memcheck:Cond
186   obj:*CoreFoundation.framework/Versions/A/CoreFoundation
187   obj:*AE.framework/Versions/A/AE
188   obj:*AE.framework/Versions/A/AE
189}
190
191{
192   OSX108:CoreGraphics/CoreGraphics/CoreGraphics
193   Memcheck:Param
194   msg->desc.port.name
195   obj:*CoreGraphics.framework/Versions/A/CoreGraphics
196   obj:*CoreGraphics.framework/Versions/A/CoreGraphics
197   obj:*CoreGraphics.framework/Versions/A/CoreGraphics
198}
199
200{
201   OSX108:CoreFoundation/Foundation/AppKit
202   Memcheck:Cond
203   obj:*CoreFoundation.framework/Versions/A/CoreFoundation
204   obj:*Foundation.framework/Versions/C/Foundation
205   obj:*Frameworks/AppKit.framework/Versions/C/AppKit
206}
207
208{
209   OSX108:CoreFoundation/CoreFoundation/HIToolbox
210   Memcheck:Cond
211   obj:*CoreFoundation.framework/Versions/A/CoreFoundation
212   obj:*CoreFoundation.framework/Versions/A/CoreFoundation
213   obj:*HIToolbox.framework/Versions/A/HIToolbox
214}
215
216{
217   OSX108:HIServices/HIToolbox/HIToolbox
218   Memcheck:Cond
219   obj:*HIServices.framework/Versions/A/HIServices
220   obj:*HIToolbox.framework/Versions/A/HIToolbox
221   obj:*HIToolbox.framework/Versions/A/HIToolbox
222}
223
224{
225   OSX108:AppKit-1
226   Memcheck:Cond
227   obj:*AppKit.framework/Versions/C/AppKit
228   obj:*AppKit.framework/Versions/C/AppKit
229   obj:*AppKit.framework/Versions/C/AppKit
230}
231
232{
233   OSX108:32bit:_libxpc_initializer
234   Memcheck:Cond
235   fun:_libxpc_initializer
236   fun:libSystem_initializer
237   fun:*ImageLoaderMachO*doModInitFunctions*
238}
239
240# See https://bugs.kde.org/show_bug.cgi?id=196528
241{
242   macos-__pthread_rwlock_init-see-our-bug-196528
243   Memcheck:Cond
244   fun:pthread_rwlock_init
245}
246
247#########################################################
248## Leaks (apparently) in even hello-world style programs
249
250{
251   OSX108:leak-1
252   Memcheck:Leak
253   match-leak-kinds: definite
254   fun:malloc_zone_malloc
255   fun:_ZN4objc8DenseMapIP11objc_objectmL*
256   fun:arr_init
257}
258
259{
260   OSX108:leak-2
261   Memcheck:Leak
262   fun:malloc_zone_malloc
263   fun:*NX*Map*
264   fun:*NX*Map*
265}
266
267{
268   OSX108:leak-3
269   Memcheck:Leak
270   fun:malloc_zone_malloc
271   fun:*NX*Map*
272   fun:*image*
273}
274
275{
276   OSX108:leak-4
277   Memcheck:Leak
278   fun:malloc_zone_malloc
279   fun:*NX*Map*
280   fun:*remap*
281}
282
283{
284   OSX108:leak-5
285   Memcheck:Leak
286   fun:malloc_zone_malloc
287   fun:*NX*Map*
288   fun:*future*
289}
290
291{
292   OSX108:leak-6
293   Memcheck:Leak
294   fun:malloc_zone_malloc
295   fun:*strdup*
296   fun:*NX*Map*
297}
298
299{
300   OSX108:leak-7
301   Memcheck:Leak
302   fun:malloc_zone_malloc
303   fun:*NX*Map*
304   fun:*attached*
305}
306
307{
308   OSX108:leak-8
309   Memcheck:Leak
310   fun:malloc_zone_malloc
311   fun:*NX*Map*
312   fun:dlopen
313}
314
315{
316   OSX108:leak-9
317   Memcheck:Leak
318   fun:malloc
319   fun:*PerThread*
320   fun:dlopen
321}
322
323{
324   OSX108:leak-10
325   Memcheck:Leak
326   fun:malloc_zone_calloc
327   fun:*NX*Hash*
328}
329
330{
331   OSX108:leak-11
332   Memcheck:Leak
333   fun:malloc_zone_calloc
334   fun:*map*
335   fun:*map*
336}
337
338{
339   OSX108:leak-12
340   Memcheck:Leak
341   fun:malloc_zone_calloc
342   fun:*fetch_pthread_data*
343}
344
345{
346   OSX108:leak-13
347   Memcheck:Leak
348   fun:malloc_zone_malloc
349   fun:recursive_mutex_init
350   fun:_objc_init
351}
352
353{
354   OSX108:leak-14
355   Memcheck:Leak
356   match-leak-kinds: reachable
357   fun:malloc_zone_?alloc
358   ...
359   fun:dyld_register_image_state_change_handler
360   ...
361}
362
363{
364   OSX108:leak-15
365   Memcheck:Leak
366   match-leak-kinds: reachable
367   fun:?alloc
368   ...
369   fun:dyld_register_image_state_change_handler
370   ...
371}
372
373{
374   OSX108:leak-16
375   Memcheck:Leak
376   match-leak-kinds: reachable
377   fun:malloc_zone_?alloc
378   ...
379   fun:map_images_nolock
380   fun:map_images
381   ...
382}
383
384{
385   OSX108:leak-17
386   Memcheck:Leak
387   match-leak-kinds: possible
388   fun:malloc_zone_?alloc
389   ...
390   fun:map_images_nolock
391   fun:map_images
392   ...
393}
394
395{
396   OSX108:leak-18
397   Memcheck:Leak
398   match-leak-kinds: indirect
399   fun:malloc_zone_?alloc
400   ...
401   fun:libSystem_initializer
402   ...
403}
404
405{
406   OSX108:leak-19
407   Memcheck:Leak
408   match-leak-kinds: indirect
409   fun:?alloc
410   ...
411   fun:libSystem_initializer
412   ...
413}
414
415{
416   OSX108:leak-20
417   Memcheck:Leak
418   match-leak-kinds: reachable
419   fun:malloc_zone_?alloc
420   ...
421   fun:libSystem_initializer
422   ...
423}
424
425{
426   OSX108:leak-21
427   Memcheck:Leak
428   match-leak-kinds: reachable
429   fun:?alloc
430   ...
431   fun:libSystem_initializer
432   ...
433}
434
435{
436   OSX108:leak-22
437   Memcheck:Leak
438   match-leak-kinds: reachable
439   fun:?alloc
440   ...
441   fun:_libxpc_initializer
442   ...
443}
444
445{
446   OSX108:leak-23
447   Memcheck:Leak
448   match-leak-kinds: definite
449   fun:malloc
450   fun:realloc
451   fun:new_sem_from_pool
452   ...
453}
454
455##----------------------------------------------------------------------##
456# Memcheck
457##----------------------------------------------------------------------##
458
459