Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 7925580cb23fb0737f17ee1f5a1da44da69fc177
Ticket: 620735ffffffffffffffffffffffffffffffffff
Tcl crash after unload on Windows 2000
User & Date: nobody on 2002-10-09 12:30:28
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. 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
    
    
  4. foundin changed to: "obsolete: 8.4.0"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "None"
  10. title changed to: "Tcl crash after unload on Windows 2000"
  11. type changed to: "Bug"