Skip to content
Tcl Source Code History Of Ticket 217941
Login

History Of Ticket 217941

Artifacts Associated With Ticket 217941

  1. Ticket change [49e4489573] (rid 126446) by nobody on 2000-10-26 00:46:22:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. 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.
      
      
      
      
      
    4. foundin initialized to: "obsolete: 8.2.1"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "60. NRE and coroutines"
    10. title initialized to: "Can't catch { close $async_socket }"
    11. type initialized to: "Bug"
  2. Ticket change [27cbdbd9bd] (rid 88582) by welch on 2000-10-26 08:10:55:

    1. closedate changed to: "2000-10-26T01:10:55"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  3. Ticket change [6fd1d96f94] (rid 100374) by dgp on 2001-04-05 08:20:14:

    1. closedate changed to: "2001-04-05T01:20:14"
    2. closer changed to: "dgp"
    3. subsystem changed to: "27. Channel Types"