Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c67e2c2c5770db1db337a5c96ccc0a31d8a901a3
Ticket: 1482718fffffffffffffffffffffffffffffffff
crash after removing trace in recursive call
User & Date: dgp on 2006-05-09 03:01:26
Changes

  1. icomment:
    Logged In: YES 
    user_id=80530
    
    
    ok, as original report already
    observed, root cause is that
    procPtr->numCompiledLocals
    and varFramePtr->numCompiledLocals
    do not agree.
    
    Since the for loop at line 825
    fundamentally loops over
    varFramePtr->compiledLocals, it
    would make more sense to use
    varFramePtr->numCompiledLocals
    to set the loop limit.  Simply
    making that change appears
    to fix this bug.
    
    But leaves several questions
    raised.  Why do we need to store
    the same info in two places?
    And once we've done that, just what
    corruption is forcing them
    to get out of sync?
    
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"