Artifacts Associated With Ticket 218275ffffffffff
Ticket change [95de742f6b] (rid 106229) by nobody on 2000-10-26 00:55:21:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized 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 initialized to: "obsolete: 8.2.1"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "10. Objects"
- title initialized to: "System crashes executing Tcl_NewStringObj()"
- type initialized to: "Bug"
Ticket change [3db8fba9b0] (rid 121138) by welch on 2000-10-26 08:17:57:
- closedate changed to: "2000-10-26T01:17:57"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"