Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 96b8e5ccab8d9d38e13ff15602aed974d9c5f638
Ticket: 541560ffffffffffffffffffffffffffffffffff
Memory Leaks on invalid syntax
User & Date: deech on 2002-04-09 14:23:15
Changes

  1. assignee changed to: "hobbs"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    -Using tcl8.4 (earlier release I think it's 8.4a)
    -Windows 2000 5.00.2195 SP2
    -Memory appears to leak when interpreter is given 
    invalid syntax scripts.
    
    #include "Interpreter.h"
    #include <windows.h>
    
    int main(int argc, char* argv[])
    {
        Tcl_FindExecutable(argv[0]);
    
        while(1)
        {
            Tcl_Interp* pInterp = Tcl_CreateInterp();
            Tcl_Init(pInterp); 
    
            Tcl_Obj *Tcl_ObjPtr = Tcl_NewUnicodeObj
    (L"invalid syntax", 8);
            Tcl_EvalObjEx(pInterp, Tcl_ObjPtr, NULL );
    
    
            Tcl_DeleteInterp(pInterp); 
            Sleep(100);
        }
    return 0;
    }
    
    
    
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "deech"
  9. subsystem changed to: "41. Memory Allocation"
  10. title changed to: "Memory Leaks on invalid syntax"
  11. type changed to: "Bug"