Artifacts Associated With Ticket 3530536fffffffffffffffffffffffffffffffff
Ticket change [6b63fb48bd] (rid 128326) by dgp on 2012-05-29 14:24:53:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- comment initialized to:
==== zlib-7.4 zlib stream FAILED ==== Contents of test case: set s [zlib stream inflate] $s put -finalize [zlib deflate abcdeEDCBA] set data [$s get] set result [list [$s get] [format %x [$s checksum]]] $s close lappend result $data ---- Result was: {} 0 abcdeEDCBA ---- Result should have been (exact matching): {} 1 abcdeEDCBA ==== zlib-7.4 FAILED - foundin initialized to: "obsolete: 8.6b2"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "57. zlib"
- title initialized to: "zlib-7.4 fails on IRIX64"
- type initialized to: "Bug"
Ticket change [301b5ffc21] (rid 93189) by dgp on 2012-05-29 23:03:06:
- icomment:
Failure starts with checkin eb14b7478ae677a60c50 2012-05-03 20:41:22
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [90b162b5f0] (rid 120493) by dgp on 2012-05-29 23:23:43:
- assignee changed to: "nijtmans"
- icomment:
I don't know how much testing the zlib source code that bundles with Tcl actually gets. My understanding is that when Tcl is built, it prefers to use a zlib library already installed? Anyhow, the test IRIX64 system I'm using actually builds the zlib sources included with Tcl, and that explains why it gets different test results from checkin 08c5c40d934c74f1a37e171c1ecd6c1ce41a63d3 and the successor when the only difference between the two is the updated zlib 1.2.7 sources. They appear to compute a stream checksum differently.
- login: "dgp"
- mimetype: "text/plain"
- priority changed to: "7 High"
- username: "dgp"
Ticket change [39929cf78c] (rid 112416) by nijtmans on 2012-05-30 12:00:51:
- icomment:
Hm. Probably it has to do with the NOBYFOUR definition, or the ZSWAP32 macro Don, could you try to add -DNOBYFOUR to the CFLAGS. Or (in addition) test branch bug-3530536? We should defenitely report this to the zlib people. I suspect that for the Z_SOLO implementation, a part is removed from crc32.c which should not have been removed.
- login: "nijtmans"
- mimetype: "text/plain"
- username: "nijtmans"
- icomment:
Ticket change [07df5fc298] (rid 89480) by dgp on 2012-06-01 23:11:49:
- icomment:
Forcing my more mainstream Centos Linux system to use the zlib 1.2.7 sources we distribute I get the same failure. This isn't something specific to ancient IRIX. Appears that zlib 1.2.7 really is incompatible with zlib 1.2.6 in this way.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [8cea0c20e6] (rid 127819) by dgp on 2012-06-01 23:17:11:
- icomment:
The changes on bug-3530536 branch do not correct the failure.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [3adbd3f26e] (rid 112631) by dgp on 2012-06-01 23:21:29:
- icomment:
Further adding -DNOBYFOUR on either branch also does not correct the failure.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [83e1ec9481] (rid 117449) by dgp on 2012-06-01 23:36:53:
- icomment:
Question is whether this change in result is a regression or a bug fix.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [672db70d7f] (rid 102858) by dgp on 2012-06-01 23:38:31:
- icomment:
On these systems, I see the macro Z_U4 defined to be "unsigned" which is correct assuming the intent that Z_U4 should be the unsigned integral type that is exactly 4 bytes in size.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [718ca4fb7d] (rid 100697) by dgp on 2012-06-02 00:21:54:
- icomment:
Worth noting that it's the adler32() checksum routine that is at issue here.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [0b26e2604f] (rid 113938) by dgp on 2012-06-02 00:34:40:
- icomment:
Even that may not be right.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [3b3838131c] (rid 112699) by dgp on 2012-06-02 01:05:29:
- icomment:
The troublesome change is how the strm->adler field is initialized in inflate.c Comment suggests something changing in the way a Java test suite is accommodated.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [e209b9b852] (rid 87548) by dgp on 2012-06-02 02:38:44:
- icomment:
I'm not confident about this, but it appears this test may have little to no value anyway, at least in the portion that attempts to verify the checksum value. It appears that for an inflate stream like the one tested, no checksum is even kept. We're testing nothing more than the initialization value.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [2f4d60a5fd] (rid 93039) by nijtmans on 2012-06-02 04:12:45:
- assignee changed to: "dgp"
- icomment:
The inflate() doc says: > When processing gzip-wrapped deflate data, strm->adler32 is set to the CRC-32 of the output > producted so far. The CRC-32 is checked against the gzip trailer. deflate(): > deflate() sets strm->adler to the adler32 checksum of all input read > so far (that is, total_in bytes). Looks you are right. Possible fix committed in branch bug-3530536. This proves that we merely are checking the initialization value: Changing the initialization value makes the test pass ;-) So, either that or simply don't check [$s checksum] in zlib-7.4. I think that the [$s checksum] in zlib-7.3 is equally questionable, even though the documentation says otherwise. Don, agreed?
- login: "nijtmans"
- mimetype: "text/plain"
- username: "nijtmans"
Ticket change [c26cf23ea2] (rid 111483) by nijtmans on 2012-06-02 05:05:14:
- closedate changed to: "2012-06-01T22:05:14"
- closer changed to: "nijtmans"
- icomment:
Fixed on trunk. Don, please evaluate!
- login: "nijtmans"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Pending"
- username: "nijtmans"
Ticket change [e4bf1ad18f] (rid 88009) by dgp on 2012-06-05 20:49:24:
- icomment:
With the new checkin, the test no longer fails.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [f241fd2bba] (rid 109507) by dgp on 2012-06-05 20:49:56:
- closedate changed to: "2012-06-05T13:49:56"
- closer changed to: "dgp"
- icomment:
allow_comments - 1
- login: "dgp"
- mimetype: "text/plain"
- status changed to: "Closed"
- username: "dgp"