Artifacts Associated With Ticket 218985
Ticket change [08ef4e99ee] (rid 89642) by nobody on 2000-10-26 01:08:57:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 3545 Bug Version: 8.2.2 SubmitDate: '1999-11-11' LastModified: '1999-11-11' Severity: MED Status: Released Submitter: techsupp ChangedBy: hobbs OS: All OSVersion: 8.2.0, 8.2.1, 8.2.2 Machine: any FixedDate: '1999-11-11' FixedInVersion: 8.2.3 ClosedDate: '2000-10-25' Name: Zoran Vasiljevic ReproducibleScript: The Tcl_DeleteExitHandler() in generic/TclEvent.c fails to release exitMutex if not able to find passed exit proc and its client data. This results in Tcl unable to properly exit. To reproduce: Register an exit procedure within an extension. Start tclsh, load extension, exit (-> blocks undefinitely) Patch: *** tclEvent.c Fri Apr 23 03:57:08 1999 --- tclEvent.c.new Wed Nov 10 10:56:07 1999 *************** *** 453,463 **** } else { prevPtr->nextPtr = exitPtr->nextPtr; } - Tcl_MutexUnlock(&exitMutex); ckfree((char *) exitPtr); ! return; } } } ^L /* --- 453,464 ---- } else { prevPtr->nextPtr = exitPtr->nextPtr; } ckfree((char *) exitPtr); ! break; } } + Tcl_MutexUnlock(&exitMutex); + return; } ^L /* PatchFiles: tclEvent.c fixed in 8.3b1. -- 11/11/1999 hobbs - foundin initialized to: "obsolete: 8.2.2"
- 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_DeleteExitHandler() fails to release exitMutex"
- type initialized to: "Bug"
Ticket change [7912b9a05e] (rid 90060) by welch on 2000-10-26 08:33:07:
- closedate changed to: "2000-10-26T01:33:07"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [8790513198] (rid 131716) by dgp on 2001-04-19 04:40:59:
- closedate changed to: "2001-04-18T21:40:59"
- closer changed to: "dgp"
- subsystem changed to: "02. Event Loops"