Overview
| Artifact ID: | 08ef4e99ee7506c767a26ec1a3003efd08128bfc |
|---|---|
| Ticket: | 218985ffffffffffffffffffffffffffffffffff
Tcl_DeleteExitHandler() fails to release exitMutex |
| User & Date: | nobody on 2000-10-26 01:08:57 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed 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 changed to: "obsolete: 8.2.2"
- 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: "Tcl_DeleteExitHandler() fails to release exitMutex"
- type changed to: "Bug"