Artifacts Associated With Ticket 1964803
Ticket change [678875e8b3] (rid 102908) by ajpasadyn on 2008-05-15 19:34:40:
- assignee initialized to: "msofer"
- cmimetype initialized to: "text/plain"
- comment initialized 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 initialized to: "None"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "ajpasadyn"
- subsystem initialized to: "47. Bytecode Compiler"
- title initialized to: "crash with tcl_traceExec and format strings"
- type initialized to: "Bug"
Add attachment "tclCompile.patch" [1fd873ad48] (rid 91217) by ajpasadyn on 2008-05-16 02:34:40.
Ticket change [a60897dbd7] (rid 98526) by ajpasadyn on 2008-05-16 02:34:40:
- icomment:
File Added - 277927: tclCompile.patch
- login: "ajpasadyn"
- mimetype: "text/plain"
- username: "ajpasadyn"
- icomment:
Ticket change [7e3efa32be] (rid 97373) by dkf on 2008-05-16 09:39:09:
- foundin changed to: "obsolete: 8.5.2"
- priority changed to: "9 Immediate"
Ticket change [0e0d1929ab] (rid 94541) by msofer on 2008-05-16 21:39:59:
- icomment:
Logged In: YES user_id=148712 Originator: NO Good catch, good fix: committed. Thanks!
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
- icomment:
Ticket change [66380e56ae] (rid 102665) by msofer on 2008-05-16 21:40:00:
- closedate changed to: "2008-05-16T14:40:00"
- closer changed to: "msofer"
- resolution changed to: "Fixed"
- status changed to: "Closed"