• Neal Norwitz's avatar
    Fix: · 18aa388c
    Neal Norwitz yazdı
     * 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.
    18aa388c
Adı
Son kayıt (commit)
Son güncelleme
..
darwin Loading commit data...
libffi Loading commit data...
libffi_arm_wince Loading commit data...
libffi_msvc Loading commit data...
libffi_osx Loading commit data...
_ctypes.c Loading commit data...
_ctypes_test.c Loading commit data...
_ctypes_test.h Loading commit data...
callbacks.c Loading commit data...
callproc.c Loading commit data...
cfield.c Loading commit data...
ctypes.h Loading commit data...
ctypes_dlfcn.h Loading commit data...
malloc_closure.c Loading commit data...
stgdict.c Loading commit data...