| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240 |
- #
- # This is a valgrind suppression file that should be used when using valgrind.
- #
- # Here's an example of running valgrind:
- #
- # cd python/dist/src
- # valgrind --tool=memcheck --suppressions=Misc/valgrind-python.supp \
- # ./python -E -tt ./Lib/test/regrtest.py -u bsddb,network
- #
- # You must edit Objects/obmalloc.c and uncomment Py_USING_MEMORY_DEBUGGER
- # to use the preferred suppressions with Py_ADDRESS_IN_RANGE.
- #
- # If you do not want to recompile Python, you can uncomment
- # suppressions for PyObject_Free and PyObject_Realloc.
- #
- # See Misc/README.valgrind for more information.
- # all tool names: Addrcheck,Memcheck,cachegrind,helgrind,massif
- {
- 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/Conditional jump or move depends on uninitialised value
- Memcheck:Cond
- fun:Py_ADDRESS_IN_RANGE
- }
- {
- 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/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/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.
- ###
- {
- GDBM problems, see test_gdbm
- Memcheck:Param
- write(buf)
- fun:write
- fun:gdbm_open
- }
- ###
- ### 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
- }
- # some extra lxml specific (?) suppressions..
- {
- Test
- Memcheck:Param
- sigaction(act)
- fun:__libc_sigaction
- }
- {
- ld
- Memcheck:Cond
- obj:/lib/ld-2.6.so
- obj:/lib/ld-2.6.so
- obj:*
- }
- {
- ld
- Memcheck:Addr4
- obj:/lib/ld-2.6.so
- obj:/lib/ld-2.6.so
- obj:*
- }
|