1 Star 0 Fork 0

lurenchina/openpbs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
valgrind.supp 15.08 KB
一键复制 编辑 原始数据 按行查看 历史
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740
# Copyright (C) 1994-2021 Altair Engineering, Inc.
# For more information, contact Altair at www.altair.com.
#
# This file is part of both the OpenPBS software ("OpenPBS")
# and the PBS Professional ("PBS Pro") software.
#
# Open Source License Information:
#
# OpenPBS is free software. You can redistribute it and/or modify it under
# the terms of the GNU Affero General Public License as published by the
# Free Software Foundation, either version 3 of the License, or (at your
# option) any later version.
#
# OpenPBS is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public
# License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# Commercial License Information:
#
# PBS Pro is commercially licensed software that shares a common core with
# the OpenPBS software. For a copy of the commercial license terms and
# conditions, go to: (http://www.pbspro.com/agreement.html) or contact the
# Altair Legal Department.
#
# Altair's dual-license business model allows companies, individuals, and
# organizations to create proprietary derivative works of OpenPBS and
# distribute them - whether embedded or bundled with other software -
# under a commercial license agreement.
#
# Use of Altair's trademarks, including but not limited to "PBS™",
# "OpenPBS®", "PBS Professional®", and "PBS Pro™" and Altair's logos is
# subject to Altair's trademark licensing policies.
# These are unfreed memory (still reachable blocks) detected in python
{
ADDRESS_IN_RANGE/Invalid read of size 4
Memcheck:Addr4
fun:Py_ADDRESS_IN_RANGE
}
{
ADDRESS_IN_RANGE/Invalid read of size 4
Memcheck:Value4
fun:Py_ADDRESS_IN_RANGE
}
{
ADDRESS_IN_RANGE/Invalid read of size 8 (x86_64 aka amd64)
Memcheck:Value8
fun:Py_ADDRESS_IN_RANGE
}
{
ADDRESS_IN_RANGE/Conditional jump or move depends on uninitialised value
Memcheck:Cond
fun:Py_ADDRESS_IN_RANGE
}
#
# Leaks (including possible leaks)
# Hmmm, I wonder if this masks some real leaks. I think it does.
# Will need to fix that.
#
{
Suppress leaking the GIL. Happens once per process, see comment in ceval.c.
Memcheck:Leak
fun:malloc
fun:PyThread_allocate_lock
fun:PyEval_InitThreads
}
{
Suppress leaking the GIL after a fork.
Memcheck:Leak
fun:malloc
fun:PyThread_allocate_lock
fun:PyEval_ReInitThreads
}
{
Suppress leaking the autoTLSkey. This looks like it shouldn't leak though.
Memcheck:Leak
fun:malloc
fun:PyThread_create_key
fun:_PyGILState_Init
fun:Py_InitializeEx
fun:Py_Main
}
{
Hmmm, is this a real leak or like the GIL?
Memcheck:Leak
fun:malloc
fun:PyThread_ReInitTLS
}
{
Handle PyMalloc confusing valgrind (possibly leaked)
Memcheck:Leak
fun:realloc
fun:_PyObject_GC_Resize
# fun:COMMENT_THIS_LINE_TO_DISABLE_LEAK_WARNING
}
{
Handle PyMalloc confusing valgrind (possibly leaked)
Memcheck:Leak
fun:malloc
fun:_PyObject_GC_New
# fun:COMMENT_THIS_LINE_TO_DISABLE_LEAK_WARNING
}
{
Handle PyMalloc confusing valgrind (possibly leaked)
Memcheck:Leak
fun:malloc
fun:_PyObject_GC_NewVar
# fun:COMMENT_THIS_LINE_TO_DISABLE_LEAK_WARNING
}
#
# Non-python specific leaks
#
{
Handle pthread issue (possibly leaked)
Memcheck:Leak
fun:calloc
fun:allocate_dtv
fun:_dl_allocate_tls_storage
fun:_dl_allocate_tls
}
{
Handle pthread issue (possibly leaked)
Memcheck:Leak
fun:memalign
fun:_dl_allocate_tls_storage
fun:_dl_allocate_tls
}
###{
### ADDRESS_IN_RANGE/Invalid read of size 4
### Memcheck:Addr4
### fun:PyObject_Free
###}
###
###{
### ADDRESS_IN_RANGE/Invalid read of size 4
### Memcheck:Value4
### fun:PyObject_Free
###}
###
###{
### ADDRESS_IN_RANGE/Use of uninitialised value of size 8
### Memcheck:Addr8
### fun:PyObject_Free
###}
###
###{
### ADDRESS_IN_RANGE/Use of uninitialised value of size 8
### Memcheck:Value8
### fun:PyObject_Free
###}
###
###{
### ADDRESS_IN_RANGE/Conditional jump or move depends on uninitialised value
### Memcheck:Cond
### fun:PyObject_Free
###}
###{
### ADDRESS_IN_RANGE/Invalid read of size 4
### Memcheck:Addr4
### fun:PyObject_Realloc
###}
###
###{
### ADDRESS_IN_RANGE/Invalid read of size 4
### Memcheck:Value4
### fun:PyObject_Realloc
###}
###
###{
### ADDRESS_IN_RANGE/Use of uninitialised value of size 8
### Memcheck:Addr8
### fun:PyObject_Realloc
###}
###
###{
### ADDRESS_IN_RANGE/Use of uninitialised value of size 8
### Memcheck:Value8
### fun:PyObject_Realloc
###}
###
###{
### ADDRESS_IN_RANGE/Conditional jump or move depends on uninitialised value
### Memcheck:Cond
### fun:PyObject_Realloc
###}
###
### All the suppressions below are for errors that occur within libraries
### that Python uses. The problems to not appear to be related to Python's
### use of the libraries.
###
{
Generic ubuntu ld problems
Memcheck:Addr8
obj:/lib/ld-2.4.so
obj:/lib/ld-2.4.so
obj:/lib/ld-2.4.so
obj:/lib/ld-2.4.so
}
{
Generic gentoo ld problems
Memcheck:Cond
obj:/lib/ld-2.3.4.so
obj:/lib/ld-2.3.4.so
obj:/lib/ld-2.3.4.so
obj:/lib/ld-2.3.4.so
}
{
DBM problems, see test_dbm
Memcheck:Param
write(buf)
fun:write
obj:/usr/lib/libdb1.so.2
obj:/usr/lib/libdb1.so.2
obj:/usr/lib/libdb1.so.2
obj:/usr/lib/libdb1.so.2
fun:dbm_close
}
{
DBM problems, see test_dbm
Memcheck:Value8
fun:memmove
obj:/usr/lib/libdb1.so.2
obj:/usr/lib/libdb1.so.2
obj:/usr/lib/libdb1.so.2
obj:/usr/lib/libdb1.so.2
fun:dbm_store
fun:dbm_ass_sub
}
{
DBM problems, see test_dbm
Memcheck:Cond
obj:/usr/lib/libdb1.so.2
obj:/usr/lib/libdb1.so.2
obj:/usr/lib/libdb1.so.2
fun:dbm_store
fun:dbm_ass_sub
}
{
DBM problems, see test_dbm
Memcheck:Cond
fun:memmove
obj:/usr/lib/libdb1.so.2
obj:/usr/lib/libdb1.so.2
obj:/usr/lib/libdb1.so.2
obj:/usr/lib/libdb1.so.2
fun:dbm_store
fun:dbm_ass_sub
}
{
GDBM problems, see test_gdbm
Memcheck:Param
write(buf)
fun:write
fun:gdbm_open
}
{
ZLIB problems, see test_gzip
Memcheck:Cond
obj:/lib/libz.so.1.2.3
obj:/lib/libz.so.1.2.3
fun:deflate
}
{
Avoid problems w/readline doing a putenv and leaking on exit
Memcheck:Leak
fun:malloc
fun:xmalloc
fun:sh_set_lines_and_columns
fun:_rl_get_screen_size
fun:_rl_init_terminal_io
obj:/lib/libreadline.so.4.3
fun:rl_initialize
}
###
### These occur from somewhere within the SSL, when running
### test_socket_sll. They are too general to leave on by default.
###
###{
### somewhere in SSL stuff
### Memcheck:Cond
### fun:memset
###}
###{
### somewhere in SSL stuff
### Memcheck:Value4
### fun:memset
###}
###
###{
### somewhere in SSL stuff
### Memcheck:Cond
### fun:MD5_Update
###}
###
###{
### somewhere in SSL stuff
### Memcheck:Value4
### fun:MD5_Update
###}
#
# All of these problems come from using test_socket_ssl
#
{
from test_socket_ssl
Memcheck:Cond
fun:BN_bin2bn
}
{
from test_socket_ssl
Memcheck:Cond
fun:BN_num_bits_word
}
{
from test_socket_ssl
Memcheck:Value4
fun:BN_num_bits_word
}
{
from test_socket_ssl
Memcheck:Cond
fun:BN_mod_exp_mont_word
}
{
from test_socket_ssl
Memcheck:Cond
fun:BN_mod_exp_mont
}
{
from test_socket_ssl
Memcheck:Param
write(buf)
fun:write
obj:/usr/lib/libcrypto.so.0.9.7
}
{
from test_socket_ssl
Memcheck:Cond
fun:RSA_verify
}
{
from test_socket_ssl
Memcheck:Value4
fun:RSA_verify
}
{
from test_socket_ssl
Memcheck:Value4
fun:DES_set_key_unchecked
}
{
from test_socket_ssl
Memcheck:Value4
fun:DES_encrypt2
}
{
from test_socket_ssl
Memcheck:Cond
obj:/usr/lib/libssl.so.0.9.7
}
{
from test_socket_ssl
Memcheck:Value4
obj:/usr/lib/libssl.so.0.9.7
}
{
from test_socket_ssl
Memcheck:Cond
fun:BUF_MEM_grow_clean
}
{
from test_socket_ssl
Memcheck:Cond
fun:memcpy
fun:ssl3_read_bytes
}
{
from test_socket_ssl
Memcheck:Cond
fun:SHA1_Update
}
{
from test_socket_ssl
Memcheck:Value4
fun:SHA1_Update
}
{
From PBS (TPP layer) - suppress epoll_pwait() glibc bug
Memcheck:Param
epoll_pwait(sigmask)
fun:epoll_pwait
fun:tpp_em_pwait
fun:tpp_em_wait
fun:work
fun:start_thread
fun:clone
}
{
From PBS (TPP layer) - suppress warning about uninitialized bytes in sendto
Memcheck:Param
socketcall.sendto(msg)
fun:send
fun:send_data
fun:handle_cmd
fun:work
fun:start_thread
fun:clone
}
{
From PBS (server) - Suppress intentional unfreed memory for pbs_db_get_svr_id
Memcheck:Leak
match-leak-kinds: reachable
fun:malloc
fun:strdup
fun:pbs_db_get_svr_id
fun:chk_and_update_db_svrhost
fun:main
}
{
From PBS (server) - Suppress intentional unfreed memory from hook_recov
Memcheck:Leak
fun:malloc
fun:strdup
fun:hook_recov
fun:pbsd_init
fun:main
}
{
From PBS (server) - Suppress intentional unfreed memory from loading hook script at hook_recov
Memcheck:Leak
fun:malloc
fun:pbs_python_ext_alloc_python_script
fun:hook_recov
fun:pbsd_init
fun:main
}
{
From PBS (server) - Suppress intentional unfreed memory from loading hook script at hook_recov
Memcheck:Leak
fun:malloc
fun:strdup
fun:pbs_python_ext_alloc_python_script
fun:hook_recov
fun:pbsd_init
fun:main
}
{
From PBS (server) - Suppress intentional unfreed memory from allocating hook data at hook_recov
Memcheck:Leak
fun:malloc
fun:hook_alloc
fun:hook_recov
fun:pbsd_init
fun:main
}
{
From PBS (all deamons) - Suppress memory allocated for log mutex
Memcheck:Leak
fun:calloc
fun:log_mutex_lock
fun:log_record
fun:*
}
{
From PBS (mom) - Suppress intentional unfreed memory from python_script_alloc() inside req_copy_hookfile() that is tracked globally in svr_allhooks.
Memcheck:Leak
fun:malloc
...
fun:python_script_alloc
...
fun:req_copy_hookfile
fun:is_request
fun:do_tpp
fun:tpp_request
fun:wait_request
fun:main
}
{
From PBS (mom) - Suppress intentional unfreed memory from hook_recov() inside req_copy_hookfile() that is tracked globally in svr_allhooks.
Memcheck:Leak
fun:malloc
...
fun:hook_recov
fun:req_copy_hookfile
fun:is_request
fun:do_tpp
fun:tpp_request
fun:wait_request
fun:main
}
{
From PBS (server) - Suppress intentional unfreed memory from pbs_python_populae_attributes_to_python_class() that is tracked globally in pbs_resource_value_list.
Memcheck:Leak
fun:malloc
fun:pbs_python_populate_attributes_to_python_class
fun:*
}
{
From PBS (server) - Suppress intentional unfreed memory from pbs_python_populate_attributes_to_python_class() that is tracked and freed in a local pbs_list_head
Memcheck:Leak
fun:malloc
fun:attrlist_alloc
fun:attrlist_create
fun:encode_l
fun:encode_resc
fun:pbs_python_populate_attributes_to_python_class
fun:*
}
{
From PBS (server) - Suppress intentional unfreed memory from pbs_python_populate_attributes_to_python_class() that is tracked and freed in a local pbs_list_head.
Memcheck:Leak
fun:malloc
fun:attrlist_alloc
fun:attrlist_create
fun:encode_size
fun:encode_resc
fun:pbs_python_populate_attributes_to_python_class
fun:*
}
{
From PBS (server) - Suppress intentional unfreed memory from pbs_python_populate_attributes_to_python_class() that is tracked and freed in a local pbs_list_head.
Memcheck:Leak
fun:malloc
fun:attrlist_alloc
fun:attrlist_create
fun:encode_str
fun:encode_resc
fun:pbs_python_populate_attributes_to_python_class
fun:*
}
{
From PBS (server) - Suppress intentional unfreed memory from pbs_python_populate_attributes_to_python_class() that is tracked and freed in a local pbs_list_head.
Memcheck:Leak
fun:malloc
fun:attrlist_alloc
fun:attrlist_create
fun:encode_time
fun:encode_resc
fun:pbs_python_populate_attributes_to_python_class
fun:*
}
{
From PBS (server) - Suppress intentional unfreed memory from loading hook script at mgr_hook_import
Memcheck:Leak
fun:malloc
fun:strdup
fun:pbs_python_ext_alloc_python_script
fun:mgr_hook_import
fun:req_manager
fun:dispatch_request
fun:process_request
fun:wait_request
fun:main
}
{
From PBS (server) - Suppress intentional unfreed memory from loading hook script at mgr_hook_import
Memcheck:Leak
fun:malloc
fun:pbs_python_ext_alloc_python_script
fun:mgr_hook_import
fun:req_manager
fun:dispatch_request
fun:process_request
fun:wait_request
fun:main
}
{
From PBS (server) - Suppress intentional unfreed memory from allocating hook data at mgr_hook_create
Memcheck:Leak
fun:malloc
fun:hook_alloc
fun:mgr_hook_create
fun:req_manager
fun:dispatch_request
fun:process_request
fun:wait_request
fun:main
}
{
From PBS (server) - Suppress intentional unfreed memory from allocating hook name at mgr_hook_create
Memcheck:Leak
fun:malloc
fun:strdup
fun:set_hook_name
fun:mgr_hook_create
fun:req_manager
fun:dispatch_request
fun:process_request
fun:wait_request
fun:main
}
{
From PBS - Suppress intentional unfreed memory of auth struct inside global tpp_conf struct
Memcheck:Leak
fun:malloc
fun:make_auth_config
fun:set_tpp_config
fun:main
}
{
From PBS - Suppress intentional unfreed memory of auth struct inside global tpp_conf struct
Memcheck:Leak
fun:malloc
fun:strdup
fun:make_auth_config
fun:set_tpp_config
fun:main
}
{
From PBS - Suppress intentional unfreed memory of auth struct inside global tpp_conf struct
Memcheck:Leak
fun:malloc
fun:mk_hostname
fun:set_tpp_config
fun:main
}
{
From PBS - Suppress intentional unfreed memory of auth struct inside global tpp_conf struct
Memcheck:Leak
fun:malloc
fun:strdup
fun:set_tpp_config
fun:main
}
{
From PBS - Suppress intentional unfreed memory of auth struct inside global tpp_conf struct
Memcheck:Leak
fun:realloc
fun:set_tpp_config
fun:main
}
{
From PBS - Suppress intentional unfreed avl tree tls data
Memcheck:Leak
fun:calloc
fun:get_avl_tls
...
}
{
From PBS - Suppress intentional unfreed tpp tls data
Memcheck:Leak
fun:calloc
fun:tpp_get_tls
fun:work
...
}
{
From PBS - Suppress uninitialized job fs structure in mom
Memcheck:Param
write(buf)
...
fun:job_save_fs
...
}
{
From PBS - Suppress hook allocated buffer
Memcheck:Leak
match-leak-kinds: possible
fun:malloc
fun:hook_alloc
fun:hook_recov
...
}
{
From PBS - Suppress hook allocated buffer
Memcheck:Leak
match-leak-kinds: possible
fun:malloc
fun:hook_alloc
fun:mgr_hook_create
...
}
{
From PBS - Suppress uninitialized DIS buffer
Memcheck:Param
write(buf)
...
fun:__send_pkt
fun:dis_flush
...
}
{
From PBS - Suppress scheduler query resources leak, it is misreported
Memcheck:Leak
match-leak-kinds: definite
...
fun:*query_resources*
fun:*update_resource_def*
fun:schedule
...
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lurenchina/openpbs.git
git@gitee.com:lurenchina/openpbs.git
lurenchina
openpbs
openpbs
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385