Skip to content

Commit c88a93f

Browse files
committed
Adding suppression file
1 parent f24e89d commit c88a93f

1 file changed

Lines changed: 275 additions & 0 deletions

File tree

ValgrindSuppresionFile

Lines changed: 275 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,275 @@
1+
# To run valgrind:
2+
# valgrind --leak-check=yes --show-reachable=yes --track-origins=yes --log-file=memory.log --suppressions=ValgrindSuppresionFile --gen-suppressions=all ./TestStack
3+
4+
5+
# Suppress some libraries
6+
{
7+
libdbus_leak
8+
Memcheck:Leak
9+
...
10+
obj:/lib/x86_64-linux-gnu/libdbus-1.so.3.7.6
11+
...
12+
}
13+
{
14+
libcairo_leak
15+
Memcheck:Leak
16+
...
17+
obj:/usr/lib/x86_64-linux-gnu/libcairo.so.2.11301.0
18+
...
19+
}
20+
{
21+
libpangocairo_leak
22+
Memcheck:Leak
23+
...
24+
obj:/usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0.3600.3
25+
...
26+
}
27+
{
28+
libpango_leak
29+
Memcheck:Leak
30+
...
31+
obj:/usr/lib/x86_64-linux-gnu/libpango-1.0.so.0.3600.3
32+
...
33+
}
34+
{
35+
libgtk_x11_leak
36+
Memcheck:Leak
37+
...
38+
obj:/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0.2400.23
39+
...
40+
}
41+
{
42+
libX11_leak
43+
Memcheck:Leak
44+
...
45+
obj:/usr/lib/x86_64-linux-gnu/libX11.so.6.3.0
46+
...
47+
}
48+
{
49+
libexpat_leak
50+
Memcheck:Leak
51+
...
52+
obj:/lib/x86_64-linux-gnu/libexpat.so.1.6.0
53+
...
54+
}
55+
{
56+
libgio_leak
57+
Memcheck:Leak
58+
...
59+
obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.4002.0
60+
...
61+
}
62+
{
63+
libdbus_leak
64+
Memcheck:Leak
65+
...
66+
obj:/lib/x86_64-linux-gnu/libdbus-1.so.3.7.6
67+
...
68+
}
69+
{
70+
libgobject_leak
71+
Memcheck:Leak
72+
...
73+
obj:/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4002.0
74+
...
75+
}
76+
{
77+
libicuuc_leak
78+
Memcheck:Leak
79+
...
80+
obj:/usr/lib/x86_64-linux-gnu/libicuuc.so.52.1
81+
...
82+
}
83+
{
84+
libpixman_leak
85+
Memcheck:Leak
86+
...
87+
obj:/usr/lib/x86_64-linux-gnu/libpixman-1.so.0.30.2
88+
...
89+
}
90+
{
91+
libpixman_leak
92+
Memcheck:Leak
93+
...
94+
obj:/usr/lib/x86_64-linux-gnu/libfontconfig.so.1.8.0
95+
...
96+
}
97+
{
98+
libfreetype_leak
99+
Memcheck:Leak
100+
...
101+
obj:/usr/lib/x86_64-linux-gnu/libfreetype.so.6.11.1
102+
...
103+
}
104+
{
105+
ucol_leak
106+
Memcheck:Leak
107+
...
108+
fun:ucol_initCollator_52
109+
...
110+
fun:ucol_open_internal_52
111+
...
112+
}
113+
114+
115+
# ACML supressions
116+
{
117+
IdentifyCPUCond
118+
Memcheck:Cond
119+
...
120+
fun:acmlcpuid2
121+
...
122+
}
123+
{
124+
IdentifyCPUValue
125+
Memcheck:Value8
126+
...
127+
fun:acmlcpuid_once
128+
fun:acmlcpuid2
129+
...
130+
}
131+
{
132+
acmlfma3_cond
133+
Memcheck:Cond
134+
fun:acmlfma3_supported_
135+
...
136+
}
137+
{
138+
acmlfma4_cond
139+
Memcheck:Cond
140+
fun:acmlfma4_supported_
141+
...
142+
}
143+
144+
145+
# System errors
146+
{
147+
map_doit_memory
148+
Memcheck:Cond
149+
fun:index
150+
fun:expand_dynamic_string_token
151+
fun:_dl_map_object
152+
fun:map_doit
153+
fun:_dl_catch_error
154+
...
155+
}
156+
{
157+
expand_dynamic_string_token
158+
Memcheck:Cond
159+
fun:index
160+
fun:expand_dynamic_string_token
161+
...
162+
fun:dl_main
163+
fun:_dl_sysdep_start
164+
fun:_dl_start
165+
...
166+
}
167+
{
168+
call_init
169+
Memcheck:Leak
170+
match-leak-kinds: reachable
171+
...
172+
fun:call_init
173+
fun:_dl_init
174+
...
175+
}
176+
177+
178+
# std
179+
{
180+
libc_cond
181+
Memcheck:Cond
182+
...
183+
fun:_dl_init_paths
184+
fun:_dl_non_dynamic_init
185+
fun:__libc_init_first
186+
fun:(below main)
187+
}
188+
{
189+
libc_val8
190+
Memcheck:Value8
191+
...
192+
fun:_dl_init_paths
193+
fun:_dl_non_dynamic_init
194+
fun:__libc_init_first
195+
fun:(below main)
196+
}
197+
{
198+
mallinfo_cond
199+
Memcheck:Cond
200+
fun:int_mallinfo
201+
fun:mallinfo
202+
...
203+
}
204+
{
205+
mallinfo_value
206+
Memcheck:Value8
207+
fun:int_mallinfo
208+
fun:mallinfo
209+
...
210+
}
211+
{
212+
int_free_cond
213+
Memcheck:Cond
214+
fun:_int_free
215+
...
216+
}
217+
{
218+
string_len_cond
219+
Memcheck:Cond
220+
fun:strlen
221+
...
222+
}
223+
{
224+
int_malloc_cond
225+
Memcheck:Cond
226+
fun:_int_malloc
227+
fun:malloc
228+
...
229+
}
230+
{
231+
malloc_consolidate_malloc
232+
Memcheck:Cond
233+
fun:malloc_consolidate
234+
fun:_int_malloc
235+
...
236+
}
237+
{
238+
malloc_consolidate_free
239+
Memcheck:Cond
240+
fun:malloc_consolidate
241+
fun:_int_free
242+
...
243+
}
244+
{
245+
catch_cond
246+
Memcheck:Cond
247+
fun:__cxa_begin_catch
248+
...
249+
}
250+
{
251+
popen
252+
Memcheck:Param
253+
set_robust_list(head)
254+
fun:__nptl_set_robust
255+
fun:__libc_fork
256+
fun:_IO_proc_open
257+
fun:popen
258+
...
259+
}
260+
{
261+
exit
262+
Memcheck:Value8
263+
fun:__run_exit_handlers
264+
...
265+
fun:exit
266+
...
267+
}
268+
{
269+
sse42
270+
Memcheck:Cond
271+
fun:__strstr_sse42
272+
...
273+
}
274+
275+

0 commit comments

Comments
 (0)