Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Implement test with wait_for...
[simgrid.git] / tools / simgrid.supp
1 # Valgrind suppressions for stuff that we cannot control
2
3 # Memory leaks in standard tools (e.g. dash, tail, or sort)
4 {
5    Memory leak in /bin tools
6    Memcheck:Leak
7    ...
8    obj:/bin/*
9 }
10
11 {
12    Memory leak in /usr/bin tools
13    Memcheck:Leak
14    ...
15    obj:/usr/bin/*
16 }
17
18 {
19    Memory leak in cmake
20    Memcheck:Leak
21    match-leak-kinds:reachable
22    ...
23    fun:_ZN4Json5Value13nullSingletonEv
24    obj:*/libjsoncpp.so*
25    ...
26    fun:_dl_init
27 }
28
29 # There's problem in glibc, where makecontext does not reset the EBP register,
30 # and backtrace goes too far when walking up the stack frames
31 {
32    Invalid read in backtrace, called after makecontext
33    Memcheck:Addr4
34    fun:backtrace
35    ...
36    fun:makecontext
37 }
38
39 #There seems to be an issue with libc using an uninitialized value somewhere in dlopen
40 {
41    Invalid read in dl_start
42    Memcheck:Cond
43    fun:index
44    fun:expand_dynamic_string_token
45    ...
46    fun:_dl_start
47 }
48
49 # There are memory leaks when using dlopen
50 {
51    Memory leak in libc/dlopen
52    Memcheck:Leak
53    ...
54    fun:_dlerror_run
55 }
56
57 # 72704 bytes leak from GCC >5.1 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64535
58 {
59    Memory leak in dl_init
60    Memcheck:Leak
61    match-leak-kinds:reachable
62    fun:malloc
63    fun:call_init.part.0
64    ...
65    fun:_dl_init
66 }
67
68 {
69    Memory leak in dl_init
70    Memcheck:Leak
71    match-leak-kinds:reachable
72    ...
73    fun:_dl_init
74 }
75 {
76    Memory leak in dl_init
77    Memcheck:Leak
78    match-leak-kinds:reachable
79    ...
80    fun:dlopen_doit
81 }
82
83 {
84    Leaks in test-help-version and test-help-logs (early call to exit())
85    Memcheck:Leak
86    match-leak-kinds: reachable
87    fun:_Znwm
88    fun:_ZN7simgrid3s4u6EngineC1EPiPPc
89    fun:main
90    ...
91    obj:*/basic-parsing-test
92 }
93
94 #Ignore leaks in SMPI sample codes
95 {
96    Leaks in SMPI sample codes
97    Memcheck:Leak
98    match-leak-kinds: all
99    fun:malloc
100    fun:smpi_simulated_main_
101 }
102
103 #This test has an intentional leak
104 {
105    Intentional leak in SMPI sample codes
106    Memcheck:Leak
107    match-leak-kinds: all
108    fun:MPI_Comm_dup
109    obj:coll-allreduce-with-leaks*
110 }
111
112 #Memory leaks appearing to be in libcgraph.  They can be seen with the
113 # following simple program:
114 # ,----
115 # | #include <stdio.h>
116 # | #include <graphviz/cgraph.h>
117 # | int main(int argc, char *argv[])
118 # | {
119 # |     if (argc == 1) {
120 # |         printf("Usage: %s <dotfile>\n", argv[0]);
121 # |         return 1;
122 # |     }
123 # |     Agraph_t *g;
124 # |     FILE *inf = fopen(argv[1], "r");
125 # |     g = agread(inf, 0);
126 # |     fclose(inf);
127 # |     agclose(g);
128 # |     return 0;
129 # | }
130 # `----
131 {
132    Memory leak in libcgraph (1/3)
133    Memcheck:Leak
134    fun:malloc
135    ...
136    fun:aaglex
137    fun:aagparse
138    fun:agconcat
139 }
140 {
141    Memory leak in libcgraph (2/3)
142    Memcheck:Leak
143    fun:calloc
144    ...
145    obj:*/libcgraph.so*
146    fun:aagparse
147    fun:agconcat
148 }
149 {
150    Memory leak in libcgraph (3/3)
151    Memcheck:Leak
152    fun:malloc
153    ...
154    fun:agnode
155    obj:*/libcgraph.so*
156    fun:aagparse
157    fun:agconcat
158 }
159
160 # Ignore python cruft
161 {
162    ignore python cruft 1
163    Memcheck:Cond
164    ...
165    obj:/usr/bin/python*
166 }
167
168 {
169    ignore python cruft 2
170    Memcheck:Addr4
171    ...
172    obj:/usr/bin/python*
173 }
174
175 {
176    ignore python cruft 3
177    Memcheck:Value8
178    ...
179    obj:/usr/bin/python*
180 }