[Zlib-devel] Build reports for zlib-1.2.2.4

Nelson H. F. Beebe beebe at math.utah.edu
Thu Jul 14 11:07:33 EDT 2005


I got successful builds and validation tests of zlib-1.2.2.4 in 79
build environments on about 20 flavors of Unix.

I have a single failure to report:

============================================================
Machinetype:            DEC Alpha 4100-5/466 (4 21164 EV5 CPUs, 466 MHz, 2GB RAM);          OSF/1 4.0F
Remote cc version:      DEC C V5.9-005 on Digital UNIX V4.0 (Rev. 1229)
Configure environment:  CC=cc CFLAGS="-ieee -I/usr/local/include" CXX=cxx CXXFLAGS="-ieee -I/usr/local/include" LDFLAGS="-Wl,-rpath,/usr/local/lib -Wl,-oldstyle_liblookup -L/usr/local/lib" FC=f77 F77=f77 
...
./example
zlib version 1.2.2.4 = 0x1224, compile flags = 0x30000a9
uncompress(): hello, hello!
Segmentation fault (core dumped)

Here is a debug traceback, showing a NULL pointer passed to strlen():

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

(dbx) run
zlib version 1.2.2.4 = 0x1224, 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(0x11fffd620, 0x1400021c8, 0x400021d0, 0xffffffffc90c2086, 0x400007f8) [0x3ff800da08c]
   3 gzprintf(0x1400021c0, 0x140004100, 0x120002c24, 0x140004100, 0x1400021c0) [0x12000b978]
   4 test_gzio(0x1400022a8, 0x9c40, 0xe, 0x13, 0x140006000) [0x120002ca8]
   5 main(0x14000d320, 0x9c40, 0x11fffe6e8, 0x3ff00000001, 0x1400022a0) [0x1200045e0]
(dbx) 

-------------------------------------------------------------------------------
- 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