Overview
| Artifact ID: | b97d15a3478d5df3ce61f20cd4b520369664133c |
|---|---|
| Ticket: | 3165503fffffffffffffffffffffffffffffffff
Tcl_EvalObjv has two types of crashes |
| User & Date: | msofer on 2011-01-26 04:10:05 |
Changes
- closedate changed to: "2011-01-25T21:10:05"
- closer changed to: "msofer"
- icomment:
There is a is pilot error: the elements in objv should have a reference count maintained by the caller. Do for (i=0; i<3; i++) { Tcl_IncrRefCount(cmdArgs[i]); } Tcl_EvalObjv((interp, 3, cmdArgs, TCL_EVAL_GLOBAL); for (i=0; i<3; i++) { result = Tcl_DecrRefCount(cmdArgs[i]); } Does this fix the problem? - login: "msofer"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Pending"
- username: "msofer"