Overview
| Artifact ID: | 7925580cb23fb0737f17ee1f5a1da44da69fc177 |
|---|---|
| Ticket: | 620735ffffffffffffffffffffffffffffffffff
Tcl crash after unload on Windows 2000 |
| User & Date: | nobody on 2002-10-09 12:30:28 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
This bug took quite a while to track down. It seems that during the initialization of the Tcl subsystems, a thread is created. The threadProc for this thread is the CalibrationThread routine. This thread enters an infinite loop at priority 11 and continues to run AFTER the Tcl DLL has been unloaded. This causes the process to crash. My suggestion on a fix is that at some point during the finalization of Tcl, TerminateThread be called on the saved thread handle for this thread. No ill effects should occur due to this thread being terminated. I believe it's in the variable "timeInfo.calibrationThread" in file "win/tclWinTime.c". JJM
- foundin changed to: "obsolete: 8.4.0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "None"
- title changed to: "Tcl crash after unload on Windows 2000"
- type changed to: "Bug"