Skip to content
Tcl Source Code History Of Ticket 3530536fffffffffffffffffffffffffffffffff
Login

History Of Ticket 3530536fffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 3530536fffffffffffffffffffffffffffffffff

  1. Ticket change [6b63fb48bd] (rid 128326) by dgp on 2012-05-29 14:24:53:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. 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
      
      
    4. foundin initialized to: "obsolete: 8.6b2"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "dgp"
    10. subsystem initialized to: "57. zlib"
    11. title initialized to: "zlib-7.4 fails on IRIX64"
    12. type initialized to: "Bug"
  2. Ticket change [301b5ffc21] (rid 93189) by dgp on 2012-05-29 23:03:06:

    1. icomment:
      Failure starts with checkin
      eb14b7478ae677a60c50 2012-05-03 20:41:22
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  3. Ticket change [90b162b5f0] (rid 120493) by dgp on 2012-05-29 23:23:43:

    1. assignee changed to: "nijtmans"
    2. 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.
      
      
    3. login: "dgp"
    4. mimetype: "text/plain"
    5. priority changed to: "7 High"
    6. username: "dgp"
  4. Ticket change [39929cf78c] (rid 112416) by nijtmans on 2012-05-30 12:00:51:

    1. 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.
      
      
    2. login: "nijtmans"
    3. mimetype: "text/plain"
    4. username: "nijtmans"
  5. Ticket change [07df5fc298] (rid 89480) by dgp on 2012-06-01 23:11:49:

    1. 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.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  6. Ticket change [8cea0c20e6] (rid 127819) by dgp on 2012-06-01 23:17:11:

    1. icomment:
      The changes on bug-3530536 branch do
      not correct the failure.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  7. Ticket change [3adbd3f26e] (rid 112631) by dgp on 2012-06-01 23:21:29:

    1. icomment:
      Further adding -DNOBYFOUR on either branch
      also does not correct the failure.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  8. Ticket change [83e1ec9481] (rid 117449) by dgp on 2012-06-01 23:36:53:

    1. icomment:
      Question is whether this change in result
      is a regression or a bug fix.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  9. Ticket change [672db70d7f] (rid 102858) by dgp on 2012-06-01 23:38:31:

    1. 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.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  10. Ticket change [718ca4fb7d] (rid 100697) by dgp on 2012-06-02 00:21:54:

    1. icomment:
      Worth noting that it's the adler32() checksum routine
      that is at issue here.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  11. Ticket change [0b26e2604f] (rid 113938) by dgp on 2012-06-02 00:34:40:

    1. icomment:
      Even that may not be right.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  12. Ticket change [3b3838131c] (rid 112699) by dgp on 2012-06-02 01:05:29:

    1. 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.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  13. Ticket change [e209b9b852] (rid 87548) by dgp on 2012-06-02 02:38:44:

    1. 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.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  14. Ticket change [2f4d60a5fd] (rid 93039) by nijtmans on 2012-06-02 04:12:45:

    1. assignee changed to: "dgp"
    2. 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?
      
      
    3. login: "nijtmans"
    4. mimetype: "text/plain"
    5. username: "nijtmans"
  15. Ticket change [c26cf23ea2] (rid 111483) by nijtmans on 2012-06-02 05:05:14:

    1. closedate changed to: "2012-06-01T22:05:14"
    2. closer changed to: "nijtmans"
    3. icomment:
      Fixed on trunk. Don, please evaluate!
      
      
    4. login: "nijtmans"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Pending"
    8. username: "nijtmans"
  16. Ticket change [e4bf1ad18f] (rid 88009) by dgp on 2012-06-05 20:49:24:

    1. icomment:
      With the new checkin, the test no longer fails.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  17. Ticket change [f241fd2bba] (rid 109507) by dgp on 2012-06-05 20:49:56:

    1. closedate changed to: "2012-06-05T13:49:56"
    2. closer changed to: "dgp"
    3. icomment:
      
      
      allow_comments - 1
      
      
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "dgp"