Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0400987331f367adbb201027a7448a8eb296e8e3
Ticket: 2415422fffffffffffffffffffffffffffffffff
TclExecuteByteCode assert fail after {*}longlist
User & Date: ferrieux on 2008-12-12 19:54:24
Changes

  1. icomment:
    I did a twin-gdb-session with one crashing an one non-crashing values.
    The divergence occurs on return from GrowEvaluationStack at tclExecute.c:2621.
    In the normal case, moved==0; but in the crashing case, "moved" is nonzero and hence the following "if" block is executed.
    
    moved = GrowEvaluationStack(iPtr->execEnvPtr, length, 1)
    - (Tcl_Obj **) bottomPtr;
    
    if (moved) {
        /*
         * Change the global data to point to the new stack.
         */
    
        bottomPtr = (BottomData *) (((Tcl_Obj **)bottomPtr) + moved);
        initCatchTop += moved;
        catchTop += moved;
        initTosPtr += moved;
        tosPtr += moved;
        esPtr = iPtr->execEnvPtr->execStackPtr;
    }
    
    I'm sure Miguel will fix that instantly ;-)
    
    
    
  2. login: "ferrieux"
  3. mimetype: "text/plain"
  4. username: "ferrieux"