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 aka amd64)
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 # Leaks (including possible leaks)
45 # Hmmm, I wonder if this masks some real leaks. I think it does.
46 # Will need to fix that.
50 Handle PyMalloc confusing valgrind (possibly leaked)
53 fun:_PyObject_GC_Resize
54 fun:COMMENT_THIS_LINE_TO_DISABLE_LEAK_WARNING
58 Handle PyMalloc confusing valgrind (possibly leaked)
62 fun:COMMENT_THIS_LINE_TO_DISABLE_LEAK_WARNING
66 Handle PyMalloc confusing valgrind (possibly leaked)
69 fun:_PyObject_GC_NewVar
70 fun:COMMENT_THIS_LINE_TO_DISABLE_LEAK_WARNING
74 # Non-python specific leaks
78 Handle pthread issue (possibly leaked)
82 fun:_dl_allocate_tls_storage
87 Handle pthread issue (possibly leaked)
90 fun:_dl_allocate_tls_storage
95 OCC allocator/Invalid read of size 4
97 fun:_ZN23TCollection_AsciiStringC1EPKc
100 OCC allocator/Invalid read of size 4
102 fun:_ZN23TCollection_AsciiStringC1ERKS_PKc
105 OCC allocator/Invalid read of size 4
107 fun:_ZN26TCollection_ExtendedStringC1EPKcj
110 OCC allocator/Invalid read of size 4
112 fun:_ZN23TCollection_AsciiString9AssignCatEPKc
116 omniORB send uninitialized
118 socketcall.sendto(msg)
120 fun:_ZN4omni13tcpConnection4SendEPvmmm
124 ADDRESS_IN_RANGE/Invalid read of size 4
129 ADDRESS_IN_RANGE/Invalid read of size 8
135 ADDRESS_IN_RANGE/Invalid read of size 4
140 ADDRESS_IN_RANGE/Invalid read of size 8
146 ADDRESS_IN_RANGE/Conditional jump or move depends on uninitialised value
152 ADDRESS_IN_RANGE/Invalid read of size 4
157 ADDRESS_IN_RANGE/Invalid read of size 8
163 ADDRESS_IN_RANGE/Invalid read of size 4
168 ADDRESS_IN_RANGE/Invalid read of size 8
174 ADDRESS_IN_RANGE/Conditional jump or move depends on uninitialised value
180 ### All the suppressions below are for errors that occur within libraries
181 ### that Python uses. The problems to not appear to be related to Python's
182 ### use of the libraries.
186 Generic gentoo ld problems
195 DBM problems, see test_dbm
199 obj:/usr/lib/libdb1.so.2
200 obj:/usr/lib/libdb1.so.2
201 obj:/usr/lib/libdb1.so.2
202 obj:/usr/lib/libdb1.so.2
207 DBM problems, see test_dbm
210 obj:/usr/lib/libdb1.so.2
211 obj:/usr/lib/libdb1.so.2
212 obj:/usr/lib/libdb1.so.2
213 obj:/usr/lib/libdb1.so.2
219 DBM problems, see test_dbm
221 obj:/usr/lib/libdb1.so.2
222 obj:/usr/lib/libdb1.so.2
223 obj:/usr/lib/libdb1.so.2
229 DBM problems, see test_dbm
232 obj:/usr/lib/libdb1.so.2
233 obj:/usr/lib/libdb1.so.2
234 obj:/usr/lib/libdb1.so.2
235 obj:/usr/lib/libdb1.so.2
241 GDBM problems, see test_gdbm
250 ZLIB problems, see test_gzip
252 obj:/lib/libz.so.1.2.3
253 obj:/lib/libz.so.1.2.3
258 Avoid problems w/readline doing a putenv and leaking on exit
262 fun:sh_set_lines_and_columns
263 fun:_rl_get_screen_size
264 fun:_rl_init_terminal_io
265 obj:/lib/libreadline.so.4.3
270 ### These occur from somewhere within the SSL, when running
271 ### test_socket_sll. They are too general to leave on by default.
274 ### somewhere in SSL stuff
279 ### somewhere in SSL stuff
285 ### somewhere in SSL stuff
291 ### somewhere in SSL stuff
297 # All of these problems come from using test_socket_ssl
320 fun:BN_mod_exp_mont_word
334 obj:/usr/lib/libcrypto.so.0.9.7
352 fun:DES_set_key_unchecked
364 obj:/usr/lib/libssl.so.0.9.7
370 obj:/usr/lib/libssl.so.0.9.7
376 fun:BUF_MEM_grow_clean