2 # This is a valgrind suppression file that should be used when using valgrind.
4 # Here's an example of running valgrind:
7 # valgrind --tool=memcheck --suppressions=Misc/valgrind-python.supp \
8 # ./python -E -tt ./Lib/test/regrtest.py -u bsddb,network
10 # You must edit Objects/obmalloc.c and uncomment Py_USING_MEMORY_DEBUGGER
11 # to use the preferred suppressions with Py_ADDRESS_IN_RANGE.
13 # If you do not want to recompile Python, you can uncomment
14 # suppressions for PyObject_Free and PyObject_Realloc.
16 # See Misc/README.valgrind for more information.
18 # all tool names: Addrcheck,Memcheck,cachegrind,helgrind,massif
20 ADDRESS_IN_RANGE/Invalid read of size 4
22 fun:Py_ADDRESS_IN_RANGE
26 ADDRESS_IN_RANGE/Invalid read of size 4
28 fun:Py_ADDRESS_IN_RANGE
32 ADDRESS_IN_RANGE/Invalid read of size 8 (x86_64)
34 fun:Py_ADDRESS_IN_RANGE
38 ADDRESS_IN_RANGE/Conditional jump or move depends on uninitialised value
40 fun:Py_ADDRESS_IN_RANGE
44 ADDRESS_IN_RANGE/Invalid read of size 4
50 ADDRESS_IN_RANGE/Invalid read of size 8 (x86_64)
56 ADDRESS_IN_RANGE/Invalid read of size 4
62 ADDRESS_IN_RANGE/Invalid read of size 8 (x86_64)
68 ADDRESS_IN_RANGE/Conditional jump or move depends on uninitialised value
74 ADDRESS_IN_RANGE/Invalid read of size 4
80 ADDRESS_IN_RANGE/Invalid read of size 8 (x86_64)
86 ADDRESS_IN_RANGE/Invalid read of size 4
92 ADDRESS_IN_RANGE/Invalid read of size 8 (x86_64)
98 ADDRESS_IN_RANGE/Conditional jump or move depends on uninitialised value
104 ### All the suppressions below are for errors that occur within libraries
105 ### that Python uses. The problems to not appear to be related to Python's
106 ### use of the libraries.
109 GDBM problems, see test_gdbm
118 Avoid problem in libc on gentoo
128 Avoid problem in glibc on gentoo
134 obj:/lib/libc-2.3.4.so
137 obj:/lib/libdl-2.3.4.so
139 obj:/lib/libdl-2.3.4.so
144 Avoid problem in glibc on gentoo
153 obj:/lib/libc-2.3.4.so
156 obj:/lib/libdl-2.3.4.so
158 obj:/lib/libdl-2.3.4.so
163 Avoid problem in glibc on gentoo
166 obj:/lib/libc-2.3.4.so
169 obj:/lib/libdl-2.3.4.so
171 obj:/lib/libdl-2.3.4.so
176 Avoid problem in glibc on gentoo
181 obj:/lib/libc-2.3.4.so
184 obj:/lib/libdl-2.3.4.so
186 obj:/lib/libdl-2.3.4.so
191 Avoid problems w/readline doing a putenv and leaking on exit
195 fun:sh_set_lines_and_columns
196 fun:_rl_get_screen_size
197 fun:_rl_init_terminal_io
198 obj:/lib/libreadline.so.4.3
202 fun:_PyImport_LoadDynamicModule
207 fun:PyImport_ImportModuleEx
211 Mysterious leak that seems to deal w/pthreads
217 fun:__pthread_initialize_minimal
221 Mysterious leak that seems to deal w/pthreads
226 fun:__pthread_initialize_minimal
230 ### These occur from somewhere within the SSL, when running
231 ### test_socket_sll. They are too general to leave on by default.
234 ### somewhere in SSL stuff
239 ### somewhere in SSL stuff
245 ### somewhere in SSL stuff
251 ### somewhere in SSL stuff
257 # All of these problems come from using test_socket_ssl
280 fun:BN_mod_exp_mont_word
294 obj:/usr/lib/libcrypto.so.0.9.7
312 fun:DES_set_key_unchecked
324 obj:/usr/lib/libssl.so.0.9.7
330 obj:/usr/lib/libssl.so.0.9.7
336 fun:BUF_MEM_grow_clean
359 # python init memleak
365 fun:_PyObject_GC_Malloc
379 fun:_PyObject_GC_Malloc
395 fun:_PyObject_GC_Malloc
406 Read compiled module memleak
410 fun:_PyObject_GC_Malloc
411 fun:_PyObject_GC_NewVar
419 fun:read_compiled_module
423 PyRun_SimpleFileExFlags memleak
426 fun:_PyObject_GC_Malloc
427 fun:_PyObject_GC_New*
431 fun:PyRun_SimpleFileExFlags
434 # memleak in update_keyword_args
439 fun:_PyObject_GC_Malloc
442 fun:update_keyword_args
445 # memleaks/conds in import_submodule
447 memleak in import_submodule
454 wrong jump in import_submodule
461 wrong jump in import_submodule
470 Use of uninitialised value of size 4
476 ## KNOWN MEMORY LEAK in gst_element_state_get_name
477 ## See gstreamer/gst/gstutils.c
479 Known leak in gst_element_state_get_name
486 fun:gst_element_state_get_name
489 ## Suppressions for FC5 64bit
492 Wrong jump in PyImport_ImportModuleEx
495 obj:/usr/lib64/libpython2.4.so.1.0
496 obj:/usr/lib64/libpython2.4.so.1.0
497 obj:/usr/lib64/libpython2.4.so.1.0
498 fun:PyImport_ImportModuleEx
502 Wrong jump in PyImport_ImportModuleEx
505 fun:PyImport_ImportModuleEx
509 Wrong jump in PyImport_ImportModuleEx
512 obj:/usr/lib64/libpython2.4.so.1.0
513 obj:/usr/lib64/libpython2.4.so.1.0
515 fun:PyObject_CallFunction
516 obj:/usr/lib64/libpython2.4.so.1.0
517 obj:/usr/lib64/libpython2.4.so.1.0
518 obj:/usr/lib64/libpython2.4.so.1.0
519 fun:PyImport_ImportModuleEx
523 Wrong jump in PyUnicode_Decode