Overview
| Artifact ID: | ad9c879906de337031855fa418ae82bc15447bf8 |
|---|---|
| Ticket: | 2946129fffffffffffffffffffffffffffffffff
Wrong frame in bytecode |
| User & Date: | eugene_cdn on 2010-02-04 19:56:37 |
Changes
- assignee changed to: "msofer"
- cmimetype changed to: "text/plain"
- comment changed to:
Tcl version: 8.5.5. OS: Linux RedHat 5 & Solaris 10 Compilation of a script with active Async handler and non-trivial script executed by Async handler may cause generating bytecode with wrong variable frame. In attached example, compilation of "if" statement with constants in a regular procedure will call Tcl_AsyncInvoke. Then compilation of subsequent procedures called by Async will be in unpredictable frame: main body will be compiled in right frame but body of switch will be compiled in the frame of original synchronous procedure. You will see an error: can't read "abc(xyz)": variable isn't array. - foundin changed to: "obsolete: 8.5.5"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "eugene_cdn"
- subsystem changed to: "47. Bytecode Compiler"
- title changed to: "Wrong frame in bytecode"
- type changed to: "Bug"