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
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- 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.
- foundin changed to: "obsolete: 8.0.3"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "62. (unused)"
- title changed to:
Refcount bug during fileevent callbacks prevents channels fr
- type changed to: "Bug"