Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 9777f63e1ae58d5cbfe715d08aacab1fa92e709d
Ticket: 3545363fffffffffffffffffffffffffffffffff
socket/vwait hang in io-53.10 and socket.test
User & Date: twylite on 2012-07-18 19:00:27
Changes

  1. icomment:
    I also get a failure in zlib-8.3, which seems to be related.  I'll hold back on filing a separate bug for that until this issue is resolved.
    
    ==== zlib-8.3 zlib transformation and fileevent FAILED
    ==== Contents of test case:
    
        set sin [socket localhost $port]
        try {
            fconfigure $sin -translation binary
            zlib push gunzip $sin
            after 1000 {set total timeout}
            fcopy $sin $fout -command {apply {{c {e {}}} {
                set ::total [expr {$e eq {} ? $c : $e}]
            }}}
            vwait total
            after cancel {set total timeout}
        } finally {
            close $sin
        }
        append total --> [file size $file]
    
    ---- Result was:
    timeout-->0
    ---- Result should have been (exact matching):
    81920-->81920
    ==== zlib-8.3 FAILED
    
    
    
  2. login: "twylite"
  3. mimetype: "text/plain"
  4. username: "twylite"