Artifacts Associated With Ticket 73d5cb615e
Ticket change [89cb08d973] (rid 229654) by apnadkarni on 2024-07-31 10:30:09:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-fossil-plain"
- 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 ``` - foundin initialized to: "9.0b3rc1"
- is_private initialized to: "0"
- login: "apnadkarni"
- priority initialized to: "5 Medium"
- private_contact initialized to: "9546e9877f1a8899e25a89082561ee694e7fb402"
- resolution initialized to: "None"
- severity initialized to: "Important"
- status initialized to: "Open"
- submitter initialized to: "apnadkarni"
- subsystem initialized to: "- New Builtin Commands"
- title initialized to: "zlib-8.8, zlib-8.16 fail on Fedora 40, gcc 14.1.1"
- type initialized to: "Bug"
Ticket change [f59a7481bd] (rid 229655) by apnadkarni on 2024-07-31 10:30:51:
- 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 ``` - login: "apnadkarni"
- mimetype: "text/plain"
- comment changed to:
Ticket change [3c8a9a9f63] (rid 234333) by jan.nijtmans on 2024-10-17 14:32:20:
- assignee changed to: "jan.nijtmans"
- 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.
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
Ticket change [45de95ade7] (rid 234341) by jan.nijtmans on 2024-10-17 21:29:16:
- foundin changed to: "8.6"
- 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.
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Pending"
Ticket change [5513c1d5cf] (rid 234342) by apnadkarni on 2024-10-18 05:57:21:
- 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.
- login: "apnadkarni"
- mimetype: "text/plain"
- icomment:
Ticket change [dd9e260d20] (rid 234373) by jan.nijtmans on 2024-10-18 15:19:56:
- closedate changed to: "2460602.13884535"
- closer changed to: "jan.nijtmans"
- icomment: "Fixed [6f86b010a65c4705|here]"
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- status changed to: "Closed"