|
2024-10-26
| ||
| 22:03 | Merge [6f86b010a65c4705]: Fix [73d5cb615e]: zlib-8.8, zlib-8.16 fail on Fedora 40, gcc 14.1.1. check-in: 3d2662e1f2 user: pooryorick tags: unchained, INCOMPATIBLE_LICENSE | |
|
2024-10-18
| ||
| 15:19 | • Closed ticket [73d5cb615e]: zlib-8.8, zlib-8.16 fail on Fedora 40, gcc 14.1.1</i... artifact: dd9e260d20 user: jan.nijtmans | |
| 15:17 | Fix [73d5cb615e]: zlib-8.8, zlib-8.16 fail on Fedora 40, gcc 14.1.1 check-in: 6f86b010a6 user: jan.nijtmans tags: trunk, main | |
| 15:12 | Fix [73d5cb615e]: zlib-8.8, zlib-8.16 fail on Fedora 40, gcc 14.1.1 backport [cfdf80a2efc6]: zlib ch... check-in: 07b3bc2ff1 user: jan.nijtmans tags: core-8-branch | |
| 15:06 | Fix [73d5cb615e]: zlib-8.8, zlib-8.16 fail on Fedora 40, gcc 14.1.1 backport [cfdf80a2efc6]: zlib ch... check-in: 81ad0315e2 user: jan.nijtmans tags: core-8-6-branch | |
| 05:57 | • Ticket [73d5cb615e] zlib-8.8, zlib-8.16 fail on Fedora 40, gcc 14.1.1 status... artifact: 5513c1d5cf user: apnadkarni | |
|
2024-10-17
| ||
| 21:29 | • Pending ticket [73d5cb615e]. artifact: 45de95ade7 user: jan.nijtmans | |
| 21:23 | Proposed fix for [73d5cb615e]: zlib-8.8, zlib-8.16 fail on Fedora 40, gcc 14.1.1 closed check-in: e5aa1e624a user: jan.nijtmans tags: bug-73d5cb615e | |
| 14:32 | • Ticket [73d5cb615e] zlib-8.8, zlib-8.16 fail on Fedora 40, gcc 14.1.1 status... artifact: 3c8a9a9f63 user: jan.nijtmans | |
|
2024-07-31
| ||
| 10:30 | • Ticket [73d5cb615e]: 3 changes artifact: f59a7481bd user: apnadkarni | |
| 10:30 | • New ticket [73d5cb615e]. artifact: 89cb08d973 user: apnadkarni | |
zlib-8.8, zlib-8.16 fail on Fedora 40, gcc 14.1.1
Closed / Fixed73d5cb615edb917577cccac1c54e22b99a48a2c7Created 2 years agoUpdated 2 years ago
Descriptionplain2024-07-31 10:30:09
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
```
Referenced by5
3d2662e1f2Merge [6f86b010a65c4705]: Fix [73d5cb615e]: zlib-8.8, zlib-8.16 fail on Fedora 40, gcc 14.1.1. check-in2024-10-26 22:03:116f86b010a6Fix [73d5cb615e]: zlib-8.8, zlib-8.16 fail on Fedora 40, gcc 14.1.1 check-in2024-10-18 15:17:1207b3bc2ff1Fix [73d5cb615e]: zlib-8.8, zlib-8.16 fail on Fedora 40, gcc 14.1.1 backport [cfdf80a2efc6]: zlib checksum is negative check-in2024-10-18 15:12:2681ad0315e2Fix [73d5cb615e]: zlib-8.8, zlib-8.16 fail on Fedora 40, gcc 14.1.1 backport [cfdf80a2efc6]: zlib checksum is negative check-in2024-10-18 15:06:55e5aa1e624aProposed fix for [73d5cb615e]: zlib-8.8, zlib-8.16 fail on Fedora 40, gcc 14.1.1 check-in2024-10-17 21:23:55
apnadkarni Ticket [73d5cb615e]: 3 changes
[History diff]2024-07-31 10:30:51
jan.nijtmanswiki2024-10-17 14:32:20
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.
jan.nijtmanswiki2024-10-17 21:29:16
Let's [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.
apnadkarniplain2024-10-18 05:57:21
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.
jan.nijtmanswiki2024-10-18 15:19:56
Fixed [here]
Log in (anonymous is fine) to add a comment.