Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 8fe88f50090d14e98a9afd6c46b5adaf90dec114
Ticket: 218480ffffffffffffffffffffffffffffffffff
Refcount bug during fileevent callbacks prevents channels fr
User & Date: nobody on 2000-10-26 01:01:05
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 678 Bug
    Version: 8.0.3
    SubmitDate: '1998-09-23'
    LastModified: '1999-12-03'
    Severity: MED
    Status: Released
    Submitter: welch
    ChangedBy: hobbs
    OS: All
    OSVersion: NA
    Machine: NA
    FixedDate: '1999-12-03'
    FixedInVersion: 8.2.3
    ClosedDate: '2000-10-25'
    
    
    Tcl_NotifyChannel added calls to Tcl_RegisterChannel and Tcl_UnregisterChannel around the channel callback
    to deal with some bug related to ChannelEventScriptInvoker.  However, this means that a Tcl close command made
    during a fileevent callback will not really close the channel.  It gets closed during the Tcl_UnregisterChannel call,
    so any return codes (like errors from pipes) are lost.
    
    This also breaks Scotty because it creates unregistered channels, so the ref count goes to zero after one
    fileevent callback and the channel gets closed...
    
    
    
    It would be nice to understand the original bug that caused this fix.
    
  4. foundin changed to: "obsolete: 8.0.3"
  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: "62. (unused)"
  10. title changed to:
    Refcount bug during fileevent callbacks prevents channels fr
    
  11. type changed to: "Bug"