Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c300cb301099c8e469b3ba701ec9d9caf1fb2a52
Ticket: 990457ffffffffffffffffffffffffffffffffff
Unix Tcl_Exit behavior incorrect with TCL_THREADS
User & Date: mistachkin on 2004-07-13 20:52:21
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    in "generic/tclEvent.c" near line 644, the code reads:
    
    /* use default handling */
    Tcl_Finalize();
    TclpExit(status);
    Tcl_Panic("OS exit failed!");
    
    the above code should read:
    
    /* use default handling */
    Tcl_Finalize();
    #ifdef TCL_THREADS
    TclpThreadExit(status);
    #else
    TclpExit(status);
    #endif
    Tcl_Panic("OS exit failed!");
    
    This fixes an annoying memory leak when TCL_THREADS is
    enabled.  I believe this change should be backported to
    core-8-4-branch.
    
    
    
  4. foundin changed to: "None"
  5. priority changed to: "7 High"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "mistachkin"
  9. subsystem changed to: "None"
  10. title changed to: "Unix Tcl_Exit behavior incorrect with TCL_THREADS"
  11. type changed to: "Bug"