Python-1.5.2 testing zlib

Michael P. Reilly arcege at shore.net
Sun Apr 18 08:17:17 EDT 1999


Piers Lauder <piers at cs.su.oz.au> wrote:
: My "make check" fails with a core dump after "test_zlib".
: Runng that test by hand shows:

: : s Python-1.5.2 ; ./python Lib/test/test_zlib.py
: 0xe5c1a120 0x43b6aa94
: 0xbd602f7 0xbd602f7
: expecting Bad compression level
: expecting Invalid initialization option
: expecting Invalid initialization option
: normal compression/decompression succeeded
: compress/decompression obj succeeded
: decompress with init options succeeded
: decompressobj with init options succeeded
: Bus error - core dumped

: Adding a print at the start of the last loop:
: : s Python-1.5.2 ; ./python Lib/test/test_zlib.py
: 0xe5c1a120 0x43b6aa94
: 0xbd602f7 0xbd602f7
: expecting Bad compression level
: expecting Invalid initialization option
: expecting Invalid initialization option
: normal compression/decompression succeeded
: compress/decompression obj succeeded
: decompress with init options succeeded
: decompressobj with init options succeeded
: Decompress: flush mode=0, level=0
: Memory fault - core dumped

: Anyone else seen this?

: (My system:
: : s Python-1.5.2 ; uname -a
: SunOS staff 5.6 Generic_105181-05 sun4u sparc SUNW,Ultra-2
: : s Python-1.5.2 ; ./python
: Python 1.5.2 (#2, Apr 17 1999, 20:08:31)  [GCC 2.8.1] on sunos5
: Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
: )

Yes, I found this on Solaris for Intel 2.6 as well.  I hadn't gotten
time to look into it more.  For now, I've removed the zlib module from
the build and continued on with my own system tests.  I was thinking I
just had a _very_ old version of libz (Oct 97).

Since I didn't get time to download the libz, I couldn't test this on
the AIX 4.2 systems at work.

SunOS golem 5.6 Generic_105182-05 i86pc i386 i86pc
Python 1.5.2 (#5, Apr 17 1999, 14:07:59)  [GCC 2.7.2.2] on sunos5

  -Arcege





More information about the Python-list mailing list