Overview
| Artifact ID: | 95de742f6ba8efe3a54b528c0206727a219a6eb9 |
|---|---|
| Ticket: | 218275ffffffffffffffffffffffffffffffffff
System crashes executing Tcl_NewStringObj() |
| User & Date: | nobody on 2000-10-26 00:55:21 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- 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 - foundin changed to: "obsolete: 8.2.1"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "10. Objects"
- title changed to: "System crashes executing Tcl_NewStringObj()"
- type changed to: "Bug"