Overview
| Artifact ID: | 7180fbcacdf3c7a9d5b6b70b9ea907567c495bbc |
|---|---|
| Ticket: | 3059758fffffffffffffffffffffffffffffffff
tclTraceExec==3 : wrong pc+INST on uncaught error return |
| User & Date: | ferrieux on 2010-09-05 10:14:14 |
Changes
- assignee changed to: "msofer"
- cmimetype changed to: "text/plain"
- comment changed to:
When tracing instructions (tclTraceExec==3), returns from procedure calls typically look like: ... no enclosing catch, returning TCL_OK LEVEL: DEPTH (PC) INST args => ... after "PROCNAME": TCL_OK, result="1" where PC and INST/args are the position and instruction to be executed just after the return. However, when the return code is not TCL_OK, the PC is off by one, and is the last byte of the previous instruction (typically invokeXXX), and consequently the INST is random (possibly an immediate operand interpreted as an opcode): ... no enclosing catch, returning TCL_ERROR LEVEL: DEPTH (WRONG PC) WRONG INST => TCL_ERROR, result= "..." Of course this is a very tiny issue, but tracing instructions accurately is key to understanding the delicate operation of TEBC, and this microbug has been annoying in the course of the investigation of Patch 2995655. The fix/insight could help both. - foundin changed to: "None"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "ferrieux"
- subsystem changed to: "47. Bytecode Compiler"
- title changed to:
tclTraceExec==3 : wrong pc+INST on uncaught error return
- type changed to: "Bug"