Artifacts Associated With Ticket 218115ffffffffff
Ticket change [c2a9f75ce1] (rid 111521) by nobody on 2000-10-26 00:53:18:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 1906 Bug Version: 8.1b3 SubmitDate: '1999-04-19' LastModified: '1999-11-30' Severity: SER Status: Closed Submitter: pat ChangedBy: hobbs OS: Windows NT OSVersion: 4.0 SP3 Machine: X86 FixedDate: '2000-10-25' ClosedDate: '1999-11-30' Name: Matthew D. Spencer Comments: I'm really at a loss as far as how to track down this bug. Our application is quite large, so unfortunately a code snippet is not available. However, I can attempt to recreate the problem in a smaller application. Has anyone else had strange behavior with deletion callbacks in a C++/CORBA (VisiBroker) project? ReproducibleScript: I have been having strange results using Tcl deletion callbacks within our C++/CORBA projects. I have a number of data items associated with the Tcl interpreter (Tcl_SetAssocData) which require deletion callbacks to free up the memory associated with them. When I provide a deletion call back (as opposed to a NULL pointer for the callback) in Tcl_SetAssocData, at exit time the Tcl application hangs. However, when I debug the application and set breakpoints at the deletion callback methods, the application hangs before even reaching the deletion callbacks. DesiredBehavior: I expect there to be no difference between data associated with a deletion callback and those without. It seems as if internally they are being handled differently, though my callback is never executed. It is possible that the user isn't calling Tcl_DeleteInterp, which is necessary to call the deletion callbacks for AssocData. If the user wants more generic resource cleanup, they should look at Tcl_CreateExitHandler and Tcl_DeleteExitHandler. -- 11/30/1999 hobbs - foundin initialized to: "obsolete: 8.1b3"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "69. Other"
- title initialized to: "Error in Tcl deletion callbacks (C++/CORBA)"
- type initialized to: "Bug"
Ticket change [ed9ce833db] (rid 103917) by welch on 2000-10-26 08:14:48:
- closedate changed to: "2000-10-26T01:14:48"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [ccb9abc131] (rid 95756) by dgp on 2001-04-17 05:52:46:
- closedate changed to: "2001-04-16T22:52:46"
- closer changed to: "dgp"
- subsystem changed to: "45. Parsing and Eval"