Overview
| Artifact ID: | c2a9f75ce1c5c17dea52cd0196577708542fc1eb |
|---|---|
| Ticket: | 218115ffffffffffffffffffffffffffffffffff
Error in Tcl deletion callbacks (C++/CORBA) |
| User & Date: | nobody on 2000-10-26 00:53:18 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed 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 changed to: "obsolete: 8.1b3"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "69. Other"
- title changed to: "Error in Tcl deletion callbacks (C++/CORBA)"
- type changed to: "Bug"