Artifacts Associated With Ticket 218643
Ticket change [2a3e7368ae] (rid 118521) by nobody on 2000-10-26 01:03:37:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 1573 Bug Version: 8.1b2 SubmitDate: '1999-03-22' LastModified: '1999-03-30' Severity: MED Status: Released Submitter: pat ChangedBy: stanton RelatedBugIDs: 988 1273 1573 1593 OS: HP-UX OSVersion: 10.20 Machine: Other FixedDate: '1999-03-30' FixedInVersion: 8.1b3 ClosedDate: '2000-10-25' Name: Kåre Sjölander Extensions: Snack ReproducibleScript: package require snack pack [canvas .c] .c create waveform 0 0 exit ObservedBehavior: If a custom canvas item type (defined in a shared library) is currently drawn in a canvas, wish will core dump if the exit command is executed. Tcl_Finalize calls TclpUnloadFile on the shared library which defines the item type. Later DeleteWindowsExitProc() calls DestroyCanvas() which in turn calls (*itemPtr->typePtr->deleteProc) for all drawn objects. Only, this function is in the library which was unloaded. This is because CreateTopLevelWindow() registers it's exit handler before the one Tcl_LoadObjCmd registers. DesiredBehavior: Proper clean-up. Finalization related. Related bug IDs 988 1273 1573 & 1593. 03/23/1999 19:29 - surles - Deferred finalization of load subsystem until after all exit handlers have been invoked. 03/30/1999 14:18 - stanton - - foundin initialized to: "obsolete: 8.1b2"
- 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:
Tcl_Finalize unloads library before executing callbacks
- type initialized to: "Bug"
Ticket change [2aaab76e26] (rid 118618) by welch on 2000-10-26 08:26:10:
- closedate changed to: "2000-10-26T01:26:10"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [5d7499d589] (rid 115466) by dgp on 2001-04-17 05:42:21:
- closedate changed to: "2001-04-16T22:42:21"
- closer changed to: "dgp"
- subsystem changed to: "02. Event Loops"