Overview
| Artifact ID: | 8b1c2f31621a6cc9690fc18b82068f8e97a0a14d1a149dfeab6dd6ec0bcebfaa |
|---|---|
| Ticket: | 3b6b1c4e495f11ad9cf02230579359b72c8ccd73
Tcl 9.0 hangs infinitely |
| User & Date: | pointsman on 2023-06-30 08:47:28 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-plain"
- comment changed to:
There is Tcl code which runs with Tcl 8.6 or 8.7 but hangs (runs infinite) with Tcl 9. Unfortunately I wasn't able to nail this down to a small, stripped-down example of the problem. But there is an short recipt to demonstrate the problem. You need an installed Tcl 9 and a tcllib repository. Inside your tcllib check-out do: fossil update tcl9-testarea-rde Then run tclsh sak.tcl test run --shell /path/to/your/tcl/9/installation/tclsh9.0 base64 This runs infinitely. If you run this with a path to a Tcl 8.6 or 8.7 tclsh with the --shell option this runs to an end as expected. While I was not able to find the crucial actions on script level to trigger that I found that tclsh9.0 endlessly loops in [https://core.tcl-lang.org/tcl/file?udc=1&ln=4640-4647&ci=trunk&name=generic%2FtclBasic.c] (attached to the running process with gdb and analysed). Bisecing turned out to be not so much enlightening: 2018-10-08 19:36:29 [acd6c0661e] BAD 2018-10-08 19:00:39 [f3d49044c4] GOOD
- foundin changed to: "9.0"
- is_private changed to: "0"
- login: "pointsman"
- priority changed to: "5 Medium"
- private_contact changed to: "4ca203a8e925aecdd9419645f936bccf18cd6ea7"
- resolution changed to: "None"
- severity changed to: "Severe"
- status changed to: "Open"
- submitter changed to: "pointsman"
- subsystem changed to: "None"
- title changed to: "Tcl 9.0 hangs infinitely"
- type changed to: "Bug"