Overview
| Artifact ID: | 678875e8b3cf9c4d0a2a64056adeddb8104a5f2c |
|---|---|
| Ticket: | 1964803fffffffffffffffffffffffffffffffff
crash with tcl_traceExec and format strings |
| User & Date: | ajpasadyn on 2008-05-15 19:34:40 |
Changes
- assignee changed to: "msofer"
- cmimetype changed to: "text/plain"
- comment changed to:
I'm using the exec trace to try to track down what the interpreter is doing when I encounter a Tcl_Panic in 8.5.2, and I got a crash in the trace itself. % set tcl_traceExec 3 3 % set fmt "%s%s" Executing ByteCode 0x00BF96B0, refCt 2, epoch 3, interp 0x00A3CB68 (epoch 3) Source: "history add {set fmt \" 4??vQg*?(null)\"}" Cmds 1, src 28, inst 9, litObjs 3, aux 0, stkDepth 3, code/src 0.00 Starting stack top=0 1: 0 (0) push1 0 # "history" 1: 1 (0) push1 0 => "history" 1: 1 (2) push1 1 # "add" 1: 2 (2) push1 1 => "add" 1: 2 (4) push1 2 # "set fmt \"%s%s\"" 1: 3 (4) push1 2 => It's passing an unknown string to fprintf without a format string. I attached a patch I'm using to get past it. - 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: "ajpasadyn"
- subsystem changed to: "47. Bytecode Compiler"
- title changed to: "crash with tcl_traceExec and format strings"
- type changed to: "Bug"