Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 1dcedd99cb3175d3901da387850964637b2a962c
Ticket: 218914ffffffffffffffffffffffffffffffffff
stack problem on Tcl_Eval
User & Date: nobody on 2000-10-26 01:07:49
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 2700 Bug
    Version: 8.2
    SubmitDate: '1999-09-10'
    LastModified: '1999-11-07'
    Severity: SER
    Status: Released
    Submitter: techsupp
    ChangedBy: hobbs
    OS: Windows 98
    Machine: X86
    FixedDate: '1999-11-07'
    ClosedDate: '2000-10-25'
    
    
    Name:
    Francois Paquette
    
    Extensions:
    TkTable 2.5  QT ???
    
    CustomShell:
    I modified TkWin32dll.c to be link staticly. (used #ifdef STATIC_BUILD)
    
    ReproducibleScript:
    I compiled Tcl and Tk with extension
        functions into an executable. A certain function on my extension calls
        Tcl_Eval quite extensively. After a certain number of calls (not always
        the same) I get a exception error in the function "TclExecuteByteCode".
        Its trying to de-reference an object puted in the stack but the stack
        is empty. Feels like the stack gets completely out of synch.
    
    ObservedBehavior:
    case INST_INVOKE_STK1:
        ...
        for (i = 0;  i < objc;  i++) {
            valuePtr = stackPtr[stackTop];
        -->            TclDecrRefCount(valuePtr);
            stackTop--;
        }
    
    DesiredBehavior:
    No crash!
    
    
    
    fixed in 8.2.2. 
    -- 11/07/1999 hobbs
    
  4. foundin changed to: "obsolete: 8.2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "69. Other"
  10. title changed to: "stack problem on Tcl_Eval"
  11. type changed to: "Bug"