Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0dfaf01ae06d4522b3b2029ab8ac0f5dbdb706b1
Ticket: 1192047fffffffffffffffffffffffffffffffff
FinalizeIO makes bad assumption
User & Date: dgp on 2005-04-28 22:56:05
Changes

  1. assignee changed to: "andreas_kupries"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    A comment from TclFinalizeIOSubsystem:
    
    /*
     * Close it only if the refcount indicates that the
    channel is not
     * referenced from any interpreter. If it is, that
    interpreter will
     * close the channel when it gets destroyed.
     */
    
    The clear assumption is that later finalization
    stages will destroy all existing interpreters
    and finish the task of closing channels.
    
    But that's not true, as pointed out in reports
    218705 and 227269.  Exit handlers are not
    routinely established to destory interps.
    
    This mismatch between assumption and
    reality is contributing to Bug 1191344.
    
    Either we should fulfill RFE 227269 and
    satisfy the assumptions in TFIOS, or we
    should recode TFIOS to not make those
    assumptions.
    
  4. foundin changed to: "obsolete: 8.5a3"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "dgp"
  9. subsystem changed to: "25. Channel System"
  10. title changed to: "FinalizeIO makes bad assumption"
  11. type changed to: "Bug"