Artifacts Associated With Ticket 218511
Ticket change [33ebff35c5] (rid 106675) by nobody on 2000-10-26 01:01:30:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 787 Bug Version: 8.0.3 SubmitDate: '1998-11-02' LastModified: '2000-01-12' Severity: SER Status: Released Submitter: pat ChangedBy: hobbs RelatedBugIDs: 692 OS: Solaris OSVersion: 2.5.1 FixedDate: '2000-01-12' FixedInVersion: 8.0.5 ClosedDate: '2000-10-25' ReproducibleScript: The following line inside a fileevent callback for reading input from a pipe fails to return error codes. set iseerr [catch {close $pipefd} errorString] The iserr varible is always 0 even if we explictly return a non-zero error code from the other side of the pipe. I found a work around on the internet that said to do the close outside of the fileevent callback using vwait as a trigger. I implemented this in a simple example and it worked. When I implemented in our production code, it failed. Therefore there is some other reaction that I am not aware of that is causing this to fail. This bug fix is critical for since it means I will have to do some ugly modifications to our code to make this work. Here are references to the articles that report the bug and work around. Bug analysis: http://x11.dejanews.com/getdoc.xp?AN=393975232 Simple workaround: http://x14.dejanews.com/getdoc.xp?AN=393246193 ObservedBehavior: Close doen't return error codes inside fileevent callback. DesiredBehavior: Close should return error codes. This works again in 8.0.5. -- 12/03/1999 hobbs - foundin initialized to: "obsolete: 8.0.3"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "60. NRE and coroutines"
- title initialized to: "Close command does not return errors"
- type initialized to: "Bug"
Ticket change [331278061a] (rid 106519) by welch on 2000-10-26 08:23:19:
- closedate changed to: "2000-10-26T01:23:19"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [0c8a29d6d7] (rid 114196) by dgp on 2001-04-05 08:20:13:
- closedate changed to: "2001-04-05T01:20:13"
- closer changed to: "dgp"
- subsystem changed to: "27. Channel Types"