-
Notifications
You must be signed in to change notification settings - Fork 2
/
darwin11.supp
246 lines (216 loc) · 6.39 KB
/
darwin11.supp
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
# Suppressions for Darwin 11.x / Mac OS X 10.7 Lion
##----------------------------------------------------------------------##
# Memcheck
##----------------------------------------------------------------------##
# Dunno where this is a real bug, or due to borked 10.7-specific syscall
# wrappers. 64-bit mode; not sure if occurs in 32-bit mode.
# Anyway, for the tine being:
#
# Conditional jump or move depends on uninitialised value(s)
# at 0x1973E6: __mtx_droplock (in /usr/lib/system/libsystem_c.dylib)
# by 0x1976AA: pthread_mutex_unlock (in /usr/lib/system/libsystem_c.dylib)
# by 0x100B3D: unlock_node (in /usr/lib/system/libkeymgr.dylib)
{
OSX107:__mtx_droplock
Memcheck:Cond
fun:__mtx_droplock
fun:pthread_mutex_unlock
fun:unlock_node
}
# Conditional jump or move depends on uninitialised value(s)
# at 0x2EB883: ??? (in /usr/lib/system/libxpc.dylib)
# by 0x237C6: ??? (in /usr/lib/libSystem.B.dylib)
# by 0x8FE1115A: ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) (in /usr/lib/dyld)
{
<insert_a_suppression_name_here>
Memcheck:Cond
obj:/usr/lib/system/libxpc.dylib
obj:/usr/lib/libSystem.B.dylib
fun:_ZN16ImageLoaderMachO18doModInitFunctionsERKN11ImageLoader11LinkContextE
}
# ZLib stuff. How come this wasn't necessary in 10.6 ?
{
OSX107:zlib-C
Memcheck:Cond
obj:/usr/lib/libz.*dylib
obj:/usr/lib/libz.*dylib
}
{
OSX107:zlib-8
Memcheck:Value8
obj:/usr/lib/libz.*dylib
obj:/usr/lib/libz.*dylib
}
# Really a bug? I don't know.
# Conditional jump or move depends on uninitialised value(s)
# at 0x3A322FE: __mtx_droplock (in /usr/lib/system/libsystem_c.dylib)
# by 0x3A326AA: pthread_mutex_unlock (in /usr/lib/system/libsystem_c.dylib)
# by 0x26382: load_images (in /usr/lib/libobjc.A.dylib)
{
OSX107:blah
Memcheck:Cond
fun:__mtx_droplock
fun:pthread_mutex_unlock
}
{
OSX107:blah
Memcheck:Cond
fun:pthread_mutex_lock
}
{
OSX107:10-Leak
Memcheck:Leak
match-leak-kinds: reachable
fun:?alloc
...
fun:libSystem_initializer
...
}
################
# More OSX 10.7.2 supps from startup of Firefox, for reports
# that look like they are in the OSX system libraries
# Conditional jump or move depends on uninitialised value(s)
# at 0x65ADC41: TParsingContext::BuildMacEncTable()
# by 0x65AD98B: TParsingContext::GetEncHash(char const*)
# Uninitialised value was created by a heap allocation
# at 0xC743: malloc (vg_replace_malloc.c:266)
# by 0x65ADADA: TParsingContext::BuildMacEncTable()
{
OSX107:more1
Memcheck:Cond
fun:*TParsingContext16BuildMacEncTable*
fun:*TParsingContext10GetEncHash*
}
# Conditional jump or move depends on uninitialised value(s)
# at 0x49ABC48: CGColorSpaceAdjustColor
# by 0x4A9AEE8: CGGradientCreateWithColorComponents
# Uninitialised value was created by a heap allocation
# at 0xC743: malloc (vg_replace_malloc.c:266)
# by 0x4A9AEC4: CGGradientCreateWithColorComponents
# by 0x4A9AC49: CGGradientCreateWithColors
{
OSX107:more2
Memcheck:Cond
fun:CGColorSpaceAdjustColor
fun:CGGradientCreateWithColorComponents
}
# Conditional jump or move depends on uninitialised value(s)
# at 0x2119CCA8: BitSetNextSetBit
# by 0x211A4BA5: BuildInterferenceSets
# Uninitialised value was created by a heap allocation
# at 0xC743: malloc (vg_replace_malloc.c:266)
# by 0x2119CB98: BitSetNew
# by 0x2119D06F: BuildGenKill
{
OSX107:more3
Memcheck:Cond
fun:BitSetNextSetBit
fun:BuildInterferenceSets
}
# and similar
{
OSX107:more4
Memcheck:Cond
fun:BitSetNextSetBit
fun:RegistersReInterfere
}
# Conditional jump or move depends on uninitialised value(s)
# at 0x33E4160: CUIRenderer::CreateImage
# by 0x33C14A4: CUIRenderer::DrawMenuBar
# Uninitialised value was created by a stack allocation
# at 0x33C12FC: CUIRenderer::DrawMenuBar
{
OSX107:more5
Memcheck:Cond
fun:*CUIRenderer*CreateImage*
fun:*CUIRenderer*DrawMenu*
}
# and similar
{
OSX107:more6
Memcheck:Cond
fun:floor$fenv_access_off
fun:*CUIRenderer*CreateImage*
fun:*CUIRenderer*DrawMenu*
}
# This appears a lot, and the origins seem either missing or
# from system libs.
# Use of uninitialised value of size 8
# at 0x39CC164: aes_encrypt_xmm_no_save
{
OSX107:more7
Memcheck:Value8
fun:aes_encrypt_xmm_no_save
}
# Conditional jump or move depends on uninitialised value(s)
# at 0xD6D193: -[NSPersistentUIManager writeWindowSnapshot:length:...
# by 0xD71A03: __-[NSPersistentUIManager _updateSnapshotForWindowN...
{
OSX107:more8
Memcheck:Cond
fun:-[NSPersistentUIManager?writeWindowSnapshot*
fun:__-[NSPersistentUIManager?_updateSnapshotForWindowNumber*
}
##########################################################################
### The ones below are from darwin10.supp (for Snow Leopard). I don't
### know whether they are still necessary.
# afaict this is legit. Might be caused by setenv("VAR=")
# where the value string is empty (not sure)
{
macos-Cond-7
Memcheck:Cond
fun:__setenv
}
# From Jesse Ruderman.
#{
# Mac OS X 10.6.4. rdar://8145289. "new[]" paired with "delete" in the DesktopServicesPriv framework.
# Memcheck:Free
# fun:_ZdlPv
# fun:_ZN5TChar18RemovePtrReferenceEv
# }
# From Jesse Ruderman.
#{
# Mac OS X 10.6.4. rdar://8145318. Uninitialized memory from HIMenuBarView::MeasureAppMenus is used in HIMenuBarView::SetAdjustTextTitleBoundsAtIndex.
# Memcheck:Cond
# fun:_ZN13HIMenuBarView31SetAdjustTextTitleBoundsAtIndexEih
# fun:_ZN13HIMenuBarView15MeasureAppMenusEv
#}
#{
# TFontFeatures::TFontFeatures(CGFont*) (in CoreText.framework)
# Memcheck:Cond
# fun:_ZN13TFontFeaturesC2EP6CGFont
# fun:_ZNK9TBaseFont12CopyFeaturesEv
#}
# See https://bugs.kde.org/show_bug.cgi?id=188572 about this; it's
# unavoidable due to BSD setenv() semantics.
{
macos-__setenv-leak-see-our-bug-188572
Memcheck:Leak
fun:malloc_zone_malloc
fun:__setenv
}
# See https://bugs.kde.org/show_bug.cgi?id=196528
{
macos-__pthread_rwlock_init-see-our-bug-196528
Memcheck:Cond
fun:pthread_rwlock_init
}
#{
# libSystem-keymgr-leak-at-exit
# Memcheck:Leak
# fun:malloc
# fun:get_or_create_key_element
# fun:_keymgr_get_and_lock_processwide_ptr_2
# fun:__keymgr_initializer
# fun:libSystem_initializer
#}
# From Gary Kwong
{
macos-malloc_set_zone_name-see-our-bug-307557
Memcheck:Leak
fun:malloc_zone_malloc
...
fun:malloc_set_zone_name
...
fun:init__zone0
}