Staging
v0.8.1
https://github.com/python/cpython
Revision 18aa388ca084e1d40aa48c8c8f1b4f730c6fe059 authored by Neal Norwitz on 24 August 2008, 05:04:52 UTC, committed by Neal Norwitz on 24 August 2008, 05:04:52 UTC
 * crashes on memory allocation failure found with failmalloc
 * memory leaks found with valgrind
 * compiler warnings in opt mode which would lead to invalid memory reads
 * problem using wrong name in decimal module reported by pychecker

Update the valgrind suppressions file with new leaks that are small/one-time
leaks we don't care about (ie, they are too hard to fix).

TBR=barry
TESTED=./python -E -tt ./Lib/test/regrtest.py -uall (both debug and opt modes)
  in opt mode:
  valgrind -q --leak-check=yes --suppressions=Misc/valgrind-python.supp \
    ./python -E -tt ./Lib/test/regrtest.py -uall,-bsddb,-compiler \
                        -x test_logging test_ssl test_multiprocessing
  valgrind -q --leak-check=yes --suppressions=Misc/valgrind-python.supp \
    ./python -E -tt ./Lib/test/regrtest.py test_multiprocessing
  for i in `seq 1 4000` ; do
    LD_PRELOAD=~/local/lib/libfailmalloc.so FAILMALLOC_INTERVAL=$i \
        ./python -c pass
  done

At least some of these fixes should probably be backported to 2.5.
1 parent 21d2ab7
History
Tip revision: 18aa388ca084e1d40aa48c8c8f1b4f730c6fe059 authored by Neal Norwitz on 24 August 2008, 05:04:52 UTC
Fix:
Tip revision: 18aa388
File Mode Size
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
RISCOS
Tools
.bzrignore -rw-r--r-- 673 bytes
.hgignore -rw-r--r-- 866 bytes
.hgtags -rw-r--r-- 3.6 KB
LICENSE -rw-r--r-- 13.4 KB
Makefile.pre.in -rw-r--r-- 37.6 KB
README -rw-r--r-- 55.8 KB
configure -rwxr-xr-x 661.7 KB
configure.in -rw-r--r-- 102.5 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 28.6 KB
setup.py -rw-r--r-- 79.6 KB

README

back to top