Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 017a7c1869ceb6b484580e4afe19e86473be5737
Ticket: 1119369fffffffffffffffffffffffffffffffff
segfault in Tcl_EvalObjv (from Tcl_EvalObjEx call)
User & Date: pcmacdon on 2005-02-21 06:54:39
Changes

  1. icomment:
    Logged In: YES 
    user_id=190660
    
    One final observation.  Dumping the objc in all calls to Tcl_EvalObjv in a largish Tcl app,  
    I note that < 5% have an objc==2 and so use the list optimization, and are therefore  
    susceptible to the problem.   Autoload calls I think account for the bulk of these 
    (leading to source IO which stalls the app anyways). 
      
    The other 95% of calls are the more typical usage of eval, ie. objc>=3  
      
      eval $cmd $arg  
      
    which are unoptimized and involve the overhead of Tcl_ConcatObj. 
     
    
    
  2. login: "pcmacdon"
  3. mimetype: "text/plain"
  4. username: "pcmacdon"