Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 95de742f6ba8efe3a54b528c0206727a219a6eb9
Ticket: 218275ffffffffffffffffffffffffffffffffff
System crashes executing Tcl_NewStringObj()
User & Date: nobody on 2000-10-26 00:55:21
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 3371 Bug
    Version: 8.2.1
    SubmitDate: '1999-11-05'
    LastModified: '1999-11-08'
    Severity: CRIT
    Status: Closed
    Submitter: techsupp
    ChangedBy: hobbs
    OS: Windows NT
    FixedDate: '2000-10-25'
    ClosedDate: '1999-11-08'
    
    
    Name:
    Hugh Vu
    
    ReproducibleScript:
    I'm using embedded TCL in Windows NT 4.0
        When I executed the following:
          Tcl_Obj *MyObj;
          MyObj = Tcl_NewStringObj ("MyString", -1);
        before creating an interpreter, the system crashed with "Memory Access
        Violation".
        But if I created an interpreter first, it was OK, like this:
          Tcl_Interp *interp;
          Tcl_Obj *MyObj;
          interp = Tcl_CreateInterp();
          MyObj = Tcl_NewStringObj("MyString", -1);
        This problem happens in TCL 8.2.0 and 8.2.1 but not in 8.0.5
        Am I supposed to create interp first? I could not find any reference to
        this in documentation for Tcl_NewStringObj()
        If I have to create an interp. first, it would put a serious constraint
        in my application logic.
        Please let me know if this is a bug in TCL.
    
    
    
    These commands are not designed to be used without more
    initialization. 
    -- 11/08/1999 hobbs
    
  4. foundin changed to: "obsolete: 8.2.1"
  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: "10. Objects"
  10. title changed to: "System crashes executing Tcl_NewStringObj()"
  11. type changed to: "Bug"