Skip to content
Tcl Source Code History Of Ticket 3103740fffffffff
Login

History Of Ticket 3103740fffffffff

Artifacts Associated With Ticket 3103740fffffffff

  1. Ticket change [e7f5549347] (rid 104564) by dgp on 2010-11-05 17:42:16:

    1. assignee initialized to: "rmax"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      ==== socket_inet6-12.2 testing inheritance of client sockets FAILED
      ==== Contents of test case:
      
          # Create the server socket
          set server [socket -server accept -myaddr $localhost 0]
          proc accept { file host port } {
              # When the client connects, establish the read handler
              global server
              close $server
              fileevent $file readable [list getdata $file]
              fconfigure $file -buffering line -blocking 0
          }
          proc getdata { file } {
              # Read handler on the accepted socket.
              global x failed
              set status [catch {read $file} data]
              if {$status != 0} {
                  set x {read failed, error was $data}
                  catch { close $file }
              } elseif {$data ne ""} {
              } elseif {[fblocked $file]} {
              } elseif {[eof $file]} {
                  if {$failed} {
                      set x {client socket was inherited}
                  } else {
                      set x {client socket was not inherited}
                  }
                  catch { close $file }
              } else {
                  set x {impossible case}
                  catch { close $file }
              }
          }
          # Launch the script2 process
          ### exec [interpreter] script2 &
          set p [open "|[list [interpreter] $path(script2)]" w]
          puts $p [lindex [fconfigure $server -sockname] 2] ; flush $p
          vwait x
          return $x
      
      ---- Result was:
      client socket was inherited
      ---- Result should have been (exact matching):
      client socket was not inherited
      ==== socket_inet6-12.2 FAILED
      
      
      Sometimes fails; sometimes does not.
      
      Suspect the tightening of some timeouts
      overshot a bit.
      
    4. foundin initialized to: "obsolete: 8.6b1.1"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "dgp"
    10. subsystem initialized to: "27. Channel Types"
    11. title initialized to: "socket_inet6-12.2 inconsistent failures"
    12. type initialized to: "Bug"
  2. Ticket change [bd90ec045a] (rid 101926) by dgp on 2010-11-29 20:29:42:

    1. icomment:
      still seeing this.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"