File: simgrid.supp

package info (click to toggle)
simgrid 4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 38,980 kB
  • sloc: cpp: 123,583; ansic: 66,779; python: 8,358; java: 6,406; fortran: 6,079; f90: 5,123; xml: 4,587; sh: 2,337; perl: 1,436; makefile: 105; lisp: 49; javascript: 7; sed: 6
file content (461 lines) | stat: -rw-r--r-- 10,052 bytes parent folder | download
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
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
# Valgrind suppressions for stuff that we cannot control

# Memory leaks in standard tools (e.g. dash, tail, or sort)
{
   Memory leak in /bin tools
   Memcheck:Leak
   ...
   obj:/bin/*
}

{
   Memory leak in /usr/bin tools
   Memcheck:Leak
   ...
   obj:/usr/bin/*
}

{
   Memory leak in cmake
   Memcheck:Leak
   match-leak-kinds:reachable
   ...
   fun:_ZN4Json5Value13nullSingletonEv
   obj:*/libjsoncpp.so*
   ...
   fun:_dl_init
}

# There's problem in glibc, where makecontext does not reset the EBP register,
# and backtrace goes too far when walking up the stack frames
{
   Invalid read in backtrace, called after makecontext
   Memcheck:Addr4
   fun:backtrace
   ...
   fun:makecontext
}

#There seems to be an issue with libc using an uninitialized value somewhere in dlopen
{
   Invalid read in dl_start
   Memcheck:Cond
   fun:index
   fun:expand_dynamic_string_token
   ...
   fun:_dl_start
}

# There are memory leaks when using dlopen
{
   Memory leak in libc/dlopen
   Memcheck:Leak
   ...
   fun:_dlerror_run
}

# 72704 bytes leak from GCC >5.1 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64535
{
   Memory leak in dl_init
   Memcheck:Leak
   match-leak-kinds:reachable
   fun:malloc
   obj:/usr/lib/*/libstdc++.so.*
   fun:call_init.part.0
   ...
   fun:_dl_init
}

{
   Leaks in test-help-version and test-help-logs (early call to exit())
   Memcheck:Leak
   match-leak-kinds: reachable
   fun:_Znwm
   fun:_ZN7simgrid3s4u6EngineC1EPiPPc
   fun:main
   ...
   obj:*/basic-parsing-test
}

#Ignore leaks in SMPI sample codes
{
   Leaks in SMPI sample codes
   Memcheck:Leak
   match-leak-kinds: all
   fun:malloc
   fun:smpi_simulated_main_
}

#This test has an intentional leak
{
   Intentional leak in SMPI sample codes
   Memcheck:Leak
   match-leak-kinds: all
   fun:MPI_Comm_dup
   obj:coll-allreduce-with-leaks*
}

#Memory leaks appearing to be in libcgraph.  They can be seen with the
# following simple program:
# ,----
# | #include <stdio.h>
# | #include <graphviz/cgraph.h>
# | int main(int argc, char *argv[])
# | {
# |     if (argc == 1) {
# |         printf("Usage: %s <dotfile>\n", argv[0]);
# |         return 1;
# |     }
# |     Agraph_t *g;
# |     FILE *inf = fopen(argv[1], "r");
# |     g = agread(inf, 0);
# |     fclose(inf);
# |     agclose(g);
# |     return 0;
# | }
# `----
{
   Memory leak in libcgraph (1/3)
   Memcheck:Leak
   fun:malloc
   ...
   fun:aaglex
   fun:aagparse
   fun:agconcat
}
{
   Memory leak in libcgraph (2/3)
   Memcheck:Leak
   fun:calloc
   ...
   obj:*/libcgraph.so*
   fun:aagparse
   fun:agconcat
}
{
   Memory leak in libcgraph (3/3)
   Memcheck:Leak
   fun:malloc
   ...
   fun:agnode
   obj:*/libcgraph.so*
   fun:aagparse
   fun:agconcat
}

# Ignore python cruft
{
   ignore python cruft 1
   Memcheck:Cond
   ...
   obj:/usr/bin/python*
}

{
   ignore python cruft 2
   Memcheck:Addr4
   ...
   obj:/usr/bin/python*
}

{
   ignore python cruft 3
   Memcheck:Value8
   ...
   obj:/usr/bin/python*
}

{
   ignore Java cruft
   Memcheck:Addr4
   ...
   fun:InitializeJVM
   fun:JavaMain
   fun:ThreadJavaMain
   fun:start_thread
   fun:clone
}

{
   <insert_a_suppression_name_here>
   Memcheck:Addr4
   ...
   fun:JNI_CreateJavaVM_inner
   fun:JNI_CreateJavaVM
}
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   ...
   fun:JNI_CreateJavaVM_inner
   fun:JNI_CreateJavaVM
   ...
}
{
   <insert_a_suppression_name_here>
   Memcheck:Addr4
   ...
   fun:_ZN18InterpreterRuntime14resolve_invokeEP10JavaThreadN9Bytecodes4CodeE
   fun:_ZN18InterpreterRuntime18resolve_from_cacheEP10JavaThreadN9Bytecodes4CodeE
   obj:*
}
{
   <insert_a_suppression_name_here>
   Memcheck:Addr4
   ...
   fun:_ZN13InstanceKlass22call_class_initializerEP10JavaThread
}
{
   <insert_a_suppression_name_here>
   Memcheck:Addr4
   ...
   fun:JVM_GetClassDeclaredMethods
   ...
}
{
   <insert_a_suppression_name_here>
   Memcheck:Addr4
   ...
   fun:_ZN13ClassVerifier13verify_methodERK12methodHandleP10JavaThread
}
{
   <insert_a_suppression_name_here>
   Memcheck:Addr4
   ...
   fun:_ZNK16VerificationType28is_reference_assignable_fromERKS_P13ClassVerifierbP10JavaThread
}
{
   <insert_a_suppression_name_here>
   Memcheck:Addr4
   obj:*
   obj:*
   obj:*
   obj:*
   obj:*
   obj:*
   obj:*
   obj:*
   obj:*
   obj:*
   obj:*
   obj:*
   obj:*
   obj:*
   obj:*
   obj:*
   obj:*
   obj:*
   obj:*
   obj:*
}
{
   <insert_a_suppression_name_here>
   Memcheck:Addr4
   ...
   fun:_ZN11OptoRuntime18register_finalizerEP7oopDescP10JavaThread
   ...
}
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: reachable
   ...
   fun:InitializeJVM
   fun:JavaMain
   fun:ThreadJavaMain
   fun:start_thread
   ...
}
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: reachable
   ...
   fun:_ZN20SafepointSynchronize4initEP6Thread
   fun:loop
   fun:_ZN8VMThread3runEv
   fun:_ZN6Thread8call_runEv
   fun:_ZL19thread_native_entryP6Thread
   fun:start_thread
   ...
}
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   ...
   fun:_ZN11StatSampler6engageEv
   fun:_ZN7Threads9create_vmEP14JavaVMInitArgsPb
   fun:JNI_CreateJavaVM_inner
   fun:JNI_CreateJavaVM
   fun:InitializeJVM
   fun:JavaMain
   fun:ThreadJavaMain
   ...
}
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: reachable
   ...
   fun:_ZN7Threads28initialize_java_lang_classesEP10JavaThreadS1_
   fun:_ZN7Threads9create_vmEP14JavaVMInitArgsPb
   fun:JNI_CreateJavaVM_inner
   fun:JNI_CreateJavaVM
}
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: indirect
   fun:malloc
   fun:strdup
   fun:JLI_StringDup
   fun:main
}
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: reachable
   ...
   fun:_ZN8Universe7genesisEP10JavaThread
}
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: reachable
   ...
   fun:_ZN13InstanceKlass22call_class_initializerEP10JavaThread
}
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: reachable
   ...
   fun:_ZN9JavaCalls11call_helperEP9JavaValueRK12methodHandleP17JavaCallArgumentsP10JavaThread
}
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: reachable
   ...
   fun:_ZN18InterpreterRuntime18resolve_from_cacheEP10JavaThreadN9Bytecodes4CodeE
   ...
}
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: reachable
   fun:malloc
   ...
   fun:InitializeEncoding
   fun:Java_jdk_internal_util_SystemProps_00024Raw_platformProperties
   ...
}
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: reachable
   ...
   fun:_ZN16SystemDictionary21define_instance_classEP13InstanceKlass6HandleP10JavaThread
   fun:_ZN16SystemDictionary21find_or_define_helperEP6Symbol6HandleP13InstanceKlassP10JavaThread
   ...
}
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: reachable
   ...
   fun:_ZN16SystemDictionary19load_instance_classEP6Symbol6HandleP10JavaThread
   fun:_ZN16SystemDictionary30resolve_instance_class_or_nullEP6Symbol6HandleS2_P10JavaThread
   ...
}
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: reachable
   ...
   fun:JVM_InitClassName
   ...
}
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: reachable
   fun:malloc
   ...
   fun:_ZN18InterpreterRuntime26frequency_counter_overflowEP10JavaThreadPh
   ...
}
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: reachable
   ...
   fun:_ZN18InterpreterRuntime26frequency_counter_overflowEP10JavaThreadPh
}
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: reachable
   fun:malloc
   fun:_ZN2os6mallocEm8MEMFLAGSRK15NativeCallStack
   fun:AllocateHeap
   fun:_Z12AllocateHeapm8MEMFLAGSN17AllocFailStrategy13AllocFailEnumE
   ...
}
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: reachable
   ...
   fun:create_compile_task
   fun:_ZN13CompileBroker19compile_method_baseERK12methodHandleiiS2_iN11CompileTask13CompileReasonEbP6Thread.part.0
   fun:_ZN13CompileBroker14compile_methodERK12methodHandleiiS2_iN11CompileTask13CompileReasonEP12DirectiveSetP10JavaThread
   fun:_ZN13CompileBroker14compile_methodERK12methodHandleiiS2_iN11CompileTask13CompileReasonEP10JavaThread
   ...
}
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: reachable
   ...
   fun:_ZN13CompileBroker20compiler_thread_loopEv
   ...
}
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: reachable
   fun:calloc
   fun:malloc
   fun:malloc
   fun:_ZN2os6strdupEPKc8MEMFLAGS
   fun:_ZN5MutexC1ENS_4RankEPKcb
   fun:Mutex
   fun:MethodData
   fun:_ZN10MethodData8allocateEP15ClassLoaderDataRK12methodHandleP10JavaThread
   fun:_ZN6Method27build_profiling_method_dataERK12methodHandleP10JavaThread
   fun:_ZN8ciMethod18ensure_method_dataERK12methodHandle
   fun:_ZN8ciMethod18ensure_method_dataEv
   fun:_ZN12GraphBuilder15try_inline_fullEP8ciMethodbbN9Bytecodes4CodeEP11Instruction
   fun:_ZN12GraphBuilder10try_inlineEP8ciMethodbbN9Bytecodes4CodeEP11Instruction
   fun:_ZN12GraphBuilder6invokeEN9Bytecodes4CodeE
   fun:_ZN12GraphBuilder27iterate_bytecodes_for_blockEi
   fun:_ZN12GraphBuilder18iterate_all_blocksEb
   fun:_ZN12GraphBuilder15try_inline_fullEP8ciMethodbbN9Bytecodes4CodeEP11Instruction
   fun:_ZN12GraphBuilder10try_inlineEP8ciMethodbbN9Bytecodes4CodeEP11Instruction
   fun:_ZN12GraphBuilder6invokeEN9Bytecodes4CodeE
   fun:_ZN12GraphBuilder27iterate_bytecodes_for_blockEi
   fun:_ZN12GraphBuilder18iterate_all_blocksEb
   fun:_ZN12GraphBuilder15try_inline_fullEP8ciMethodbbN9Bytecodes4CodeEP11Instruction
   fun:_ZN12GraphBuilder10try_inlineEP8ciMethodbbN9Bytecodes4CodeEP11Instruction
   fun:_ZN12GraphBuilder6invokeEN9Bytecodes4CodeE
}
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: reachable
   ...
   fun:_ZN12GraphBuilder10try_inlineEP8ciMethodbbN9Bytecodes4CodeEP11Instruction
   fun:_ZN12GraphBuilder6invokeEN9Bytecodes4CodeE
}