1
2# Suppressions for Darwin 13.x / Mac OS X 10.9 Mavericks
3
4############################################
5## Leaks.  For other stuff see below.
6
7{
8   OSX109:1-Leak
9   Memcheck:Leak
10   match-leak-kinds: possible
11   fun:malloc_zone_?alloc
12   ...
13   fun:_read_images
14}
15
16{
17   OSX109:2-Leak
18   Memcheck:Leak
19   match-leak-kinds: definite
20   fun:?alloc
21   ...
22   fun:_ZN4dyld24initializeMainExecutableEv
23}
24
25{
26   OSX109:3-Leak
27   Memcheck:Leak
28   match-leak-kinds: definite
29   fun:malloc_zone_?alloc
30   fun:recursive_mutex_init
31   fun:_objc_init
32   fun:_os_object_init
33   fun:libSystem_initializer
34   ...
35}
36
37{
38   OSX109:4-Leak
39   Memcheck:Leak
40   match-leak-kinds: reachable
41   fun:malloc_zone_?alloc
42   ...
43   fun:dyld_register_image_state_change_handler
44   ...
45}
46
47{
48   OSX109:5-Leak
49   Memcheck:Leak
50   match-leak-kinds: reachable
51   fun:?alloc
52   ...
53   fun:dyld_register_image_state_change_handler
54   ...
55}
56
57{
58   OSX109:6-Leak
59   Memcheck:Leak
60   match-leak-kinds: reachable
61   fun:malloc_zone_?alloc
62   ...
63   fun:map_images_nolock
64   fun:map_images
65   ...
66}
67
68{
69   OSX109:7-Leak
70   Memcheck:Leak
71   match-leak-kinds: possible
72   fun:malloc_zone_?alloc
73   ...
74   fun:map_images_nolock
75   fun:map_images
76   ...
77}
78
79{
80   OSX109:8-Leak
81   Memcheck:Leak
82   match-leak-kinds: indirect
83   fun:?alloc
84   ...
85   fun:libSystem_initializer
86   ...
87}
88
89{
90   OSX109:9-Leak
91   Memcheck:Leak
92   match-leak-kinds: reachable
93   fun:malloc_zone_?alloc
94   ...
95   fun:libSystem_initializer
96   ...
97}
98
99{
100   OSX109:10-Leak
101   Memcheck:Leak
102   match-leak-kinds: reachable
103   fun:?alloc
104   ...
105   fun:libSystem_initializer
106   ...
107}
108
109{
110   OSX109:11-Leak
111   Memcheck:Leak
112   match-leak-kinds: definite
113   fun:malloc
114   fun:currentlocale
115}
116
117{
118   OSX109:12-Leak
119   Memcheck:Leak
120   match-leak-kinds: possible
121   fun:malloc
122   fun:tzsetwall_basic
123   fun:_st_tzset_basic
124}
125
126# See https://bugs.kde.org/show_bug.cgi?id=188572 about this;  it's
127# unavoidable due to BSD setenv() semantics.
128{
129   macos-__setenv-leak-see-our-bug-188572
130   Memcheck:Leak
131   match-leak-kinds: definite
132   fun:malloc
133   fun:_owned_ptr_alloc
134   fun:setenv
135}
136
137# See https://bugs.kde.org/show_bug.cgi?id=196528
138{
139   macos-__pthread_rwlock_init-see-our-bug-196528
140   Memcheck:Cond
141   fun:pthread_rwlock_init
142}
143
144############################################
145## Non-leak errors
146
147{
148   OSX109:AppKit-1
149   Memcheck:Cond
150   obj:*AppKit.framework*AppKit*
151   obj:*AppKit.framework*AppKit*
152   obj:*AppKit.framework*AppKit*
153}
154
155{
156   OSX109:AppKit-2
157   Memcheck:Cond
158   obj:*AppKit.framework*AppKit*
159   obj:*AppKit.framework*AppKit*
160   obj:*libdispatch.dylib*
161}
162
163{
164   OSX109:AppKit-3
165   Memcheck:Cond
166   obj:*AppKit.framework*AppKit*
167   obj:*libdispatch.dylib*
168   obj:*libdispatch.dylib*
169}
170
171{
172   OSX109:ColorSync-1
173   Memcheck:Cond
174   obj:*ColorSync.framework*ColorSync*
175   obj:*ColorSync.framework*ColorSync*
176   obj:*ColorSync.framework*ColorSync*
177}
178
179{
180   OSX109:ColorSync-2
181   Memcheck:Value8
182   obj:*ColorSync.framework*ColorSync*
183   obj:*ColorSync.framework*ColorSync*
184   obj:*ColorSync.framework*ColorSync*
185}
186
187{
188   OSX109:CoreGraphics-1
189   Memcheck:Cond
190   obj:*CoreGraphics.framework*CoreGraphics*
191   obj:*CoreGraphics.framework*CoreGraphics*
192   obj:*CoreGraphics.framework*CoreGraphics*
193}
194
195{
196   OSX109:CoreGraphics-2
197   Memcheck:Value8
198   obj:*CoreGraphics.framework*CoreGraphics*
199   obj:*CoreGraphics.framework*CoreGraphics*
200   obj:*CoreGraphics.framework*CoreGraphics*
201}
202
203{
204   OSX109:CoreGraphics-3
205   Memcheck:Cond
206   obj:*CoreGraphics.framework*CoreGraphics*
207   obj:*CoreGraphics.framework*libRIP*
208   obj:*CoreGraphics.framework*libRIP*
209}
210
211{
212   OSX109:CoreGraphics-4
213   Memcheck:Cond
214   obj:*CoreGraphics.framework*CoreGraphics*
215   obj:*CoreGraphics.framework*CoreGraphics*
216   obj:*CoreGraphics.framework*libRIP*
217}
218
219{
220   OSX109:CoreGraphics-5
221   Memcheck:Cond
222   obj:*CoreGraphics.framework*CoreGraphics*
223   obj:*libdispatch.dylib*
224   obj:*libdispatch.dylib*
225}
226
227{
228   OSX109:dyld-2
229   Memcheck:Cond
230   obj:/usr/lib/dyld
231   obj:/usr/lib/dyld
232   obj:/usr/lib/dyld
233}
234
235{
236   OSX109:HIServices-1
237   Memcheck:Cond
238   obj:*HIServices.framework*HIServices*
239   obj:*HIToolbox.framework*HIToolbox*
240   obj:*HIToolbox.framework*HIToolbox*
241}
242
243{
244   OSX109:LaunchServices-1
245   Memcheck:Cond
246   obj:*LaunchServices.framework*LaunchServices*
247   obj:*AppKit.framework*AppKit*
248   obj:*AppKit.framework*AppKit*
249}
250
251{
252   OSX109:QuartzCore-1
253   Memcheck:Cond
254   obj:*QuartzCore.framework*QuartzCore
255   obj:*QuartzCore.framework*QuartzCore
256   obj:*QuartzCore.framework*QuartzCore
257}
258
259{
260   OSX109:vImage-1
261   Memcheck:Cond
262   obj:*vImage.framework*vImage*
263   obj:*vImage.framework*vImage*
264   obj:*CoreGraphics.framework*CoreGraphics*
265}
266
267{
268   OSX109:zlib-C
269   Memcheck:Cond
270   obj:/usr/lib/libz.*dylib
271   obj:/usr/lib/libz.*dylib
272}
273{
274   OSX109:zlib-8
275   Memcheck:Value8
276   obj:/usr/lib/libz.*dylib
277   obj:/usr/lib/libz.*dylib
278}
279
280{
281   OSX109:32bit:_libxpc_initializer
282   Memcheck:Cond
283   fun:_libxpc_initializer
284   fun:libSystem_initializer
285   fun:*ImageLoaderMachO*doModInitFunctions*
286}
287