Overview
| Artifact ID: | cc65b7873ff9eeb1ad5eba0e915a1b79bd857f69 |
|---|---|
| Ticket: | 730244ffffffffffffffffffffffffffffffffff
missing refCount management in Tcl_EvalObjv |
| User & Date: | dgp on 2003-04-30 15:34:56 |
Changes
- assignee changed to: "msofer"
- cmimetype changed to: "text/plain"
- comment changed to:
This script panics: interp create i proc test args {puts $args} trace add execution test enter {interp alias i alias {} ;#} interp alias i alias {} test this i eval alias The problem is that TEOVI does not use refCounting to protect the elements of the objv array. So if a trace frees an argument value, that value is not available for command procedure execution. Most TEOVI callers manage refCounts, but Tcl_EvalObjv does not; thus interp alias calls do not. A fix is to add objv refCounting to Tcl_EvalObjv, at an unknown performance cost. Thoughts? - foundin changed to: "obsolete: 8.4.2"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "45. Parsing and Eval"
- title changed to: "missing refCount management in Tcl_EvalObjv"
- type changed to: "Bug"