forked from wesnoth/wesnoth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
valgrind_memcheck_suppressions.supp
356 lines (313 loc) · 5.59 KB
/
valgrind_memcheck_suppressions.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
#This is a suppression file for wesnoth
# Complains that eptr not initialized.
# strtod doesn't require it to be in the following production in config::attribute_value::operator=
# char *eptr;
# double d = strtod(v.c_str(), &eptr);
{
strtod_does_not_require_initilization_of_eptr
Memcheck:Value8
fun:__GI___strncasecmp_l
fun:____strtod_l_internal
fun:_ZN6config15attribute_valueaSERKSs
}
{
strtod_does_not_require_initilization_of_eptr
Memcheck:Addr8
fun:__GI___strncasecmp_l
fun:____strtod_l_internal
fun:_ZN6config15attribute_valueaSERKSs
}
{
strtod_does_not_require_initilization_of_eptr2
Memcheck:Cond
fun:__GI___strncasecmp_l
fun:____strtod_l_internal
fun:_ZN6config15attribute_valueaSERKSs
}
# Also don't complain when strtod is called from luaO_str2d
{
strtod_does_not_require_initilization_of_eptr
Memcheck:Value8
fun:__GI___strncasecmp_l
fun:____strtod_l_internal
fun:_Z10luaO_str2dPKcmPd
}
{
strtod_does_not_require_initilization_of_eptr
Memcheck:Addr8
fun:__GI___strncasecmp_l
fun:____strtod_l_internal
fun:_Z10luaO_str2dPKcmPd
}
#SECTION: Static Pointers Initialized with new to force proper order of initialization
#Using a new without a matching delete to initialize a static pointer.
#This is not a leak. i.e.
# static *thingy;
# void function_to_intialize_static_thingy(){
# if(thingy == NULL){
# thingy = new thingy();
# }
# }
{
static_pointer_initialization_in_formula_function
Memcheck:Leak
fun:_Znwm
fun:_ZN10game_logic12_GLOBAL__N_117get_functions_mapEv
fun:_ZN10game_logic15create_functionERKSsRKSt6vectorIN5boost10shared_ptrINS_18formula_expressionEEESaIS6_EEPKNS_21function_symbol_tableE
}
{
static_pointer_initialization_in_log_domain
Memcheck:Leak
fun:_Znwm
fun:_ZNSs4_Rep9_S_createEmmRKSaIcE
fun:_ZNSs12_S_constructIPKcEEPcT_S3_RKSaIcESt20forward_iterator_tag
fun:_ZNSsC1EPKcRKSaIcE
fun:_ZN2lg10log_domainC1EPKc
}
{
static_pointer_initialization_in_log_domain
Memcheck:Leak
fun:_Znwm
...
fun:_ZNSt3map*
fun:_ZN2lg10log_domainC1EPKc
}
{
static_pointer_initialization_in_ai_registry
Memcheck:Leak
fun:_Znwm
fun:_ZNSs4_Rep9_S_createEmmRKSaIcE
fun:_ZNSs12_S_constructIPKcEEPcT_S3_RKSaIcESt20forward_iterator_tag
fun:_ZNSsC1EPKcRKSaIcE
fun:_Z41__static_initialization_and_destruction_0ii
fun:_GLOBAL__I__ZN2ai8registry4initEv
}
#SECTION: Errors within SDL
{
leak_within_SDL
Memcheck:Leak
fun:*alloc
...
fun:SDL_VideoInit
}
{
leak_within_SDL2
Memcheck:Leak
fun:malloc
...
fun:xcb_connect_to_display_with_auth_info
fun:_XConnectXCB
fun:XOpenDisplay
}
{
leak_within_SDL3
Memcheck:Cond
...
fun:SDL_PumpEvents
}
{
<insert_a_suppression_name_here>
Memcheck:Leak
fun:*alloc
...
fun:_XimOpenIM
obj:/usr/lib*/libSDL*
}
#SECTION: Errors within Pango
{
leak_within_pango1
fun:*alloc
...
fun:g_type_init_with_debug_flags
fun:pango_cairo_font_map_new
}
{
leak_within_pango2
fun:*alloc
...
fun:pango_font_description_copy
}
{
leak_within_pango3
Memcheck:Leak
fun:*alloc
...
fun:g_get_language_names
fun:g_thread_init_glib
fun:g_type_init_with_debug_flags
fun:pango_cairo_font_map_new
}
{
leak_within_pango5
Memcheck:Leak
fun:*alloc
...
fun:g_type_register_fundamental
...
fun:g_type_init_with_debug_flags
fun:pango_cairo_font_map_new
}
{
leak_within_pango6
Memcheck:Leak
fun:malloc
fun:FcPatternCreate
fun:FcFontRenderPrepare
fun:FcFontMatch
}
{
leak_within_pango_cairo6
Memcheck:Leak
fun:*alloc
...
fun:cairo_scaled_font_create
}
{
leak_within_pango7
Memcheck:Leak
fun:*alloc
...
fun:pango_language_from_string
}
{
leak_within_pango8
Memcheck:Leak
fun:*alloc
...
fun:pango_find_map
}
{
leak_within_pango9
Memcheck:Leak
fun:*alloc
...
fun:g_type_init_with_debug_flags
}
{
leak_within_pango10
Memcheck:Leak
fun:*alloc
...
fun:FT_Add_Module
}
{
leak_within_pango11
Memcheck:Leak
fun:*alloc
...
fun:pango_itemize_with_base_dir
}
{
leak_within_pango12
Memcheck:Leak
fun:*alloc
...
fun:pango_ot_ruleset_new
}
{
leak_within_pango13
Memcheck:Leak
fun:*alloc
...
fun:pango_itemize_with_base_dir
}
{
leak_within_pango14
Memcheck:Leak
fun:malloc
...
fun:pango_layout_line_get_extents
}
{
leak_within_pango15
Memcheck:Leak
fun:memalign
...
fun:g_type_init_with_debug_flags
fun:pango_cairo_font_map_new
}
{
leak_within_pango16
Memcheck:Leak
fun:memalign
...
fun:pango_parse_markup
}
{
leak_within_pango17
Memcheck:Leak
fun:*alloc
...
fun:FT_GlyphLoader_CheckPoints
}
{
leak_within_pango17
Memcheck:Leak
fun:*alloc
...
fun:FT_Open_Face
}
{
leak_within_pango18
Memcheck:Leak
fun:*alloc
...
fun:pango_cairo_font_map_get_default
}
{
leak_within_pango19
Memcheck:Leak
fun:*alloc
...
obj:/usr/lib*/libpango*
}
{
leak_within_pango20
Memcheck:Leak
fun:memalign
...
obj:/usr/lib*/libpango*
}
{
leak_within_pango21
Memcheck:Leak
fun:*alloc
...
fun:FT_Load_Glyph
}
{
leak_within_pango22
Memcheck:Leak
fun:*alloc
...
fun:cairo_show_glyphs
}
{
leak_within_pango23
Memcheck:Leak
fun:*alloc
...
fun:FT_Render_Glyph_Internal
}
{
leak_within_pango24
Memcheck:Leak
fun:malloc
...
fun:pixman_image_create_bits
}
#SECTION: Errors with fontconfig
{
leak_within_font_config
Memcheck:Leak
fun:*alloc
...
fun:FcConfigParseAndLoad
}
{
leak_within_font_config2
Memcheck:Leak
fun:*alloc
...
fun:FcConfigSubstituteWithPat
}