Tcl Source Code

View Ticket
Login
Ticket UUID: 016be131a2955a95d8d2cccde791183c5300e7d4
Title: Build test socket.test failed
Type: Bug Created on: 2019-11-27 08:32:46
Submitter: udok70 Assigned to: nobody
Subsystem: 53. Configuration and Build Tools Severity: Minor
Priority: 5 Medium Last modified: 2026-10-22 17:19:28
Status: Closed Closed by: serhiy.storchaka
Resolution: Out of Date Closed on: 2026-10-20 21:33:40
Version: 9.0a1
Description:
Build with nmake -f makefile.vc on Windows 10 in a Cygwin console.

nmake -f makefile.vc test failed with:

socket.test


==== socket-14.11.0 pending [socket -async] and nonblocking [puts], no listener, no flush FAILED
==== Contents of test case:

        set sock [socket -async localhost [randport]]
        fconfigure $sock -blocking 0
        puts $sock ok
        fileevent $sock writable {set x 1}
        vwait x
        close $sock

---- Test completed normally; Return code was: 0
---- Return code should have been one of: 1
==== socket-14.11.0 FAILED
User Comments:
serhiy.storchaka added on 2026-10-20 21:33:40:

Not reproducible any more. socket-14.11.0 and socket-14.11.1 passed 40 out of 40 runs each with MSVC 2022 and MSYS2 UCRT64 builds of main (9.1) on Windows 11 outside CI (in CI, 14.11.0 is skipped by the notWinCI constraint), run from an MSYS2 bash; 9.0.5 and 8.6.18 passed too, and close always reports the connect error. Closing as out of date; please reopen if it still fails in your setup.