Warning, /jana2/src/python/externals/pybind11-2.10.3/tests/valgrind-numpy-scipy.supp is written in an unsupported language. File is not indexed.
0001 # Valgrind suppression file for NumPy & SciPy errors and leaks in pybind11 tests
0002 #
0003 # On updating a dependency, to get a list of "default" leaks in e.g. NumPy, run
0004 # `PYTHONMALLOC=malloc valgrind --leak-check=full --show-leak-kinds=definite,indirect python3.9-dbg -c "import numpy"`
0005 # To use these suppression files, add e.g. `--suppressions=valgrind-numpy-scipy.supp`
0006
0007 {
0008 Leaks when importing NumPy
0009 Memcheck:Leak
0010 fun:malloc
0011 fun:_PyMem_RawMalloc
0012 fun:PyObject_Malloc
0013 fun:_PyObject_GC_Alloc
0014 fun:_PyObject_GC_Malloc
0015 fun:_PyObject_GC_NewVar
0016 fun:tuple_alloc
0017 fun:PyTuple_Pack
0018 ...
0019 fun:__pyx_pymod_exec_*
0020 }
0021
0022 {
0023 Leaks when importing NumPy (bis)
0024 Memcheck:Leak
0025 fun:malloc
0026 fun:_PyMem_RawMalloc
0027 fun:PyObject_Malloc
0028 fun:_PyObject_New
0029 fun:PyCode_NewWithPosOnlyArgs
0030 fun:PyCode_New
0031 ...
0032 fun:__pyx_pymod_exec_*
0033 }
0034
0035 {
0036 Leaks when importing NumPy (ter)
0037 Memcheck:Leak
0038 fun:malloc
0039 fun:_PyMem_RawMalloc
0040 fun:PyObject_Malloc
0041 fun:_PyObject_GC_Alloc
0042 fun:_PyObject_GC_Malloc
0043 fun:_PyObject_GC_NewVar
0044 fun:tuple_alloc
0045 fun:_PyTuple_FromArray
0046 fun:_PyObject_MakeTpCall
0047 fun:_PyObject_VectorcallTstate
0048 fun:PyObject_Vectorcall
0049 fun:call_function
0050 fun:_PyEval_EvalFrameDefault
0051 fun:_PyEval_EvalFrame
0052 fun:function_code_fastcall
0053 fun:_PyFunction_Vectorcall
0054 }
0055
0056 {
0057 Leaks when importing NumPy (quater)
0058 Memcheck:Leak
0059 fun:malloc
0060 fun:_PyMem_RawMalloc
0061 fun:PyObject_Malloc
0062 fun:_PyObject_GC_Alloc
0063 fun:_PyObject_GC_Malloc
0064 fun:_PyObject_GC_NewVar
0065 fun:tuple_alloc
0066 fun:_PyTuple_FromArray
0067 fun:_PyObject_MakeTpCall
0068 fun:_PyObject_VectorcallTstate
0069 fun:_PyObject_CallFunctionVa
0070 fun:PyObject_CallFunction
0071 fun:PyImport_Import
0072 }
0073
0074 {
0075 Leaks when importing NumPy (quinquies)
0076 Memcheck:Leak
0077 fun:malloc
0078 fun:_PyMem_RawMalloc
0079 fun:PyObject_Malloc
0080 fun:_PyObject_GC_Alloc
0081 fun:_PyObject_GC_Malloc
0082 fun:_PyObject_GC_NewVar
0083 fun:tuple_alloc
0084 fun:PyTuple_New
0085 fun:r_object
0086 fun:r_object
0087 fun:r_object
0088 fun:r_object
0089 }
0090
0091 {
0092 Leaks when importing NumPy (sexies)
0093 Memcheck:Leak
0094 fun:malloc
0095 fun:_PyMem_RawMalloc
0096 fun:PyObject_Malloc
0097 fun:_PyObject_GC_Alloc
0098 fun:_PyObject_GC_Malloc
0099 fun:_PyObject_GC_NewVar
0100 fun:tuple_alloc
0101 fun:PyTuple_New
0102 fun:dictiter_iternextitem
0103 fun:list_extend
0104 fun:_PyList_Extend
0105 fun:PySequence_List
0106 }
0107
0108 {
0109 Leak when importing scipy.fft
0110 Memcheck:Leak
0111 fun:_Znwm
0112 fun:PyInit_pypocketfft
0113 fun:_PyImport_LoadDynamicModuleWithSpec
0114 fun:_imp_create_dynamic_impl*
0115 fun:_imp_create_dynamic
0116 fun:cfunction_vectorcall_FASTCALL
0117 fun:PyVectorcall_Call
0118 fun:_PyObject_Call
0119 fun:PyObject_Call
0120 fun:do_call_core
0121 fun:_PyEval_EvalFrameDefault
0122 fun:_PyEval_EvalFrame
0123 fun:_PyEval_EvalCode
0124 }
0125
0126 {
0127 NumPy leaks when spawning a subprocess
0128 Memcheck:Leak
0129 fun:malloc
0130 ...
0131 fun:_buffer_get_info
0132 fun:array_getbuffer
0133 fun:PyObject_GetBuffer
0134 fun:__Pyx__GetBufferAndValidate*
0135 fun:__pyx_f_5numpy_6random_13bit_generator_12SeedSequence_mix_entropy
0136 fun:__pyx_pw_5numpy_6random_13bit_generator_12SeedSequence_1__init__
0137 fun:type_call
0138 fun:__Pyx__PyObject_CallOneArg
0139 fun:__pyx_pw_5numpy_6random_13bit_generator_12BitGenerator_1__init__
0140 }