View Ticket
Not logged in
Ticket UUID: 6390566ecd6d3bef132bcbe0511469a5a55f505d
Title: Testcase cmdAH-4.3.13.00DC0000.tail.utf-32.tcl8.a fails sometimes
Type: Bug Version: tip-656
Submitter: jan.nijtmans Created on: 2023-03-17 14:41:14
Subsystem: 16. Commands A-H Assigned To: jan.nijtmans
Priority: 5 Medium Severity: Important
Status: Open Last Modified: 2023-04-04 06:40:15
Resolution: Fixed Closed By: nobody
    Closed on: 2023-03-17 16:13:09
Description:

See: https://github.com/tcltk/tcl/actions/runs/4445176974/jobs/7804063186

This testcase sometimes fails. Since I have a pretty good idea what's going on here (the same bug has already been fixed for the utf-16 decode, which was found by valgrind), let's fix this.

This is not a problem introduced in the TIP #656 implementation! core-8-branch has the same problem, it just doesn't have a testcase for it.

==== cmdAH-4.3.13.00DC0000.tail.utf-32.tcl8.a encoding convertfrom -profile tcl8 utf-32 AÜ FAILED
==== Contents of test case:
encoding convertfrom -profile tcl8 utf-32 AÜ
---- Result was:
A\u20AC\u20AC\u20AC
---- Result should have been (exact matching):
A\uDC00
==== cmdAH-4.3.13.00DC0000.tail.utf-32.tcl8.a FAILED

User Comments: jan.nijtmans added on 2023-04-04 06:40:15:

Re-opening: saw it happen on trunk again (TIP #656 is in trunk now)


jan.nijtmans added on 2023-03-17 16:13:09:

Fixed [69a4b72885497f31|here]