Skip to content
Tcl Source Code History Of Ticket 98c8b3ec12
Login

History Of Ticket 98c8b3ec12

Artifacts Associated With Ticket 98c8b3ec12

  1. Ticket change [086c46e79a] (rid 133602) by dkf on 2013-09-01 20:16:07:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/html"
    4. comment initialized to:
      Doing a <tt>make test</tt> for the trunk, I noticed that <tt>zlib-8.10</tt> is broken due to the <tt>-errorcode</tt> element being not present in the option dictionary. This is a surprising breakage; I've not yet tracked down what caused it.
      
      <pre>
      ==== zlib-8.10 transformtion and fconfigure FAILED
      ==== Contents of test case:
      
          zlib push deflate $outSide -dictionary $spdyDict
          fconfigure $outSide -blocking 0 -translation binary -buffering none
          fconfigure $inSide -blocking 0 -translation binary
          puts -nonewline $outSide $spdyHeaders
          chan pop $outSide
          set compressed [read $inSide]
          catch {zlib inflate $compressed} err opt
          list [string length [zlib deflate $spdyHeaders]]  [string length $compressed]  $err [dict get $opt -errorcode]
      
      ---- Test generated error; Return code was: 1
      ---- Return code should have been one of: 0 2
      ---- errorInfo: key "-errorcode" not known in dictionary
          while executing
      "dict get $opt -errorcode"
          ("uplevel" body line 9)
          invoked from within
      "uplevel 1 $script"
      ---- errorCode: TCL LOOKUP DICT -errorcode
      ==== zlib-8.10 FAILED
      </pre>
      
    5. foundin initialized to: "3534dc020d"
    6. is_private initialized to: "0"
    7. login: "dkf"
    8. priority initialized to: "5 Medium"
    9. resolution initialized to: "None"
    10. severity initialized to: "Severe"
    11. status initialized to: "Open"
    12. submitter initialized to: "dkf"
    13. subsystem initialized to: "57. zlib"
    14. title initialized to: "zlib-8.10 is broken"
    15. type initialized to: "Bug"
  2. Ticket change [1d26edeee6] (rid 133603) by dkf on 2013-09-01 20:16:44:

    1. assignee changed to: "dkf"
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. priority changed to: "7 High"
  3. Ticket change [2614c6e87a] (rid 133606) by dkf on 2013-09-02 08:00:14:

    1. assignee changed to: "dgp"
    2. icomment:
      I can't find any recent changes in <tt>generic/tclZlib.c</tt> or <tt>tests/zlib.test</tt> that might cause this. Assigning to someone who might've touched the generic parts of error handling.
      
    3. login: "dkf"
    4. mimetype: "text/html"
    5. username: "dkf"
  4. Ticket change [332576787e] (rid 133615) by dgp on 2013-09-02 15:59:57:

    1. icomment:
      I'd like to help, but test zlib-8.10 does not
      fail for me, and without the ability to reproduce
      I don't know where to start.
      
      Any tips how to induce failure?
      
    2. login: "dgp"
    3. mimetype: "text/plain"
  5. Ticket change [e6e8cb632a] (rid 133625) by jan.nijtmans on 2013-09-02 21:47:58:

    1. icomment:
      Tried it on Linux, Cygwin and win32/64, on none of those platforms this test fails for me. Something in your environment changed?
      
    2. login: "jan.nijtmans"
    3. mimetype: "text/plain"
  6. Ticket change [ea6ba322bb] (rid 133668) by dkf on 2013-09-04 09:47:15:

    1. icomment:
      I think this has to do with the version of zlib itself in use (I think it's 1.2.5; “Gee! Thanks a lot, Apple!”)<p>
      I've improved the test so in this case it now fails with a less unpleasant error:
      <pre>
      ==== zlib-8.10 transformation and fconfigure FAILED
      ==== Contents of test case:
      
          zlib push deflate $outSide -dictionary $spdyDict
          fconfigure $outSide -blocking 0 -translation binary -buffering none
          fconfigure $inSide -blocking 0 -translation binary
          puts -nonewline $outSide $spdyHeaders
          chan pop $outSide
          set compressed [read $inSide]
          catch {
      	zlib inflate $compressed
      	throw BOGUS "should be unreachable"
          } err opt
          list [string length [zlib deflate $spdyHeaders]]  [string length $compressed]  $err [dict get $opt -errorcode]
      
      ---- Result was:
      254 212 {should be unreachable} BOGUS
      ---- Result should have been (exact matching):
      254 212 {data error} {TCL ZLIB DATA}
      ==== zlib-8.10 FAILED
      </pre>
      That takes it back to being just a failing test...
      
    2. login: "dkf"
    3. mimetype: "text/html"
    4. severity changed to: "Important"
    5. username: "dkf"
  7. Ticket change [053eb7af09] (rid 134655) by dkf on 2013-10-10 21:26:25:

    1. closedate changed to: "2456576.39334732"
    2. closer changed to: "dkf"
    3. icomment:
      Thinking about this, there's not much we can really do to reliably fix it, especially as the problem appears to only be present in some older versions of the zlib library. Constrained the test to be not run on known-offending systems.
      
    4. login: "dkf"
    5. mimetype: "text/html"
    6. resolution changed to: "Wont Fix"
    7. status changed to: "Closed"
    8. username: "dkf"