Skip to content
Tcl Source Code History Of Ticket 73d5cb615e
Login

History Of Ticket 73d5cb615e

Artifacts Associated With Ticket 73d5cb615e

  1. Ticket change [89cb08d973] (rid 229654) by apnadkarni on 2024-07-31 10:30:09:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-plain"
    4. comment initialized to:
      Not seen on Windows or Ubuntu 20 (gcc 9).
      
      ```
      Tests began at Wed Jul 31 12:27:10 CEST 2024
      zlib.test
      
      
      ==== zlib-8.8 transformation and fconfigure FAILED
      ==== Contents of test case:
      
          zlib push compress $outSide -dictionary $spdyDict
          fconfigure $outSide -blocking 1 -translation binary -buffering none
          fconfigure $inSide -blocking 1 -translation binary
          puts -nonewline $outSide $spdyHeaders
          chan pop $outSide
          chan close $outSide
          set compressed [read $inSide]
          catch {zlib decompress $compressed} err opt
          list [string length [zlib compress $spdyHeaders]]  [string length $compressed]  $err [dict get $opt -errorcode] [zlib adler32 $spdyDict]
      
      ---- Result was:
      261 227 {need dictionary} {TCL ZLIB NEED_DICT 2381337010} 2381337010
      ---- Result should have been (exact matching):
      260 222 {need dictionary} {TCL ZLIB NEED_DICT 2381337010} 2381337010
      ==== zlib-8.8 FAILED
      
      
      
      ==== zlib-8.16 Bug 3603553: buffer transfer with large writes FAILED
      ==== Contents of test case:
      
          set f [open $file wb]
          fconfigure $f -buffering none
          zlib push gzip $f
          puts -nonewline $f $largeData
          close $f
          file size $file
      
      ---- Result was:
      54408
      ---- Result should have been (exact matching):
      57647
      ==== zlib-8.16 FAILED
      
      
      Tests ended at Wed Jul 31 12:27:11 CEST 2024
      all.tcl:        Total   73      Passed  69      Skipped 2       Failed  2
      
      ```
      
    5. foundin initialized to: "9.0b3rc1"
    6. is_private initialized to: "0"
    7. login: "apnadkarni"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "9546e9877f1a8899e25a89082561ee694e7fb402"
    10. resolution initialized to: "None"
    11. severity initialized to: "Important"
    12. status initialized to: "Open"
    13. submitter initialized to: "apnadkarni"
    14. subsystem initialized to: "- New Builtin Commands"
    15. title initialized to: "zlib-8.8, zlib-8.16 fail on Fedora 40, gcc 14.1.1"
    16. type initialized to: "Bug"
  2. Ticket change [f59a7481bd] (rid 229655) by apnadkarni on 2024-07-31 10:30:51:

    1. comment changed to:
      Seen on Fedora 40, gcc 14. Not seen on Windows or Ubuntu 20 (gcc 9).
      
      ```
      Tests began at Wed Jul 31 12:27:10 CEST 2024
      zlib.test
      
      
      ==== zlib-8.8 transformation and fconfigure FAILED
      ==== Contents of test case:
      
          zlib push compress $outSide -dictionary $spdyDict
          fconfigure $outSide -blocking 1 -translation binary -buffering none
          fconfigure $inSide -blocking 1 -translation binary
          puts -nonewline $outSide $spdyHeaders
          chan pop $outSide
          chan close $outSide
          set compressed [read $inSide]
          catch {zlib decompress $compressed} err opt
          list [string length [zlib compress $spdyHeaders]]  [string length $compressed]  $err [dict get $opt -errorcode] [zlib adler32 $spdyDict]
      
      ---- Result was:
      261 227 {need dictionary} {TCL ZLIB NEED_DICT 2381337010} 2381337010
      ---- Result should have been (exact matching):
      260 222 {need dictionary} {TCL ZLIB NEED_DICT 2381337010} 2381337010
      ==== zlib-8.8 FAILED
      
      
      
      ==== zlib-8.16 Bug 3603553: buffer transfer with large writes FAILED
      ==== Contents of test case:
      
          set f [open $file wb]
          fconfigure $f -buffering none
          zlib push gzip $f
          puts -nonewline $f $largeData
          close $f
          file size $file
      
      ---- Result was:
      54408
      ---- Result should have been (exact matching):
      57647
      ==== zlib-8.16 FAILED
      
      
      Tests ended at Wed Jul 31 12:27:11 CEST 2024
      all.tcl:        Total   73      Passed  69      Skipped 2       Failed  2
      
      ```
      
    2. login: "apnadkarni"
    3. mimetype: "text/plain"
  3. Ticket change [3c8a9a9f63] (rid 234333) by jan.nijtmans on 2024-10-17 14:32:20:

    1. assignee changed to: "jan.nijtmans"
    2. icomment:
      The same failures can be seen here:
      [https://download.copr.fedorainfracloud.org/results/jskarvad/TclTK9.0.0/fedora-rawhide-x86_64/08144852-tcl/builder-live.log.gz]
      
      Note that this build uses zlib-ng-compat in stead of zlib. So, I suspect that zlib-ng-compat is not so compatible with zlib as it should be.
      
    3. login: "jan.nijtmans"
    4. mimetype: "text/x-fossil-wiki"
  4. Ticket change [45de95ade7] (rid 234341) by jan.nijtmans on 2024-10-17 21:29:16:

    1. foundin changed to: "8.6"
    2. icomment:
      Let's [e5aa1e624a1c6250|change] the testcases so they pass on Fedora (zlib-ng) too.
      
      In zlib-8.8, it doesn't matter much whether $spdyHeaders compress to 261 or to 260 bytes, but it matters that uncompressing results in the original length.
      
      In zlib-8.16, we see that zlib-ng even compresses more than zlib. So we accept anything less than 57648.
      
      Those changes don't affect the intention of the test-cases.
      
    3. login: "jan.nijtmans"
    4. mimetype: "text/x-fossil-wiki"
    5. resolution changed to: "Fixed"
    6. status changed to: "Pending"
  5. Ticket change [5513c1d5cf] (rid 234342) by apnadkarni on 2024-10-18 05:57:21:

    1. icomment:
      Thanks for looking into this. It would have not occurred to me that actual zlib library compression would have changed.
      
      I suppose the test changes are ok.
      
    2. login: "apnadkarni"
    3. mimetype: "text/plain"
  6. Ticket change [dd9e260d20] (rid 234373) by jan.nijtmans on 2024-10-18 15:19:56:

    1. closedate changed to: "2460602.13884535"
    2. closer changed to: "jan.nijtmans"
    3. icomment: "Fixed [6f86b010a65c4705|here]"
    4. login: "jan.nijtmans"
    5. mimetype: "text/x-fossil-wiki"
    6. status changed to: "Closed"