Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: f7beeecafc3f04bcb5f25eaee855819f38a065b9
Ticket: 804681ffffffffffffffffffffffffffffffffff
traces on errorInfo/errorCode corrupt the evaluation stack
User & Date: dgp on 2003-09-13 00:02:29
Changes

  1. icomment:
    Logged In: YES 
    user_id=80530
    
    
    The segfault happens as the
    bytecode execution engine
    tries to clear away items on
    the stack.  It decrements and
    tries to free a list value that
    has already been freed.
    
    This list value is the $args
    value that was a local variable
    in the [show] proc.  It has been
    freed already because it was
    freed when [show] returned, as
    one would expect.
    
    It's a mystery why there's a reference
    to $args on the bytecode execution
    stack, and another mystery why that
    reference, if it must indeed exist,
    never accounted for itself with a refCount.
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"