Warning, /games/kajongg/src/vg.supp is written in an unsupported language. File is not indexed.
0001 #
0002 # This is a valgrind suppression file that should be used when using valgrind.
0003 #
0004 # Here's an example of running valgrind:
0005 #
0006 # cd python/dist/src
0007 # valgrind --tool=memcheck --suppressions=Misc/valgrind-python.supp \
0008 # ./python -E -tt ./Lib/test/regrtest.py -u bsddb,network
0009 #
0010 # You must edit Objects/obmalloc.c and uncomment Py_USING_MEMORY_DEBUGGER
0011 # to use the preferred suppressions with Py_ADDRESS_IN_RANGE.
0012 #
0013 # If you do not want to recompile Python, you can uncomment
0014 # suppressions for PyObject_Free and PyObject_Realloc.
0015 #
0016 # See Misc/README.valgrind for more information.
0017
0018 # all tool names: Addrcheck,Memcheck,cachegrind,helgrind,massif
0019 {
0020 ADDRESS_IN_RANGE/Invalid read of size 4
0021 Memcheck:Addr4
0022 fun:Py_ADDRESS_IN_RANGE
0023 }
0024
0025 {
0026 ADDRESS_IN_RANGE/Invalid read of size 4
0027 Memcheck:Value4
0028 fun:Py_ADDRESS_IN_RANGE
0029 }
0030
0031 {
0032 ADDRESS_IN_RANGE/Invalid read of size 8 (x86_64 aka amd64)
0033 Memcheck:Value8
0034 fun:Py_ADDRESS_IN_RANGE
0035 }
0036
0037 {
0038 ADDRESS_IN_RANGE/Conditional jump or move depends on uninitialised value
0039 Memcheck:Cond
0040 fun:Py_ADDRESS_IN_RANGE
0041 }
0042
0043 #
0044 # Leaks (including possible leaks)
0045 # Hmmm, I wonder if this masks some real leaks. I think it does.
0046 # Will need to fix that.
0047 #
0048
0049 {
0050 Suppress leaking the GIL. Happens once per process, see comment in ceval.c.
0051 Memcheck:Leak
0052 fun:malloc
0053 fun:PyThread_allocate_lock
0054 fun:PyEval_InitThreads
0055 }
0056
0057 {
0058 Suppress leaking the GIL after a fork.
0059 Memcheck:Leak
0060 fun:malloc
0061 fun:PyThread_allocate_lock
0062 fun:PyEval_ReInitThreads
0063 }
0064
0065 {
0066 Suppress leaking the autoTLSkey. This looks like it shouldn't leak though.
0067 Memcheck:Leak
0068 fun:malloc
0069 fun:PyThread_create_key
0070 fun:_PyGILState_Init
0071 fun:Py_InitializeEx
0072 fun:Py_Main
0073 }
0074
0075 {
0076 Hmmm, is this a real leak or like the GIL?
0077 Memcheck:Leak
0078 fun:malloc
0079 fun:PyThread_ReInitTLS
0080 }
0081
0082 {
0083 Handle PyMalloc confusing valgrind (possibly leaked)
0084 Memcheck:Leak
0085 fun:realloc
0086 fun:_PyObject_GC_Resize
0087 fun:COMMENT_THIS_LINE_TO_DISABLE_LEAK_WARNING
0088 }
0089
0090 {
0091 Handle PyMalloc confusing valgrind (possibly leaked)
0092 Memcheck:Leak
0093 fun:malloc
0094 fun:_PyObject_GC_New
0095 fun:COMMENT_THIS_LINE_TO_DISABLE_LEAK_WARNING
0096 }
0097
0098 {
0099 Handle PyMalloc confusing valgrind (possibly leaked)
0100 Memcheck:Leak
0101 fun:malloc
0102 fun:_PyObject_GC_NewVar
0103 fun:COMMENT_THIS_LINE_TO_DISABLE_LEAK_WARNING
0104 }
0105
0106 #
0107 # Non-python specific leaks
0108 #
0109
0110 {
0111 Handle pthread issue (possibly leaked)
0112 Memcheck:Leak
0113 fun:calloc
0114 fun:allocate_dtv
0115 fun:_dl_allocate_tls_storage
0116 fun:_dl_allocate_tls
0117 }
0118
0119 {
0120 Handle pthread issue (possibly leaked)
0121 Memcheck:Leak
0122 fun:memalign
0123 fun:_dl_allocate_tls_storage
0124 fun:_dl_allocate_tls
0125 }
0126
0127 {
0128 ADDRESS_IN_RANGE/Invalid read of size 4
0129 Memcheck:Addr4
0130 fun:PyObject_Free
0131 }
0132
0133 {
0134 ADDRESS_IN_RANGE/Invalid read of size 4
0135 Memcheck:Value4
0136 fun:PyObject_Free
0137 }
0138
0139 {
0140 ADDRESS_IN_RANGE/Conditional jump or move depends on uninitialised value
0141 Memcheck:Cond
0142 fun:PyObject_Free
0143 }
0144
0145 {
0146 ADDRESS_IN_RANGE/Invalid read of size 4
0147 Memcheck:Addr4
0148 fun:PyObject_Realloc
0149 }
0150
0151 {
0152 ADDRESS_IN_RANGE/Invalid read of size 4
0153 Memcheck:Value4
0154 fun:PyObject_Realloc
0155 }
0156
0157 {
0158 ADDRESS_IN_RANGE/Conditional jump or move depends on uninitialised value
0159 Memcheck:Cond
0160 fun:PyObject_Realloc
0161 }
0162
0163 ###
0164 ### All the suppressions below are for errors that occur within libraries
0165 ### that Python uses. The problems to not appear to be related to Python's
0166 ### use of the libraries.
0167 ###
0168
0169 {
0170 Generic ubuntu ld problems
0171 Memcheck:Addr8
0172 obj:/lib/ld-2.4.so
0173 obj:/lib/ld-2.4.so
0174 obj:/lib/ld-2.4.so
0175 obj:/lib/ld-2.4.so
0176 }
0177
0178 {
0179 Generic gentoo ld problems
0180 Memcheck:Cond
0181 obj:/lib/ld-2.3.4.so
0182 obj:/lib/ld-2.3.4.so
0183 obj:/lib/ld-2.3.4.so
0184 obj:/lib/ld-2.3.4.so
0185 }
0186
0187 {
0188 DBM problems, see test_dbm
0189 Memcheck:Param
0190 write(buf)
0191 fun:write
0192 obj:/usr/lib/libdb1.so.2
0193 obj:/usr/lib/libdb1.so.2
0194 obj:/usr/lib/libdb1.so.2
0195 obj:/usr/lib/libdb1.so.2
0196 fun:dbm_close
0197 }
0198
0199 {
0200 DBM problems, see test_dbm
0201 Memcheck:Value8
0202 fun:memmove
0203 obj:/usr/lib/libdb1.so.2
0204 obj:/usr/lib/libdb1.so.2
0205 obj:/usr/lib/libdb1.so.2
0206 obj:/usr/lib/libdb1.so.2
0207 fun:dbm_store
0208 fun:dbm_ass_sub
0209 }
0210
0211 {
0212 DBM problems, see test_dbm
0213 Memcheck:Cond
0214 obj:/usr/lib/libdb1.so.2
0215 obj:/usr/lib/libdb1.so.2
0216 obj:/usr/lib/libdb1.so.2
0217 fun:dbm_store
0218 fun:dbm_ass_sub
0219 }
0220
0221 {
0222 DBM problems, see test_dbm
0223 Memcheck:Cond
0224 fun:memmove
0225 obj:/usr/lib/libdb1.so.2
0226 obj:/usr/lib/libdb1.so.2
0227 obj:/usr/lib/libdb1.so.2
0228 obj:/usr/lib/libdb1.so.2
0229 fun:dbm_store
0230 fun:dbm_ass_sub
0231 }
0232
0233 {
0234 GDBM problems, see test_gdbm
0235 Memcheck:Param
0236 write(buf)
0237 fun:write
0238 fun:gdbm_open
0239
0240 }
0241
0242 {
0243 ZLIB problems, see test_gzip
0244 Memcheck:Cond
0245 obj:/lib/libz.so.1.2.3
0246 obj:/lib/libz.so.1.2.3
0247 fun:deflate
0248 }
0249
0250 {
0251 Avoid problems w/readline doing a putenv and leaking on exit
0252 Memcheck:Leak
0253 fun:malloc
0254 fun:xmalloc
0255 fun:sh_set_lines_and_columns
0256 fun:_rl_get_screen_size
0257 fun:_rl_init_terminal_io
0258 obj:/lib/libreadline.so.4.3
0259 fun:rl_initialize
0260 }
0261
0262 ###
0263 ### These occur from somewhere within the SSL, when running
0264 ### test_socket_sll. They are too general to leave on by default.
0265 ###
0266 ###{
0267 ### somewhere in SSL stuff
0268 ### Memcheck:Cond
0269 ### fun:memset
0270 ###}
0271 ###{
0272 ### somewhere in SSL stuff
0273 ### Memcheck:Value4
0274 ### fun:memset
0275 ###}
0276 ###
0277 ###{
0278 ### somewhere in SSL stuff
0279 ### Memcheck:Cond
0280 ### fun:MD5_Update
0281 ###}
0282 ###
0283 ###{
0284 ### somewhere in SSL stuff
0285 ### Memcheck:Value4
0286 ### fun:MD5_Update
0287 ###}
0288
0289 #
0290 # All of these problems come from using test_socket_ssl
0291 #
0292 {
0293 from test_socket_ssl
0294 Memcheck:Cond
0295 fun:BN_bin2bn
0296 }
0297
0298 {
0299 from test_socket_ssl
0300 Memcheck:Cond
0301 fun:BN_num_bits_word
0302 }
0303
0304 {
0305 from test_socket_ssl
0306 Memcheck:Value4
0307 fun:BN_num_bits_word
0308 }
0309
0310 {
0311 from test_socket_ssl
0312 Memcheck:Cond
0313 fun:BN_mod_exp_mont_word
0314 }
0315
0316 {
0317 from test_socket_ssl
0318 Memcheck:Cond
0319 fun:BN_mod_exp_mont
0320 }
0321
0322 {
0323 from test_socket_ssl
0324 Memcheck:Param
0325 write(buf)
0326 fun:write
0327 obj:/usr/lib/libcrypto.so.0.9.7
0328 }
0329
0330 {
0331 from test_socket_ssl
0332 Memcheck:Cond
0333 fun:RSA_verify
0334 }
0335
0336 {
0337 from test_socket_ssl
0338 Memcheck:Value4
0339 fun:RSA_verify
0340 }
0341
0342 {
0343 from test_socket_ssl
0344 Memcheck:Value4
0345 fun:DES_set_key_unchecked
0346 }
0347
0348 {
0349 from test_socket_ssl
0350 Memcheck:Value4
0351 fun:DES_encrypt2
0352 }
0353
0354 {
0355 from test_socket_ssl
0356 Memcheck:Cond
0357 obj:/usr/lib/libssl.so.0.9.7
0358 }
0359
0360 {
0361 from test_socket_ssl
0362 Memcheck:Value4
0363 obj:/usr/lib/libssl.so.0.9.7
0364 }
0365
0366 {
0367 from test_socket_ssl
0368 Memcheck:Cond
0369 fun:BUF_MEM_grow_clean
0370 }
0371
0372 {
0373 from test_socket_ssl
0374 Memcheck:Cond
0375 fun:memcpy
0376 fun:ssl3_read_bytes
0377 }
0378
0379 {
0380 from test_socket_ssl
0381 Memcheck:Cond
0382 fun:SHA1_Update
0383 }
0384
0385 {
0386 from test_socket_ssl
0387 Memcheck:Value4
0388 fun:SHA1_Update
0389 }