Warning, /jana2/src/python/externals/pybind11-2.10.3/tests/valgrind-python.supp is written in an unsupported language. File is not indexed.
0001 # Valgrind suppression file for CPython errors and leaks in pybind11 tests
0002
0003 # Taken verbatim from https://github.com/python/cpython/blob/3.9/Misc/valgrind-python.supp#L266-L272
0004 {
0005 Uninitialised byte(s) false alarm, see bpo-35561
0006 Memcheck:Param
0007 epoll_ctl(event)
0008 fun:epoll_ctl
0009 fun:pyepoll_internal_ctl
0010 }
0011
0012 {
0013 Python leaks when spawning a subprocess
0014 Memcheck:Leak
0015 fun:malloc
0016 fun:_PyMem_RawMalloc
0017 fun:PyMem_RawMalloc
0018 fun:PyThread_allocate_lock
0019 fun:_PyEval_InitState
0020 fun:PyInterpreterState_New
0021 ...
0022 fun:pyinit_core*
0023 fun:Py_InitializeFromConfig
0024 fun:pymain_init
0025 fun:pymain_main
0026 }
0027
0028 {
0029 Python leaks when spawning a subprocess
0030 Memcheck:Leak
0031 fun:malloc
0032 fun:_PyMem_RawMalloc
0033 fun:_PyMem_DebugRawAlloc
0034 fun:_PyMem_DebugRawMalloc
0035 fun:PyMem_RawMalloc
0036 fun:PyThread_allocate_lock
0037 fun:_PyRuntimeState_Init_impl
0038 fun:_PyRuntimeState_Init
0039 fun:_PyRuntime_Initialize
0040 fun:pymain_init
0041 fun:pymain_main
0042 fun:Py_BytesMain
0043 }
0044
0045 {
0046 Python leaks when spawning a subprocess
0047 Memcheck:Leak
0048 fun:malloc
0049 fun:_PyMem_RawMalloc
0050 fun:PyMem_RawMalloc
0051 fun:PyThread_allocate_lock
0052 fun:_PyImport_AcquireLock
0053 fun:_imp_acquire_lock_impl*
0054 fun:_imp_acquire_lock
0055 fun:cfunction_vectorcall_NOARGS
0056 fun:_PyObject_VectorcallTstate
0057 fun:PyObject_Vectorcall
0058 fun:call_function
0059 fun:_PyEval_EvalFrameDefault
0060 fun:_PyEval_EvalFrame
0061 fun:function_code_fastcall
0062 }
0063
0064 {
0065 Python leaks when spawning a subprocess
0066 Memcheck:Leak
0067 fun:malloc
0068 fun:_PyMem_RawMalloc
0069 fun:PyMem_RawMalloc
0070 fun:PyThread_allocate_lock
0071 fun:newlockobject
0072 ...
0073 fun:cfunction_vectorcall_NOARGS
0074 fun:_PyObject_VectorcallTstate
0075 fun:PyObject_Vectorcall
0076 fun:call_function
0077 fun:_PyEval_EvalFrameDefault
0078 fun:_PyEval_EvalFrame
0079 fun:function_code_fastcall
0080 fun:_PyFunction_Vectorcall
0081 }
0082
0083 {
0084 Python leaks when spawning a subprocess
0085 Memcheck:Leak
0086 fun:malloc
0087 fun:_PyMem_RawMalloc
0088 fun:PyMem_RawMalloc
0089 fun:PyThread_allocate_lock
0090 fun:rlock_new
0091 fun:type_call
0092 fun:_PyObject_Call
0093 fun:PyObject_Call
0094 fun:do_call_core
0095 fun:_PyEval_EvalFrameDefault
0096 fun:_PyEval_EvalFrame
0097 fun:_PyEval_EvalCode
0098 fun:_PyFunction_Vectorcall
0099 }
0100
0101 # Not really CPython-specific, see link
0102 {
0103 dlopen leak (https://stackoverflow.com/questions/1542457/memory-leak-reported-by-valgrind-in-dlopen)
0104 Memcheck:Leak
0105 fun:malloc
0106 ...
0107 fun:dl_open_worker
0108 fun:_dl_catch_exception
0109 fun:_dl_open
0110 fun:dlopen_doit
0111 fun:_dl_catch_exception
0112 fun:_dl_catch_error
0113 fun:_dlerror_run
0114 fun:dlopen@@GLIBC_2.2.5
0115 fun:_PyImport_FindSharedFuncptr
0116 fun:_PyImport_LoadDynamicModuleWithSpec
0117 }