Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: dfc5ed2d894c6d712e69694ff3920895c783b5be
Ticket: 1482718fffffffffffffffffffffffffffffffff
crash after removing trace in recursive call
User & Date: eugene_cdn on 2006-05-05 19:57:21
Changes

  1. assignee changed to: "dgp"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OS: Solaris 5.8.
    Removing trace on second level of recursive call can
    corrupt or substitute wrong number of compiled
    variables for first level of recursion. Then, on
    return, TclLookupSimpleVar() will have two different
    values of number of compiled variables in
       procPtr->numCompiledLocals (5)
    and
       varFramePtr->numCompiledLocals (3)
    at tclVar.c, line 818.
    Then loop for all variables (line 823) will use bigger
    value, procPtr->numCompiledLocals, and it will crash on
    accessing varFramePtr->compiledLocals out of bound.
    Please use attached testcase for reproducing the bug.
    
    
  4. foundin changed to: "obsolete: 8.4.11"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "eugene_cdn"
  9. subsystem changed to: "46. Traces"
  10. title changed to: "crash after removing trace in recursive call"
  11. type changed to: "Bug"