-
Notifications
You must be signed in to change notification settings - Fork 12
/
xfree-4.supp
384 lines (343 loc) · 8.32 KB
/
xfree-4.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
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
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
##----------------------------------------------------------------------##
# Errors to suppress by default with XFree86 4.1.0)
# *** And a bunch of other stuff which is completely unrelated
# to X. The default suppressions are a bit of a mess and could do
# with a good tidying up.
# Format of this file is:
# {
# name_of_suppression
# tool_name:supp_kind
# (optional extra info for some suppression types)
# caller0 name, or /name/of/so/file.so
# caller1 name, or ditto
# (optionally: caller2 name)
# (optionally: caller3 name)
# }
#
# For Memcheck, the supp_kinds are:
#
# Param Value1 Value2 Value4 Value8 Value16 Jump
# Free Addr1 Addr2 Addr4 Addr8 Addr16
# Cond (previously known as Value0)
#
# and the optional extra info is:
# if Param: name of system call param
# Resulting from R H 8.0
{
*libc_write/libX11.so.6.2/*X11TransWrite(Param)
Memcheck:Param
write(buf)
fun:*libc_write
obj:/usr/X11R6/lib*/libX11.so.6.2
fun:*X11TransWrite
}
{
libX11.so.6.2/libX11.so.6.2/libX11.so.6.2(Cond)
Memcheck:Cond
obj:/usr/X11R6/lib*/libX11.so.6.2
obj:/usr/X11R6/lib*/libX11.so.6.2
obj:/usr/X11R6/lib*/libX11.so.6.2
}
{
libXt.so.6.2/libXt.so.6.2/libXt.so.6.2(Cond)
Memcheck:Cond
obj:/usr/X11R6/lib*/libXt.so.6.0
obj:/usr/X11R6/lib*/libXt.so.6.0
obj:/usr/X11R6/lib*/libXt.so.6.0
}
{
libXaw.so.7.0/libXaw.so.7.0/libXaw.so.7.0(Cond)
Memcheck:Cond
obj:/usr/X11R6/lib*/libXaw.so.7.0
obj:/usr/X11R6/lib*/libXaw.so.7.0
obj:/usr/X11R6/lib*/libXaw.so.7.0
}
{
libXmu.so.6.2/libXmu.so.6.2/libXmu.so.6.2(Cond)
Memcheck:Cond
obj:/usr/X11R6/lib*/libXmu.so.6.2
obj:/usr/X11R6/lib*/libXmu.so.6.2
obj:/usr/X11R6/lib*/libXmu.so.6.2
}
{
libXt.so.6.0/libXt.so.6.0/libXaw.so.7.0(Cond)
Memcheck:Cond
obj:/usr/X11R6/lib*/libXt.so.6.0
obj:/usr/X11R6/lib*/libXt.so.6.0
obj:/usr/X11R6/lib*/libXaw.so.7.0
}
{
libXaw.so.7.0/libXaw.so.7.0/libXt.so.6.0(Value4)
Memcheck:Value4
obj:/usr/X11R6/lib*/libXaw.so.7.0
obj:/usr/X11R6/lib*/libXaw.so.7.0
obj:/usr/X11R6/lib*/libXt.so.6.0
}
{
libXaw.so.7.0/libXaw.so.7.0/libXt.so.6.0(Cond)
Memcheck:Cond
obj:/usr/X11R6/lib*/libXaw.so.7.0
obj:/usr/X11R6/lib*/libXaw.so.7.0
obj:/usr/X11R6/lib*/libXt.so.6.0
}
{
libX11.so.6.2/libX11.so.6.2/libXaw.so.7.0(Cond)
Memcheck:Cond
obj:/usr/X11R6/lib*/libX11.so.6.2
obj:/usr/X11R6/lib*/libX11.so.6.2
obj:/usr/X11R6/lib*/libXaw.so.7.0
}
{
libX11.so.6.2/libX11.so.6.2/libXaw.so.7.0(Addr4)
Memcheck:Addr4
obj:/usr/X11R6/lib*/libX11.so.6.2
obj:/usr/X11R6/lib*/libX11.so.6.2
obj:/usr/X11R6/lib*/libXaw.so.7.0
}
{
libX11.so.6.2/libXaw.so.7.0/libXaw.so.7.0(Cond)
Memcheck:Cond
obj:/usr/X11R6/lib*/libX11.so.6.2
obj:/usr/X11R6/lib*/libXaw.so.7.0
obj:/usr/X11R6/lib*/libXaw.so.7.0
}
{
libXpm.so.4.11/libXpm.so.4.11/libXpm.so.4.11
Memcheck:Cond
obj:/usr/X11R6/lib*/libXpm.so.4.11
obj:/usr/X11R6/lib*/libXpm.so.4.11
obj:/usr/X11R6/lib*/libXpm.so.4.11
}
{
struct with uninitialized paddings
Memcheck:Param
writev(vector[...])
fun:*_writev
fun:_X11TransSocketWritev
fun:_X11TransWritev
fun:*
}
{
struct with uninitialized paddings - libxcb
Memcheck:Param
writev(vector[...])
obj:/lib*/*.so
obj:/usr/lib*/libxcb.so.1.0.0
obj:/usr/lib*/libxcb.so.1.0.0
fun:xcb_send_request
fun:_X*
}
{
struct with uninitialized paddings - libxcb
Memcheck:Param
writev(vector[...])
obj:/lib*/*.so
obj:/usr/lib*/libxcb.so.1.0.0
obj:/usr/lib*/libxcb.so.1.0.0
obj:/usr/lib*/libxcb.so.1.0.0
fun:xcb_*
fun:_X*
}
{
another struct with uninitialized paddings
Memcheck:Param
write(buf)
obj:*
fun:_IceTransSocketWrite
fun:_IceTransWrite
fun:_IceWrite
}
{
Xorg 6.8.1 uninit _write* padding
Memcheck:Param
write(buf)
fun:*
fun:_X11TransWrite
obj:/usr/X11R6/lib*/libX11.so.6.2
}
{
Xorg 6.8.1 uninit write padding
Memcheck:Param
write(buf)
fun:write
fun:_X11TransWrite
obj:/usr/X11R6/lib*/libX11.so.6.2
}
{
Xorg 6.8.1 ICE uninit __write* padding
Memcheck:Param
write(buf)
obj:*
fun:_IceTransWrite
fun:_IceWrite
fun:IceFlush
}
{
Xorg 6.8.1 writev uninit padding
Memcheck:Param
writev(vector[...])
fun:writev
obj:/usr/X11R6/lib*/libX11.so.6.2
fun:_X11TransWritev
fun:_XSend
}
{
Xorg 6.9.0 writev uninit padding
Memcheck:Param
writev(vector[...])
fun:do_writev
fun:writev
obj:/usr/X11R6/lib*/libX11.so.6.2
fun:_X11TransWritev
fun:_XSend
}
{
X on SUSE11 writev uninit padding
Memcheck:Param
writev(vector[...])
fun:writev
obj:/usr/lib*/libxcb.so*
obj:/usr/lib*/libxcb.so*
}
{
X on SUSE11 writev uninit padding 2
Memcheck:Param
writev(vector[...])
obj:/lib*/ld-2.*.so*
obj:/usr/lib*/libxcb.so*
obj:/usr/lib*/libxcb.so*
}
{
X on SUSE11 writev uninit padding 3
Memcheck:Param
writev(vector[...])
obj:/lib*/ld-2.*.so*
obj:/usr/lib*/libORBit*.so*
obj:/usr/lib*/libORBit*.so*
}
{
X on SUSE11 writev uninit padding 4
Memcheck:Param
writev(vector[...])
obj:/lib*/libc-2.*.so*
obj:/usr/lib*/libORBit*.so*
obj:/usr/lib*/libORBit*.so*
}
# There's something strange about a % 127 in XftFontOpenInfo
# (hashing) which gcc turns into a multiply by 33818641 and
# some other guff instead. I don't understand it enough to
# know if libXft is broken or if memcheck's value tracking is
# inadequate here. Anyway, for the moment, suppress it.
#
# Use of uninitialised value of size 8
# at 0x71A59F8: XftFontOpenInfo (in /usr/X11R6/lib64/libXft.so.2.1.2)
# by 0x71A5F0D: XftFontOpenPattern (in /usr/X11R6/lib64/libXft.so.2.1.2)
# by 0x65F166E: loadFontConfigFont(QFontPrivate const*, QFontDef const&,
# QFont::Script) (qfontdatabase_x11.cpp:1942)
# by 0x65F5DE4: QFontDatabase::findFont(QFont::Script, QFontPrivate const*,
# QFontDef const&, int) (qfontdatabase.cpp:996)
{
XftFontOpenInfo-umod-127-strangeness
Memcheck:Value8
obj:/usr/X11*/lib*/libXft.so*
obj:/usr/X11*/lib*/libXft.so*
}
{
XftFontOpenInfo-umod-127-strangeness-a-la-xorg
Memcheck:Value8
obj:/usr/lib*/libXft.so*
obj:/usr/lib*/libXft.so*
}
{
More X padding stuff
Memcheck:Param
writev(vector[...])
fun:*writev*
obj:/usr/X11*/lib*/libX11.so*
obj:/usr/X11*/lib*/libX11.so*
}
##----------------------------------------------------------------------##
# Completely inappropriate place, but ...
{
ifort-9.X-on-i686-1
Memcheck:Addr4
fun:unaligned_bigint
fun:hash
fun:for__add_to_lf_table
}
{
ifort-9.X-on-amd64-1
Memcheck:Addr8
fun:unaligned_bigint
fun:hash
fun:for__add_to_lf_table
}
# zlib-1.2.x uses uninitialised memory in some tricky way which
# apparently is harmless (it must amount to a vectorised while-loop,
# nothing else makes sense). Fools Memcheck though. See the mentioned
# URL for details.
{
zlib-1.2.x trickyness (1a): See http://www.zlib.net/zlib_faq.html#faq36
Memcheck:Cond
obj:/*lib*/libz.so.1.2.*
...
obj:/*lib*/libz.so.1.2.*
fun:deflate
}
{
zlib-1.2.x trickyness (1b): See http://www.zlib.net/zlib_faq.html#faq36
Memcheck:Cond
obj:/*lib*/libz.so.1.2.*
fun:deflate
}
{
zlib-1.2.x trickyness (2a): See http://www.zlib.net/zlib_faq.html#faq36
Memcheck:Value8
obj:/*lib*/libz.so.1.2.*
...
obj:/*lib*/libz.so.1.2.*
fun:deflate
}
{
zlib-1.2.x trickyness (2b): See http://www.zlib.net/zlib_faq.html#faq36
Memcheck:Value8
obj:/*lib*/libz.so.1.2.*
fun:deflate
}
{
zlib-1.2.x trickyness (3a): See http://www.zlib.net/zlib_faq.html#faq36
Memcheck:Value4
obj:/*lib*/libz.so.1.2.*
...
obj:/*lib*/libz.so.1.2.*
fun:deflate
}
{
zlib-1.2.x trickyness (3b): See http://www.zlib.net/zlib_faq.html#faq36
Memcheck:Value4
obj:/*lib*/libz.so.1.2.*
fun:deflate
}
##----------------------------------------------------------------------##
## More general versions of some of the old X suppressions above
{
Ubuntu804 libXaw.so.7.0/libXaw.so.7.0/libXaw.so.7.0(Cond)
Memcheck:Cond
obj:/usr/*lib*/libXaw*so*
obj:/usr/*lib*/libXaw*so*
obj:/usr/*lib*/libXaw*so*
}
{
Ubuntu804 libXaw.so.7.0/libXaw.so.7.0/libXt(Cond)
Memcheck:Cond
obj:/usr/*lib*/libXaw*so*
obj:/usr/*lib*/libXaw*so*
obj:/usr/*lib*/libXt*so*
}
{
Ubuntu804-hack-1
Memcheck:Overlap
fun:mempcpy
fun:_IO_default_xsputn
obj:/lib*/libc-2.*so*
}