Skip to content
Tcl Source Code History Of Ticket 217813
Login

History Of Ticket 217813

Artifacts Associated With Ticket 217813

  1. Ticket change [72bee9a946] (rid 104912) by nobody on 2000-10-26 00:44:04:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 1353 Bug
      Version: 8.0.4
      SubmitDate: '1999-03-02'
      LastModified: '1999-03-02'
      Severity: SER
      Status: Closed
      Submitter: pat
      ChangedBy: pat
      OS: Windows NT
      OSVersion: 4.0
      Machine: X86
      FixedDate: '2000-10-25'
      ClosedDate: '1999-03-02'
      
      
      Name:
      ThomaS
      
      ReproducibleScript:
      #Observe TCP connection with netstat in a DOS-Box. Open connections have state #ESTABLISHED. 
      #
      # Assuming a socket server is running on host vmsaxp and port 7412. The local
      # host is named artemis. 
      #
      # 1) behaves fine
      set sock [socket vmsaxp 7412];
      # TCP connection  artemis:2519 has state ESTABLISHED.
      close $sock;
      # TCP connection  artemis:2519 has state TIME_WAIT or disappeared from
      # netstat list.
      #
      # 2) misbehaves.
      set sock [socket vmsaxp 7412];
      # TCP connection  artemis:2519 has state ESTABLISHED.
      exec wish80 &
      close $sock;
      # TCP connection  artemis:2519 still has the state ESTABLISHED.
      # the connection will be closed when the external process ends.
      
      ObservedBehavior:
      The TCP connection from the client to the server stays open, especially the server doesn't receive an EOF. The open socket cannot be contacted from tcl, neither from the parent shell nor from the spawned child shell.
      
      DesiredBehavior:
      After the close statement the connection should be closed. 
      
      Patch:
      Somehow the spawn process inherits the open file descriptors of its parent. I think a flag supressing this behaviour must be set when calling CreateProcess() in tclWinPipe.c.
      
      
      
      03/02/1999 16:47 - pat - duplicate of bug 1250
      
    4. foundin initialized to: "obsolete: 8.0.4"
    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: "69. Other"
    10. title initialized to:
      Windows only: Sockets may stay open on OS level after 'close
      
    11. type initialized to: "Bug"
  2. Ticket change [c6ded6c86e] (rid 121844) by welch on 2000-10-26 07:49:19:

    1. closedate changed to: "2000-10-26T00:49:19"
    2. closer changed to: "welch"
    3. priority changed to: "1 Zero"
    4. resolution changed to: "Duplicate"
    5. status changed to: "Closed"
  3. Ticket change [feba87f0ab] (rid 108637) by dgp on 2001-04-13 23:11:02:

    1. closedate changed to: "2001-04-13T16:11:02"
    2. closer changed to: "dgp"
    3. subsystem changed to: "27. Channel Types"