Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 61cce90892c0947bb028d34dc37aeb94d9ccbd3b
Ticket: 2444274fffffffffffffffffffffffffffffffff
chanio.test file error
User & Date: ferrieux on 2008-12-19 00:00:57
Changes

  1. icomment:
    Just committed code doing a specific flush in the half-close-w pathway (because the normal flush is inside UnregisterChannel which must not be called for the "first half").
    Andreas can you verify I'm doing it right, because I don't grok the subtleties of flagging blocks READY nor Tcl_Flush vs FlushChannel etc.
    
    This doesn't solve the bug obtained when re-enabling chanio-28.6 though.
    
    My investigation so far seems to indicate we are witnessing a "ghost error status" in a stale channel-related structure.
    By this I mean, the _message_ is from an innocuous, previously caught error (a [chan flush] in a previous test), while possibly the TCL_ERROR status is fresh and is the core of the bug.
    
    The error goes to the child tcltest's stderr because it occurs within a vwait (hence a bgerror or default C-level background error handler must be just spitting to stderr).
    The vwait is:  vwait [namespace which -variable counter]  (near the end of chanio-29.31).
    
    
    
    
  2. login: "ferrieux"
  3. mimetype: "text/plain"
  4. username: "ferrieux"