Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e28f3d678872a8a9fa5589846b4856e8db97da04
Ticket: 3545365fffffffffffffffffffffffffffffffff
Crash in io-29.33b (no implicit flush of nonblocking on exit
User & Date: nijtmans on 2012-07-23 19:12:17
Changes

  1. icomment:
    Yes, saw that as well. In tclIO.c, I see:
    
    /*
     * Finally, we clean up the fields in the channel data
     * structure since all of them have been deleted already. We
     * mark the channel with CHANNEL_DEAD to prevent any further
     * IO operations on it.
     */
    
    chanPtr->instanceData = NULL;
    SetFlag(statePtr, CHANNEL_DEAD);
    
    It looks like the only way that instanceData can be NULL is
    when the CHANNEL_DEAD flag is set. So maybe that's
    the flag to be test for first.
    
    
  2. login: "nijtmans"
  3. mimetype: "text/plain"
  4. username: "nijtmans"