Added updates with respect to recent changes to TimedRotatingFileHandler.
[python.git] / Misc / valgrind-python.supp
bloba08eaac97b0509170533803077f17a1a1ad0eeac
2 # This is a valgrind suppression file that should be used when using valgrind.
4 #  Here's an example of running valgrind:
6 #       cd python/dist/src
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
21    Memcheck:Addr4
22    fun:Py_ADDRESS_IN_RANGE
26    ADDRESS_IN_RANGE/Invalid read of size 4
27    Memcheck:Value4
28    fun:Py_ADDRESS_IN_RANGE
32    ADDRESS_IN_RANGE/Invalid read of size 8 (x86_64 aka amd64)
33    Memcheck:Value8
34    fun:Py_ADDRESS_IN_RANGE
38    ADDRESS_IN_RANGE/Conditional jump or move depends on uninitialised value
39    Memcheck:Cond
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)
51    Memcheck:Leak
52    fun:realloc
53    fun:_PyObject_GC_Resize
54    fun:COMMENT_THIS_LINE_TO_DISABLE_LEAK_WARNING
58    Handle PyMalloc confusing valgrind (possibly leaked)
59    Memcheck:Leak
60    fun:malloc
61    fun:_PyObject_GC_New
62    fun:COMMENT_THIS_LINE_TO_DISABLE_LEAK_WARNING
66    Handle PyMalloc confusing valgrind (possibly leaked)
67    Memcheck:Leak
68    fun:malloc
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)
79    Memcheck:Leak
80    fun:calloc
81    fun:allocate_dtv
82    fun:_dl_allocate_tls_storage
83    fun:_dl_allocate_tls
87    Handle pthread issue (possibly leaked)
88    Memcheck:Leak
89    fun:memalign
90    fun:_dl_allocate_tls_storage
91    fun:_dl_allocate_tls
94 ###{
95 ###   ADDRESS_IN_RANGE/Invalid read of size 4
96 ###   Memcheck:Addr4
97 ###   fun:PyObject_Free
98 ###}
99 ###
100 ###{
101 ###   ADDRESS_IN_RANGE/Invalid read of size 4
102 ###   Memcheck:Value4
103 ###   fun:PyObject_Free
104 ###}
106 ###{
107 ###   ADDRESS_IN_RANGE/Conditional jump or move depends on uninitialised value
108 ###   Memcheck:Cond
109 ###   fun:PyObject_Free
110 ###}
112 ###{
113 ###   ADDRESS_IN_RANGE/Invalid read of size 4
114 ###   Memcheck:Addr4
115 ###   fun:PyObject_Realloc
116 ###}
118 ###{
119 ###   ADDRESS_IN_RANGE/Invalid read of size 4
120 ###   Memcheck:Value4
121 ###   fun:PyObject_Realloc
122 ###}
124 ###{
125 ###   ADDRESS_IN_RANGE/Conditional jump or move depends on uninitialised value
126 ###   Memcheck:Cond
127 ###   fun:PyObject_Realloc
128 ###}
131 ### All the suppressions below are for errors that occur within libraries
132 ### that Python uses.  The problems to not appear to be related to Python's
133 ### use of the libraries.
137    Generic ubuntu ld problems
138    Memcheck:Addr8
139    obj:/lib/ld-2.4.so
140    obj:/lib/ld-2.4.so
141    obj:/lib/ld-2.4.so
142    obj:/lib/ld-2.4.so
146    Generic gentoo ld problems
147    Memcheck:Cond
148    obj:/lib/ld-2.3.4.so
149    obj:/lib/ld-2.3.4.so
150    obj:/lib/ld-2.3.4.so
151    obj:/lib/ld-2.3.4.so
155    DBM problems, see test_dbm
156    Memcheck:Param
157    write(buf)
158    fun:write
159    obj:/usr/lib/libdb1.so.2
160    obj:/usr/lib/libdb1.so.2
161    obj:/usr/lib/libdb1.so.2
162    obj:/usr/lib/libdb1.so.2
163    fun:dbm_close
167    DBM problems, see test_dbm
168    Memcheck:Value8
169    fun:memmove
170    obj:/usr/lib/libdb1.so.2
171    obj:/usr/lib/libdb1.so.2
172    obj:/usr/lib/libdb1.so.2
173    obj:/usr/lib/libdb1.so.2
174    fun:dbm_store
175    fun:dbm_ass_sub
179    DBM problems, see test_dbm
180    Memcheck:Cond
181    obj:/usr/lib/libdb1.so.2
182    obj:/usr/lib/libdb1.so.2
183    obj:/usr/lib/libdb1.so.2
184    fun:dbm_store
185    fun:dbm_ass_sub
189    DBM problems, see test_dbm
190    Memcheck:Cond
191    fun:memmove
192    obj:/usr/lib/libdb1.so.2
193    obj:/usr/lib/libdb1.so.2
194    obj:/usr/lib/libdb1.so.2
195    obj:/usr/lib/libdb1.so.2
196    fun:dbm_store
197    fun:dbm_ass_sub
201    GDBM problems, see test_gdbm
202    Memcheck:Param
203    write(buf)
204    fun:write
205    fun:gdbm_open
210    ZLIB problems, see test_gzip
211    Memcheck:Cond
212    obj:/lib/libz.so.1.2.3
213    obj:/lib/libz.so.1.2.3
214    fun:deflate
218    Avoid problems w/readline doing a putenv and leaking on exit
219    Memcheck:Leak
220    fun:malloc
221    fun:xmalloc
222    fun:sh_set_lines_and_columns
223    fun:_rl_get_screen_size
224    fun:_rl_init_terminal_io
225    obj:/lib/libreadline.so.4.3
226    fun:rl_initialize
230 ### These occur from somewhere within the SSL, when running
231 ###  test_socket_sll.  They are too general to leave on by default.
233 ###{
234 ###   somewhere in SSL stuff
235 ###   Memcheck:Cond
236 ###   fun:memset
237 ###}
238 ###{
239 ###   somewhere in SSL stuff
240 ###   Memcheck:Value4
241 ###   fun:memset
242 ###}
244 ###{
245 ###   somewhere in SSL stuff
246 ###   Memcheck:Cond
247 ###   fun:MD5_Update
248 ###}
250 ###{
251 ###   somewhere in SSL stuff
252 ###   Memcheck:Value4
253 ###   fun:MD5_Update
254 ###}
257 # All of these problems come from using test_socket_ssl
260    from test_socket_ssl
261    Memcheck:Cond
262    fun:BN_bin2bn
266    from test_socket_ssl
267    Memcheck:Cond
268    fun:BN_num_bits_word
272    from test_socket_ssl
273    Memcheck:Value4
274    fun:BN_num_bits_word
278    from test_socket_ssl
279    Memcheck:Cond
280    fun:BN_mod_exp_mont_word
284    from test_socket_ssl
285    Memcheck:Cond
286    fun:BN_mod_exp_mont
290    from test_socket_ssl
291    Memcheck:Param
292    write(buf)
293    fun:write
294    obj:/usr/lib/libcrypto.so.0.9.7
298    from test_socket_ssl
299    Memcheck:Cond
300    fun:RSA_verify
304    from test_socket_ssl
305    Memcheck:Value4
306    fun:RSA_verify
310    from test_socket_ssl
311    Memcheck:Value4
312    fun:DES_set_key_unchecked
316    from test_socket_ssl
317    Memcheck:Value4
318    fun:DES_encrypt2
322    from test_socket_ssl
323    Memcheck:Cond
324    obj:/usr/lib/libssl.so.0.9.7
328    from test_socket_ssl
329    Memcheck:Value4
330    obj:/usr/lib/libssl.so.0.9.7
334    from test_socket_ssl
335    Memcheck:Cond
336    fun:BUF_MEM_grow_clean
340    from test_socket_ssl
341    Memcheck:Cond
342    fun:memcpy
343    fun:ssl3_read_bytes
347    from test_socket_ssl
348    Memcheck:Cond
349    fun:SHA1_Update
353    from test_socket_ssl
354    Memcheck:Value4
355    fun:SHA1_Update