blob: 8c5caef045b50d72efde26ca3d9ad493a49210a6 [file] [log] [blame]
sewardj731f9cf2011-09-21 08:43:08 +00001
2# Suppressions for Darwin 11.x / Mac OS X 10.7 Lion
3
4##----------------------------------------------------------------------##
5# Memcheck
6##----------------------------------------------------------------------##
7
8# Dunno where this is a real bug, or due to borked 10.7-specific syscall
9# wrappers. 64-bit mode; not sure if occurs in 32-bit mode.
10# Anyway, for the tine being:
11#
12# Conditional jump or move depends on uninitialised value(s)
13# at 0x1973E6: __mtx_droplock (in /usr/lib/system/libsystem_c.dylib)
14# by 0x1976AA: pthread_mutex_unlock (in /usr/lib/system/libsystem_c.dylib)
15# by 0x100B3D: unlock_node (in /usr/lib/system/libkeymgr.dylib)
16{
17 OSX107:__mtx_droplock
18 Memcheck:Cond
19 fun:__mtx_droplock
20 fun:pthread_mutex_unlock
21 fun:unlock_node
22}
23
24# Conditional jump or move depends on uninitialised value(s)
25# at 0x2EB883: ??? (in /usr/lib/system/libxpc.dylib)
26# by 0x237C6: ??? (in /usr/lib/libSystem.B.dylib)
27# by 0x8FE1115A: ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) (in /usr/lib/dyld)
28{
29 <insert_a_suppression_name_here>
30 Memcheck:Cond
31 obj:/usr/lib/system/libxpc.dylib
32 obj:/usr/lib/libSystem.B.dylib
33 fun:_ZN16ImageLoaderMachO18doModInitFunctionsERKN11ImageLoader11LinkContextE
34}
35
36# ZLib stuff. How come this wasn't necessary in 10.6 ?
37{
38 OSX107:zlib-C
39 Memcheck:Cond
40 obj:/usr/lib/libz.*dylib
41 obj:/usr/lib/libz.*dylib
42}
43{
44 OSX107:zlib-8
45 Memcheck:Value8
46 obj:/usr/lib/libz.*dylib
47 obj:/usr/lib/libz.*dylib
48}
49
50# Really a bug? I don't know.
51# Conditional jump or move depends on uninitialised value(s)
52# at 0x3A322FE: __mtx_droplock (in /usr/lib/system/libsystem_c.dylib)
53# by 0x3A326AA: pthread_mutex_unlock (in /usr/lib/system/libsystem_c.dylib)
54# by 0x26382: load_images (in /usr/lib/libobjc.A.dylib)
55{
56 OSX107:blah
57 Memcheck:Cond
58 fun:__mtx_droplock
59 fun:pthread_mutex_unlock
60}
61
62{
63 OSX107:blah
64 Memcheck:Cond
65 fun:pthread_mutex_lock
66}
67
68
69
70##########################################################################
71### The ones below are from darwin10.supp (for Snow Leopard). I don't
72### know whether they are still necessary.
73
74# afaict this is legit. Might be caused by setenv("VAR=")
75# where the value string is empty (not sure)
76{
77 macos-Cond-7
78 Memcheck:Cond
79 fun:__setenv
80}
81
82# From Jesse Ruderman.
83#{
84# Mac OS X 10.6.4. rdar://8145289. "new[]" paired with "delete" in the DesktopServicesPriv framework.
85# Memcheck:Free
86# fun:_ZdlPv
87# fun:_ZN5TChar18RemovePtrReferenceEv
88# }
89
90# From Jesse Ruderman.
91#{
92# Mac OS X 10.6.4. rdar://8145318. Uninitialized memory from HIMenuBarView::MeasureAppMenus is used in HIMenuBarView::SetAdjustTextTitleBoundsAtIndex.
93# Memcheck:Cond
94# fun:_ZN13HIMenuBarView31SetAdjustTextTitleBoundsAtIndexEih
95# fun:_ZN13HIMenuBarView15MeasureAppMenusEv
96#}
97
98#{
99# TFontFeatures::TFontFeatures(CGFont*) (in CoreText.framework)
100# Memcheck:Cond
101# fun:_ZN13TFontFeaturesC2EP6CGFont
102# fun:_ZNK9TBaseFont12CopyFeaturesEv
103#}
104
105# See https://bugs.kde.org/show_bug.cgi?id=188572 about this; it's
106# unavoidable due to BSD setenv() semantics.
107#{
108# macos-__setenv-leak-see-our-bug-188572
109# Memcheck:Leak
110# fun:malloc_zone_malloc
111# fun:__setenv
112#}
113
114#{
115# libSystem-keymgr-leak-at-exit
116# Memcheck:Leak
117# fun:malloc
118# fun:get_or_create_key_element
119# fun:_keymgr_get_and_lock_processwide_ptr_2
120# fun:__keymgr_initializer
121# fun:libSystem_initializer
122#}