Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Testcase cmdAH-4.3.13.00DC0000.tail.utf-32.tcl8.a fails sometimes

Closed / Fixed6390566ecd6d3bef132bcbe0511469a5a55f505dCreated 4 years agoUpdated 44 days ago
Descriptionwiki2023-03-17 14:41:14
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
Referenced by3
  • 95391bf2c6Merge trunk [b27eacb7fc]: Fix [6390566ecd]: Testcase cmdAH-4.3.13.00DC0000.tail.utf-32.tcl8.a fails sometimes. check-in2023-04-07 19:42:05
  • b27eacb7fcFix [6390566ecd]: Testcase cmdAH-4.3.13.00DC0000.tail.utf-32.tcl8.a fails sometimes check-in2023-04-04 22:47:27
  • 69a4b72885Fix [6390566ecd]: Testcase cmdAH-4.3.13.00DC0000.tail.utf-32.tcl8.a fails sometimes check-in2023-03-17 16:12:23
jan.nijtmanswiki2023-03-17 16:13:09

Fixed [here]

jan.nijtmanswiki2023-04-04 06:40:15

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

serhiy.storchakawiki2026-10-21 08:46:00

Fixed by [b27eacb7fc] (in 9.0.0). The test passes repeatedly on main, and all utf-* convertfrom tests of cmdAH-4.3.13/14 are clean under valgrind. 8.6 has no utf-32 encoding with profiles and is not affected. Closing.

Log in (anonymous is fine) to add a comment.