Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b97d15a3478d5df3ce61f20cd4b520369664133c
Ticket: 3165503fffffffffffffffffffffffffffffffff
Tcl_EvalObjv has two types of crashes
User & Date: msofer on 2011-01-26 04:10:05
Changes

  1. closedate changed to: "2011-01-25T21:10:05"
  2. closer changed to: "msofer"
  3. 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?
    
    
    
  4. login: "msofer"
  5. mimetype: "text/plain"
  6. resolution changed to: "Invalid"
  7. status changed to: "Pending"
  8. username: "msofer"