-
Notifications
You must be signed in to change notification settings - Fork 1
/
valgrind.supp
276 lines (249 loc) · 6.79 KB
/
valgrind.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
#
# This is a valgrind suppression file for Onedata helpers.
#
# Here's an example of running valgrind:
#
# cd python/dist/src
# valgrind --tool=memcheck --suppressions=Misc/valgrind.supp \
# ./python -E -tt ./Lib/test/regrtest.py -u bsddb,network
#
# all tool names: Addrcheck,Memcheck,cachegrind,helgrind,massif
#
# Supress ld issues
#
{
Generic ubuntu ld problems
Memcheck:Addr8
obj:/lib64/ld-linux-x86-64.so.2
obj:/lib64/ld-linux-x86-64.so.2
obj:/lib64/ld-linux-x86-64.so.2
obj:/lib64/ld-linux-x86-64.so.2
}
#
# Disable all internal Python leaks and errors
#
{
ADDRESS_IN_RANGE/Conditional jump or move depends on uninitialised value
Memcheck:Cond
...
obj:/usr/bin/python2.7
...
}
{
PYTHON_LEAKS/Any leak in Python related to running PyTest
Memcheck:Leak
...
obj:/usr/bin/python2.7
...
}
{
PYTHON_LEAKS/Any leak in Python related to running PyTest
Memcheck:Value4
...
obj:/usr/bin/python2.7
...
}
{
PYTHON_LEAKS/Any leak in Python related to running PyTest
Memcheck:Value8
...
obj:/usr/bin/python2.7
...
}
{
PYTHON_LEAKS/Any leak in Python related to running PyTest
Memcheck:Addr4
...
obj:/usr/bin/python2.7
...
}
{
PYTHON_LEAKS/Any leak in Python related to running PyTest
Memcheck:Addr8
...
obj:/usr/bin/python2.7
...
}
#
# Supress libnspr4 leaks
#
{
LIBNSPR4/libnspr leaks
Memcheck:Leak
...
obj:/usr/lib/x86_64-linux-gnu/libnspr4.so
...
}
#
# Supress dl_open leaks
#
{
DLOPEN/_dl_open leaks
Memcheck:Leak
...
fun:_dl_open
...
}
#
# Supress glusterfs xlator_init leaks
#
{
GLUSTERFS_XLATOR/xlator_init leaks
Memcheck:Leak
...
fun:xlator_init
...
}
#
# Supress libprotobuf potential leaks
#
{
PROTOBUF/libprotobuf leaks
Memcheck:Leak
...
obj:/usr/lib/x86_64-linux-gnu/libprotobuf.so.14.0.0
...
}
#
# TODO: VFS-XXXX Supress memory allocation error in s3-aws-sdk
#
{
AWS-SDK/s3 mismatched malloc/free in release stream
Memcheck:Free
fun:free
fun:_ZN3Aws5Utils6Stream14ResponseStream13ReleaseStreamEv
}
#
#
#
{
GLUSTERFS/connection leak
Memcheck:Leak
match-leak-kinds: definite
...
fun:glfs_new@@GFAPI_3.4.0
fun:_ZZN3one7helpers15GlusterFSHelper7connectEvENKUlvE_clEv
...
}
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:mem_get
fun:mem_get0
fun:get_new_dict_full
fun:glusterfs_graph_insert
fun:glusterfs_graph_prepare
fun:glfs_process_volfp
fun:glfs_mgmt_getspec_cbk
fun:rpc_clnt_handle_reply
fun:rpc_clnt_notify
fun:rpc_transport_notify
fun:socket_event_poll_in
}
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:calloc
fun:__gf_calloc
fun:glusterfs_oldvolfile_update
fun:glfs_mgmt_getspec_cbk
fun:rpc_clnt_handle_reply
fun:rpc_clnt_notify
fun:rpc_transport_notify
fun:socket_event_poll_in
fun:socket_event_handler
fun:event_dispatch_epoll_handler
fun:event_dispatch_epoll_worker
fun:start_thread
}
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:mem_get
fun:mem_get0
fun:dict_set_lk
fun:dict_set
fun:dict_set_dynstr
fun:volume_option
fun:graphyyparse
fun:glusterfs_graph_construct
fun:glfs_process_volfp
fun:glfs_mgmt_getspec_cbk
fun:rpc_clnt_handle_reply
fun:rpc_clnt_notify
}
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:mem_get
fun:mem_get0
fun:get_new_dict_full
fun:new_volume
fun:graphyyparse
fun:glusterfs_graph_construct
fun:glfs_process_volfp
fun:glfs_mgmt_getspec_cbk
fun:rpc_clnt_handle_reply
fun:rpc_clnt_notify
fun:rpc_transport_notify
fun:socket_event_poll_in
}
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:calloc
fun:__gf_calloc
fun:xlator_dynload
fun:create_master
fun:glfs_init_common
fun:glfs_init@@GFAPI_3.4.0
fun:_ZZN3one7helpers15GlusterFSHelper7connectEvENKUlvE_clEv
fun:_ZN5folly7futures6detail17CoreCallbackStateINS_4UnitEZN3one7helpers15GlusterFSHelper7connectEvEUlvE_E6invokeIJEEEDaDpOT_
fun:_ZZN5folly7futures6detail17CoreCallbackStateINS_4UnitEZN3one7helpers15GlusterFSHelper7connectEvEUlvE_E9tryInvokeIJEEEDaDpOT_ENKUlvE_clEv
fun:_ZN5folly11makeTryWithIZNS_7futures6detail17CoreCallbackStateINS_4UnitEZN3one7helpers15GlusterFSHelper7connectEvEUlvE_E9tryInvokeIJEEEDaDpOT_EUlvE_EENSt9enable_ifIXntsrSt7is_sameINSt9result_ofIFT_vEE4typeEvE5valueENS_3TryISL_EEE4typeEOSI_
fun:_ZN5folly7futures6detail17CoreCallbackStateINS_4UnitEZN3one7helpers15GlusterFSHelper7connectEvEUlvE_E9tryInvokeIJEEEDaDpOT_
fun:_ZZN5folly6FutureINS_4UnitEE18thenImplementationIZN3one7helpers15GlusterFSHelper7connectEvEUlvE_NS_7futures6detail14callableResultIS1_S7_EELb0EJEEENSt9enable_ifIXsrNT0_13ReturnsFutureE5valueENSD_6ReturnEE4typeEOT_NS9_9argResultIXT1_ESI_JDpT2_EEEENUlONS_3TryIS1_EEE_clESQ_
fun:_ZN5folly6detail8function14FunctionTraitsIFvONS_3TryINS_4UnitEEEEE9callSmallIZNS_6FutureIS4_E18thenImplementationIZN3one7helpers15GlusterFSHelper7connectEvEUlvE_NS_7futures6detail14callableResultIS4_SG_EELb0EJEEENSt9enable_ifIXsrNT0_13ReturnsFutureE5valueENSM_6ReturnEE4typeEOT_NSI_9argResultIXT1_ESR_JDpT2_EEEEUlS6_E_EEvRNS1_4DataES6_
}
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:calloc
fun:__gf_calloc
fun:rpcclnt_cbk_program_register
fun:glfs_mgmt_init
fun:glfs_init_common
fun:glfs_init@@GFAPI_3.4.0
fun:_ZZN3one7helpers15GlusterFSHelper7connectEvENKUlvE_clEv
fun:_ZN5folly7futures6detail17CoreCallbackStateINS_4UnitEZN3one7helpers15GlusterFSHelper7connectEvEUlvE_E6invokeIJEEEDaDpOT_
fun:_ZZN5folly7futures6detail17CoreCallbackStateINS_4UnitEZN3one7helpers15GlusterFSHelper7connectEvEUlvE_E9tryInvokeIJEEEDaDpOT_ENKUlvE_clEv
fun:_ZN5folly11makeTryWithIZNS_7futures6detail17CoreCallbackStateINS_4UnitEZN3one7helpers15GlusterFSHelper7connectEvEUlvE_E9tryInvokeIJEEEDaDpOT_EUlvE_EENSt9enable_ifIXntsrSt7is_sameINSt9result_ofIFT_vEE4typeEvE5valueENS_3TryISL_EEE4typeEOSI_
fun:_ZN5folly7futures6detail17CoreCallbackStateINS_4UnitEZN3one7helpers15GlusterFSHelper7connectEvEUlvE_E9tryInvokeIJEEEDaDpOT_
fun:_ZZN5folly6FutureINS_4UnitEE18thenImplementationIZN3one7helpers15GlusterFSHelper7connectEvEUlvE_NS_7futures6detail14callableResultIS1_S7_EELb0EJEEENSt9enable_ifIXsrNT0_13ReturnsFutureE5valueENSD_6ReturnEE4typeEOT_NS9_9argResultIXT1_ESI_JDpT2_EEEENUlONS_3TryIS1_EEE_clESQ_
}
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:mem_get
fun:__saved_frames_put
fun:__save_frame
fun:rpc_clnt_submit
obj:*
obj:*
obj:*
fun:rpc_clnt_notify
fun:rpc_transport_notify
fun:socket_connect_finish
fun:socket_event_handler
}