forked from Chaste/Chaste
-
Notifications
You must be signed in to change notification settings - Fork 0
/
chaste.supp
150 lines (147 loc) · 2.92 KB
/
chaste.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
# To run a regular memory test
# 1. Configure a cmake
# $ cmake -DCMAKE_BUILD_TYPE=Debug -DChaste_MEMORY_TESTING_CPUS=6 ..
# (or similar)
# 2. Run all tests through Valgrind
# $ cmake --build . --target memtest
# (which effectively uses cmake --build . --target memtest --parallel 6 because of the CPUS etting)
# This takes about 2 hours. All tests should pass, but a memory report will be given at the end
# To run a single test and generate missing suppressions:
# $ mpiexec -np 1 valgrind --leak-check=full --suppressions=../chaste.supp --suppressions=../chaste-legacy.supp --gen-suppressions=all ./heart/test/Test1dMonodomainShannonCvodeBenchmarks
#
# PETSc/OpenMPI
###############
# OpenMPI https://github.com/cpmech/test-openmpi-valgrind
{
PETSc/OpenMPI "Hello world" leak
Memcheck:Leak
match-leak-kinds: definite
fun:calloc
...
fun:orte_init
}
{
PETSc/OpenMPI "Hello world" leak
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
...
fun:_dl_catch_error
}
{
PETSc/OpenMPI "Hello world" leak
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
...
fun:ompi_mpi_finalize
}
{
PETSc/OpenMPI "Hello world" leak
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
...
fun:orte_init
}
# HDF5
######
{
H5F: HDF5 write
Memcheck:Param
pwrite64(buf)
...
fun:H5FD_write
}
{
H5F: HDF5 write on closure
Memcheck:Param
pwrite64(buf)
...
fun:H5Fclose
}
{
PetscFinalize/OpenMPI "Hello world" leak
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
...
fun:PetscFinalize
}
{
PetscInitialize/OpenMPI "Hello world" leak
Memcheck:Leak
match-leak-kinds: definite
...
fun:PetscInitialize
}
{
PetscInitialize <insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: possible
fun:calloc
...
fun:PetscInitialize
}
{
PetscInitialize/OpenMPI "Hello world" leak
Memcheck:Leak
match-leak-kinds: definite
fun:calloc
...
fun:PetscInitialize
}
{
PetscInitialize mpi_init (malloc)
Memcheck:Leak
match-leak-kinds: possible
fun:malloc
...
fun:PetscInitialize
}
{
PetscInitialize/OpenMPI "Hello world" leak
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
...
fun:PetscInitialize
}
{
PetscInitialize <insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: possible
fun:realloc
...
fun:PetscInitialize
}
{
PetscInitialize/OpenMPI "Hello world" leak
Memcheck:Param
setsockopt(optlen)
...
fun:PetscInitialize
}
{
PetscInitialize/OpenMPI "Hello world" leak
Memcheck:Param
socketcall.getsockopt(optlen)
...
fun:PetscInitialize
}
{
PetscInitialize/OpenMPI "Hello world" leak
Memcheck:Param
socketcall.getsockopt(optlen_out)
...
fun:PetscInitialize
}
# Tetgen
########
{
tetgen Memory problem in Tetgen with quadratic meshes
Memcheck:Cond
fun:_ZN6tetgen10tetgenmesh13pointtraverseEv
...
fun:main
}