Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b6134f09b8c925181f3225ec75e04c39ebd1ad98
Ticket: 1119369fffffffffffffffffffffffffffffffff
segfault in Tcl_EvalObjv (from Tcl_EvalObjEx call)
User & Date: msofer on 2005-02-10 06:56:50
Changes

  1. icomment:
    Logged In: YES 
    user_id=148712
    
    Peter: you are trying to recover from something that should
    not happen (objv becoming invalid). It is very difficult to
    insure that it will not have other effects somewhere
    different from what has already been identified.
    
    I think it is preferable to prevent it from happening:
    whoever passes an objv to a Tcl function (in this case, to
    TOEV) should insure that it remains valid until its callee
    returns. 
    
    My patch does that, a possible refCounting of the list
    internal rep does too.
    
    
    
  2. login: "msofer"
  3. mimetype: "text/plain"
  4. username: "msofer"