-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathvalgrind.supp
More file actions
413 lines (384 loc) · 12 KB
/
valgrind.supp
File metadata and controls
413 lines (384 loc) · 12 KB
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
#___INFO__MARK_BEGIN_NEW__
###########################################################################
#
# Copyright 2024-2026 HPC-Gridware GmbH
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
###########################################################################
#___INFO__MARK_END_NEW__
# Suppression file for valgrind
# This file is used to suppress known issues in the code base
# that are false positives or not relevant for the current testing or development phase.
# These issues have been identified while testing on Ubuntu 24.04 LTS.
# On other OS versions, these issues may not be present or may manifest differently.
{
Thread Local Storage (TLS) is not cleaned up properly (CSP Path Class)
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:_Z10sge_mallocm
fun:_Z25sge_csp_path_class_createP19sge_error_class_str
fun:_ZN3ocs3gdi10ClientBase5setupEijPP6_lListb
...
}
{
Component is not cleaned up properly (2)
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:_Z10sge_mallocm
fun:_Z14ocs_get_groupsPiPP14ocs_grp_elem_tPci
fun:_ZL39component_ts0_init_supplementary_groupsv
fun:_Z34component_get_supplementray_groupsPiPP14ocs_grp_elem_t
...
}
{
Component is not cleaned up properly (4) (auth info)
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:_Z10sge_mallocm
fun:_Z23component_get_auth_infov
fun:_Z15init_packbufferP15sge_pack_buffermbb
...
}
{
Component is not cleaned up properly (5) (auth info)
Memcheck:Leak
match-leak-kinds: possible
fun:malloc
fun:_Z10sge_mallocm
fun:_ZL20sge_dstring_allocateP7dstringm
fun:_Z18sge_dstring_appendP7dstringPKc
fun:_Z23sge_dstring_copy_stringP7dstringPKc
fun:_ZL32sge_dstring_vsprintf_copy_appendP7dstringPFPKcS0_S2_ES2_P13__va_list_tag
fun:_Z19sge_dstring_sprintfP7dstringPKcz
fun:_Z23component_get_auth_infov
...
}
{
Component is not cleaned up properly (6) (auth info, isn't this the same as above? But it is still being reported)
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:_Z10sge_mallocm
fun:_ZL20sge_dstring_allocateP7dstringm
fun:_Z18sge_dstring_appendP7dstringPKc
fun:_Z23sge_dstring_copy_stringP7dstringPKc
fun:_ZL32sge_dstring_vsprintf_copy_appendP7dstringPFPKcS0_S2_ES2_P13__va_list_tag
fun:_Z19sge_dstring_sprintfP7dstringPKcz
fun:_Z23component_get_auth_infov
...
}
{
Component is not cleaned up properly (5) (auth info)
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:_Z10sge_mallocm
fun:_Z14ocs_get_groupsPiPP14ocs_grp_elem_tPci
fun:_ZL39component_ts0_init_supplementary_groupsv
fun:_Z23component_get_auth_infov
...
}
{
@todo CS-631 Packet auth info is not cleaned up properly
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:_Z10sge_mallocm
fun:_Z30sge_gdi_packet_parse_auth_infoP23_sge_gdi_packet_class_tPP6_lListPjPcmS4_S5_mPiPP14ocs_grp_elem_t
fun:_ZL13do_gdi_packetP12struct_msg_tP12monitoring_t
fun:_Z27sge_qmaster_process_messageP12monitoring_t
fun:_Z17sge_listener_mainPv
fun:start_thread
fun:clone
}
{
@todo CS-633 (2) test_drmaa binaries (or the libdrmaa.so?) do not properly shutdown threads
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:_Z10sge_mallocm
fun:_Z20sge_evc_class_create18ev_registration_idPP6_lListPKc
fun:_ZL26japi_implementation_threadPv
fun:start_thread
fun:clone
}
{
some issue in libtirpc.so
Memcheck:Leak
match-leak-kinds: definite
fun:calloc
obj:/usr/lib/x86_64-linux-gnu/libtirpc.so.3.0.0
obj:/usr/lib/x86_64-linux-gnu/libtirpc.so.3.0.0
fun:clnt_tp_create_timed
fun:clnt_create_timed
...
}
{
@todo CS-740 (1) commlib threads are not properly terminated at sge_execd shutdown
Memcheck:Leak
match-leak-kinds: possible
fun:calloc
fun:calloc
fun:allocate_dtv
fun:_dl_allocate_tls
fun:allocate_stack
fun:pthread_create@@GLIBC_2.34
fun:_Z15cl_thread_setupP23cl_thread_settings_typeP16cl_raw_list_typePKciPFPvS5_EPFvS0_ES5_18cl_thread_type_def
fun:_Z28cl_thread_list_create_threadP16cl_raw_list_typePP23cl_thread_settings_typeS0_PKciPFPvS6_EPFvS2_ES6_18cl_thread_type_def
fun:_Z20cl_com_setup_commlib18cl_thread_mode_def11cl_log_typePFiP16cl_raw_list_typeE
fun:_Z25gdi_client_prepare_enrollPP6_lList
fun:main
}
{
@todo CS-740 (2) commlib threads are not properly terminated at sge_execd shutdown
Memcheck:Leak
match-leak-kinds: possible
fun:calloc
fun:calloc
fun:allocate_dtv
fun:_dl_allocate_tls
fun:allocate_stack
fun:pthread_create@@GLIBC_2.34
fun:_Z15cl_thread_setupP23cl_thread_settings_typeP16cl_raw_list_typePKciPFPvS5_EPFvS0_ES5_18cl_thread_type_def
fun:_Z28cl_thread_list_create_threadP16cl_raw_list_typePP23cl_thread_settings_typeS0_PKciPFPvS6_EPFvS2_ES6_18cl_thread_type_def
fun:_Z20cl_com_create_handlePi16cl_framework_def26cl_xml_connection_type_defbi18cl_tcp_connect_defPKcmii
fun:_ZN3ocs3gdi10ClientBase14prepare_enrollEPP6_lList
fun:main
}
{
@todo CS-590 (1) interactive jobs: ijs threads are not properly terminated
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:_Z10sge_mallocm
fun:_Z17cl_raw_list_setupPP16cl_raw_list_typePKci
fun:_Z20cl_thread_list_setupPP16cl_raw_list_typePKc
fun:_Z15thread_init_libPP16cl_raw_list_type
fun:_Z14run_ijs_serverP13cl_com_handlePKcjiiii9ternary_tS3_PiP7dstring
fun:main
}
{
@todo CS-590 (2) interactive jobs: ijs threads are not properly terminated
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:_Z10sge_mallocm
fun:_ZL25cl_thread_list_add_threadP16cl_raw_list_typeP23cl_thread_settings_type
fun:_Z28cl_thread_list_create_threadP16cl_raw_list_typePP23cl_thread_settings_typeS0_PKciPFPvS6_EPFvS2_ES6_18cl_thread_type_def
fun:_Z13create_threadP16cl_raw_list_typePP23cl_thread_settings_typeS0_PKciPFPvS6_E
fun:_Z14run_ijs_serverP13cl_com_handlePKcjiiii9ternary_tS3_PiP7dstring
fun:main
}
{
@todo CS-347 overlapping buffers in sge_strok call
Memcheck:Overlap
fun:strcpy
fun:_Z10sge_strtokPKcS0_
fun:_Z11sge_jobnamePKc
fun:main
}
{
@todo CS-988 qsub sets up a signal thread but does never delete it again
Memcheck:Leak
match-leak-kinds: possible
fun:calloc
fun:calloc
fun:allocate_dtv
fun:_dl_allocate_tls
fun:allocate_stack
fun:pthread_create@@GLIBC_2.34
fun:main
}
{
@todo thread local storage (TLS) is not cleaned up properly (BDB)
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:_Z11bdb_get_txnP9_bdb_info
fun:_Z35spool_berkeleydb_default_write_funcPP6_lListPK10_lListElemS4_S4_PKc15sge_object_type
fun:_Z18spool_write_objectPP6_lListPK10_lListElemS4_PKc15sge_object_typeb
...
}
{
@todo thread local storage (TLS) is not cleaned up properly (BDB)
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:_Z10sge_mallocm
fun:_Z10bdb_createPKc
fun:spool_berkeleydb_create_context
fun:_Z28spool_dynamic_create_contextPP6_lListPKcS3_S3_
fun:_Z28spool_create_dynamic_contextPP6_lListPKcS3_S3_
fun:_Z26sge_initialize_persistencePP6_lList
...
}
{
@todo thread local storage (TLS) is not cleaned up properly (BDB)
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:_Z11bdb_get_txnP9_bdb_info
fun:_Z34spool_berkeleydb_start_transactionPP6_lListP9_bdb_info
fun:_Z33spool_berkeleydb_transaction_funcPP6_lListPK10_lListElem28spooling_transaction_command
fun:_Z17spool_transactionPP6_lListPK10_lListElem28spooling_transaction_command
...
}
{
BerkeleyDB issue, nothing we can do about it (1)
Memcheck:Cond
fun:__log_putr
fun:__log_put
fun:__log_put_record_int
fun:__log_put_record
fun:__db_pitem
fun:__bam_iitem
fun:__bamc_put
fun:__dbc_iput
fun:__db_put
fun:__db_put_pp
...
}
{
BerkeleyDB issue, nothing we can do about it (2)
Memcheck:Param
pwrite64(buf)
fun:pwrite
fun:__os_io
fun:__log_write
fun:__log_put
fun:__log_put_record_int
fun:__log_put_record
fun:__txn_commit
fun:__txn_commit_pp
...
}
{
BerkeleyDB issue, nothing we can do about it (3)
Memcheck:Param
pwrite64(buf)
fun:pwrite
fun:__os_io
fun:__memp_pgwrite.part.0
fun:__memp_bhwrite
fun:__memp_sync_int
fun:__db_sync
fun:__db_refresh
fun:__db_close
fun:__db_close_pp
...
}
{
BerkeleyDB issue, nothing we can do about it (4)
Memcheck:Param
pwrite64(buf)
fun:pwrite
fun:__os_io
fun:__log_write
fun:__log_flush_int
fun:__log_put
fun:__log_put_record_int
fun:__log_put_record
fun:__db_free
fun:__db_doff
fun:__bam_ditem
fun:__bamc_physdel
fun:__bamc_close
}
{
BerkeleyDB issue, nothing we can do about it (5)
Memcheck:Param
pwrite64(buf)
fun:pwrite
fun:__os_io
fun:__memp_pgwrite.part.0
fun:__memp_bhwrite
fun:__memp_sync_int
fun:__txn_checkpoint
fun:__txn_checkpoint_pp
...
}
{
@todo CS-1743 Double free of thread static data - false positive?
Memcheck:Free
fun:_ZdlPvm
fun:_ZNSt15__new_allocatorIcE10deallocateEPcm
fun:deallocate
fun:deallocate
fun:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_destroyEm
fun:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv
fun:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev
fun:_ZN20sge_component_user_tD1Ev
fun:_ZN15component_ts0_tD1Ev
fun:__run_exit_handlers
fun:exit
fun:_Z8sge_exiti
fun:_Z12sge_shutdowni
fun:main
}
# @todo The following issue is reported from time to time - some 5 times for a full testsuite run
# Couldn't find a situation where a packet would not be freed once it is handled in a worker or reader thread.
# Are we freeing the queues and possibly not handled packages at sge_qmaster shutdown?
# Cannot activate this suppression rule as it would affect every packet received by a listener thread
# and would mask potential leaks we might introduce in further development.
#{
# a packet received by a listener thread is not freed again
# Memcheck:Leak
# match-leak-kinds: definite
# fun:_Znwm
# fun:_ZL13do_gdi_packetPN3ocs3gdi16ClientServerBase12struct_msg_tEP12monitoring_t
# fun:_Z27sge_qmaster_process_messageP12monitoring_t
# fun:_Z17sge_listener_mainPv
# fun:start_thread
# fun:clone
#}
{
Leak_PossiblyLost: the commlib trigger thread not freed at sge_execd shutdown, false positive?
Memcheck:Leak
match-leak-kinds: possible
fun:calloc
fun:calloc
fun:allocate_dtv
fun:_dl_allocate_tls
fun:allocate_stack
fun:pthread_create@@GLIBC_2.34
fun:_Z15cl_thread_setupP23cl_thread_settings_typeP16cl_raw_list_typePKciPFPvS5_EPFvS0_ES5_18cl_thread_type_def
fun:_Z28cl_thread_list_create_threadP16cl_raw_list_typePP23cl_thread_settings_typeS0_PKciPFPvS6_EPFvS2_ES6_18cl_thread_type_def
fun:_Z20cl_com_setup_commlib18cl_thread_mode_def11cl_log_typePFiP16cl_raw_list_typeE
fun:_ZN3ocs3gdi10ClientBase14prepare_enrollEPP6_lList
fun:main
}
{
We pass a block local stack variable as buffer into gethostbyname_r(), this must be something internal in gethostbyname_r().
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:__libc_alloc_buffer_allocate
fun:alloc_buffer_allocate
fun:__resolv_conf_allocate
fun:__resolv_conf_load
fun:__resolv_conf_get_current
fun:__res_vinit
fun:maybe_init
fun:context_get
fun:context_get
fun:__resolv_context_get
fun:gethostbyname_r@@GLIBC_2.2.5
fun:_Z17sge_gethostbynamePKcPi
fun:_ZL24component_ts0_init_hostsv
fun:_Z32component_get_qualified_hostnamev
fun:_Z28reresolve_qualified_hostnamev
}