Artifacts Associated With Ticket 986651ffff
Ticket change [fa61bb139c] (rid 91859) by roylane on 2004-07-07 15:23:09:
- assignee initialized to: "msofer"
- cmimetype initialized to: "text/plain"
- comment initialized to:
I've documented the problem, including a simple code example, in the attached file. The code example contains an error within a while loop. When the code is run, Tcl goes into an infinite loop. The bytecode compiler detects the error when trying to inline compile the while body and it attempts to back out and switch to outline compile. However, a fragment of the compiled bytecode for the while remains and this is what causes the infinite loop. This isn't a major problem because this occurs when there's an error in user code and it only occurs under certain conditions. The problem is that when a user hits this (like me), there's no clue as to what's going on. I thought it would be useful to document this and perhaps there's a simple fix. Tcl 8.4.6 Red Hat Linux (kernel 2.4.9) (same behavior on Windows, as would be expected)
- foundin initialized to: "obsolete: 8.4.6"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "roylane"
- subsystem initialized to: "47. Bytecode Compiler"
- title initialized to: "Inifinite loop a/w bad code in while body"
- type initialized to: "Bug"
Ticket change [beb7edca2f] (rid 102124) by roylane on 2004-07-07 22:23:10:
- icomment:
File Added - 93133: tcl_bug.txt
- login: "roylane"
- mimetype: "text/plain"
- username: "roylane"
- icomment:
Add attachment "tcl_bug.txt" [4b87d5ce27] (rid 126731) by roylane on 2004-07-07 22:23:10.
Ticket change [3b4e85963f] (rid 112715) by dgp on 2004-07-07 23:21:44:
- assignee changed to: "dgp"
- closedate changed to: "2004-07-07T16:21:44"
- closer changed to: "dgp"
- icomment:
Logged In: YES user_id=80530 Looks like a duplicate of Bugs 705496 and 916795. Already fixed for 8.4.7.
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Duplicate"
- status changed to: "Closed"
- username: "dgp"