Artifacts Associated With Ticket 217941
Ticket change [49e4489573] (rid 126446) by nobody on 2000-10-26 00:46:22:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 3663 Bug Version: 8.2.1 SubmitDate: '1999-11-23' LastModified: '1999-11-29' Severity: CRIT Status: Closed Submitter: techsupp ChangedBy: hobbs RelatedBugIDs: 1356 OS: Macintosh OSVersion: 8.5.1 Machine: all kinds of PowerPC FixedDate: '2000-10-25' ClosedDate: '1999-11-29' Name: Q. Alex Zhao Extensions: none ReproducibleScript: I have a client-server program that uses async sockets and file event handlers. The client does catch { close $socket2server } after 10000 reconnect if the connection is broken (gets or puts returns an error). Here "socket2server" is the async, line buffering, non-blocking socket with a "readable" file event handle. This code works fine on Unix. But on a Mac (G3 + OS 8.5.1 + Tcl/Tk 8.2.1), it says something in the line of "can't close async socket file handle" and freezes the Mac. ObservedBehavior: "catch" didn't catch anything. Tcl/Tk (not my program) popped up a window saying "error closing async socket" and exited (or crashed). If I don't use "catch {close ...}" and just "unset" the variable, still the same error. DesiredBehavior: catch the error. Don't crash the system. - foundin initialized to: "obsolete: 8.2.1"
- 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: "Can't catch { close $async_socket }"
- type initialized to: "Bug"
Ticket change [27cbdbd9bd] (rid 88582) by welch on 2000-10-26 08:10:55:
- closedate changed to: "2000-10-26T01:10:55"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [6fd1d96f94] (rid 100374) by dgp on 2001-04-05 08:20:14:
- closedate changed to: "2001-04-05T01:20:14"
- closer changed to: "dgp"
- subsystem changed to: "27. Channel Types"