[Zlib-devel] zlib 1.2.2.3 available for testing

Nelson H. F. Beebe beebe at math.utah.edu
Mon May 30 12:12:14 EDT 2005


On Saturday, 28-May-2005, I did builds of zlib-1.2.2.3 in 36
development environments on about 20+ flavors of Unix.  All but one
passed the validation tests.  That single failure was DEC Alpha OSF/1
4.0 compiled with native cc: the zlib test died with a "Memory fault"
error, with this traceback"

% dbx example
dbx version 3.11.10
Type 'help' for help.

main: 519  uLong comprLen = 10000*sizeof(int); /* don't overflow on MSDOS */
(dbx) run
zlib version 1.2.2.3 = 0x1223, compile flags = 0x30000a9
uncompress(): hello, hello!
signal Segmentation fault at >*[strlen, 0x3ff801a2ce0]  ldq_u   r1, 0(r16)
(dbx) where
>  0 strlen(0x0, 0x0, 0x0, 0x0, 0x0) [0x3ff801a2ce0]
   1 _doprnt(0x0, 0x0, 0x0, 0x0, 0x0) [0x3ff800ddcc8]
   2 sprintf(0x11fffd640, 0x140002308, 0x40002310, 0x6c6c6568, 0x7fff) [0x3ff800da08c]
   3 gzprintf(file = 0x140004100, format = 0x140002308 = ", %s!", a1 = 1073750800, a2 = 1819043176, a3 = 32767, a4 = 0, a5 = 536889140, a6 = 40000, a7 = 1073806432, a8 = 40000, a9 = 14, a10 = 14, a11 = 40000, a12 =1073751016, a13 = 1073766400, a14 = 40000, a15 = 536881676, a16 = -2146941427, a17 = 1074290688, a18 = -1073216864, a19 = 40000, a20 = 536864488) ["gzio.c":652, 0x12000c288]
   4 test_gzio(fname = 0x1400023e8 = "foo.gz", uncompr = 0x14000fc60, uncomprLen = 40000) ["example.c":108, 0x120002d5c]
   5 main(argc = 1, argv = 0x11fffe6e8) ["example.c":545, 0x120004730]

After more folks complete testing, I can revisit this.  As a quick
test, I recompiled gzio.c, minigzip.c, and example.c with gcc, and the
tests then passed.  This may suggest a compiler error, and the 1.2.2.2
version had the same failure.  However zlib-1.2.2 and earlier passed
their tests on this system with native cc, so further analysis is
desirable.

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- University of Utah                    FAX: +1 801 581 4148                  -
- Department of Mathematics, 110 LCB    Internet e-mail: beebe at math.utah.edu  -
- 155 S 1400 E RM 233                       beebe at acm.org  beebe at computer.org -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe  -
-------------------------------------------------------------------------------




More information about the Zlib-devel mailing list