Skip to content
Tcl Source Code Artifact [1467d400c3]
Login

Artifact [1467d400c3]

Artifact 1467d400c35c332b5599b3596fa7b5529b3423e0:

Ticket change [1467d400c3] - Ticket [3545363fffffffff|3545363fff] <i>socket/vwait hang in io-53.10 and socket.test</i> status still Open with 4 other changes by twylite on 2012-07-18 21:50:59.
D 2012-07-18T21:50:59
J icomment Okay,\susing\sthe\sabove\sscript\swith\s'set\saddr\s{-myaddr\slocalhost}'\scauses\sa\shang\son\svwait.\s\sTelnet\sconnects,\sbut\snothing\scomes\sout\son\sthe\sTcl\sside.\n\nThis\sprecisely\sexplains\sthe\szlib-8.3\stest\sfailure.\n\nAnd\sI\ssuspect\sthis\sisolates\sthe\sproblem(s):\snmake\s/f\smakefile.vc\stest\sTESTFLAGS="-file\ssocket.test\s-match\ssocket_inet6*\s-verbose\spbstel"\n\nAll\ssocket_inet6-2.*\stests\sfail\sfor\sme,\sand\s2.11\shangs.\s\sDetails\sare\sbelow.\n\nI'm\snot\sfamiliar\swith\sIPv6\snetworks,\sand\smy\sOS\s(Windows\s7\s64-bit)\sonly\shas\sIPv4\snetwork\saccess.\s\sObviously\sthere\sappears\sto\sbe\sa\sIPv6\sstack\spresent\s(and\s'ping\slocalhost'\sor\s'ping\s::1'\sworks).\s\sI've\stried\senabling\sIPv6\son\smy\snetwork\sadapter\sand\sgiving\sit\san\saddress\s(that\sworks,\sipconfig\s/all\sshows\sthe\saddress,\sI\scan\sping\sit)\sbut\sthis\smakes\sno\sdifference\sto\sthe\ssocket_inet6-2.*\stests.\n\nDespite\sthis,\sI\swould\sexpect\sthese\stests\snot\sto\shang.\s\sI\swould\sexpect\sa\stypical\sWindows\s7\shome\suser\sto\shave\sa\ssimilar\s'default'\sIPv6\sstack\sand\sconsequently\sI\swould\sexpect\sthis\sbug\sto\sreproduce\son\ssuch\sa\ssystem.\n\n\nC:/User/Tcl_BUILD/cmake-2012/tcl-trunk/tests/socket.test:317:\serror:\stest\sfailed\n:\ssocket_inet6-2.1\stcp\sconnection\n====\ssocket_inet6-2.1\stcp\sconnection\sFAILED\n====\sContents\sof\stest\scase:\n\n\s\s\s\s#\s$x\s==\s"ready"\sat\sthis\spoint\n\s\s\s\sset\ssock\s[socket\s$localhost\s$listen]\n\s\s\s\slappend\sx\s[gets\s$f]\n\s\s\s\sclose\s$sock\n\s\s\s\slappend\sx\s[gets\s$f]\n\n----\sResult\swas:\nready\stimed_out\s{}\n----\sResult\sshould\shave\sbeen\s(exact\smatching):\nready\sdone\s{}\n====\ssocket_inet6-2.1\sFAILED\n\n----\ssocket_inet6-2.2\sstart\n\n\nC:/User/Tcl_BUILD/cmake-2012/tcl-trunk/tests/socket.test:348:\serror:\stest\sfailed\n:\ssocket_inet6-2.2\stcp\sconnection\swith\sclient\sport\sspecified\n====\ssocket_inet6-2.2\stcp\sconnection\swith\sclient\sport\sspecified\sFAILED\n====\sContents\sof\stest\scase:\n\n\s\s\s\s#\s$x\s==\s"ready"\sat\sthis\spoint\n\s\s\s\sset\ssock\s[socket\s-myport\s$port\s$localhost\s$listen]\n\s\s\s\sputs\s$sock\shello\n\s\s\s\sflush\s$sock\n\s\s\s\slappend\sx\s[expr\s{[gets\s$f]\seq\s"hello\s$port"}]\n\s\s\s\sclose\s$sock\n\s\s\s\sreturn\s$x\n\n----\sResult\swas:\nready\s0\n----\sResult\sshould\shave\sbeen\s(exact\smatching):\nready\s1\n====\ssocket_inet6-2.2\sFAILED\n\n----\ssocket_inet6-2.3\sstart\n\n\nC:/User/Tcl_BUILD/cmake-2012/tcl-trunk/tests/socket.test:383:\serror:\stest\sfailed\n:\ssocket_inet6-2.3\stcp\sconnection\swith\sclient\sinterface\sspecified\n====\ssocket_inet6-2.3\stcp\sconnection\swith\sclient\sinterface\sspecified\sFAILED\n====\sContents\sof\stest\scase:\n\n\s\s\s\s#\s$x\s==\s"ready"\sat\sthis\spoint\n\s\s\s\sset\ssock\s[socket\s-myaddr\s$localhost\s$localhost\s$listen]\n\s\s\s\sputs\s$sock\shello\n\s\s\s\sflush\s$sock\n\s\s\s\slappend\sx\s[gets\s$f]\n\s\s\s\sclose\s$sock\n\s\s\s\sreturn\s$x\n\n----\sResult\swas:\nready\s{}\n----\sResult\sshould\shave\sbeen\s(exact\smatching):\nready\s{hello\s::1}\n====\ssocket_inet6-2.3\sFAILED\n\n----\ssocket_inet6-2.4\sstart\n\n\nC:/User/Tcl_BUILD/cmake-2012/tcl-trunk/tests/socket.test:416:\serror:\stest\sfailed\n:\ssocket_inet6-2.4\stcp\sconnection\swith\sserver\sinterface\sspecified\n====\ssocket_inet6-2.4\stcp\sconnection\swith\sserver\sinterface\sspecified\sFAILED\n====\sContents\sof\stest\scase:\n\n\s\s\s\s#\s$x\s==\s"ready"\sat\sthis\spoint\n\s\s\s\sset\ssock\s[socket\s$localhost\s$listen]\n\s\s\s\sputs\s$sock\shello\n\s\s\s\sflush\s$sock\n\s\s\s\slappend\sx\s[gets\s$f]\n\s\s\s\sclose\s$sock\n\s\s\s\sreturn\s$x\n\n----\sResult\swas:\nready\s{}\n----\sResult\sshould\shave\sbeen\s(exact\smatching):\nready\shello\n====\ssocket_inet6-2.4\sFAILED\n\n----\ssocket_inet6-2.5\sstart\n\n\nC:/User/Tcl_BUILD/cmake-2012/tcl-trunk/tests/socket.test:450:\serror:\stest\sfailed\n:\ssocket_inet6-2.5\stcp\sconnection\swith\sredundant\sserver\sport\n====\ssocket_inet6-2.5\stcp\sconnection\swith\sredundant\sserver\sport\sFAILED\n====\sContents\sof\stest\scase:\n\n\s\s\s\s#\s$x\s==\s"ready"\sat\sthis\spoint\n\s\s\s\sset\ssock\s[socket\s$localhost\s$listen]\n\s\s\s\sputs\s$sock\shello\n\s\s\s\sflush\s$sock\n\s\s\s\slappend\sx\s[gets\s$f]\n\s\s\s\sclose\s$sock\n\s\s\s\sreturn\s$x\n\n----\sResult\swas:\nready\s{}\n----\sResult\sshould\shave\sbeen\s(exact\smatching):\nready\shello\n====\ssocket_inet6-2.5\sFAILED\n\n----\ssocket_inet6-2.6\sstart\n++++\ssocket_inet6-2.6\sPASSED\n----\ssocket_inet6-2.7\sstart\n\n\nC:/User/Tcl_BUILD/cmake-2012/tcl-trunk/tests/socket.test:493:\serror:\stest\sfailed\n:\ssocket_inet6-2.7\secho\sserver,\sone\sline\n====\ssocket_inet6-2.7\secho\sserver,\sone\sline\sFAILED\n====\sContents\sof\stest\scase:\n\n\s\s\s\sset\ss\s[socket\s$localhost\s$listen]\n\s\s\s\sfconfigure\s$s\s-buffering\sline\s-translation\slf\n\s\s\s\sputs\s$s\s"hello\sabcdefghijklmnop"\n\s\s\s\sset\sx\s[gets\s$s]\n\s\s\s\sclose\s$s\n\s\s\s\slist\s$x\s[gets\s$f]\n\n----\sResult\swas:\n{}\stimeout\n----\sResult\sshould\shave\sbeen\s(exact\smatching):\n{hello\sabcdefghijklmnop}\sdone\n====\ssocket_inet6-2.7\sFAILED\n\n----\ssocket_inet6-2.8\sstart\n\n\nC:/User/Tcl_BUILD/cmake-2012/tcl-trunk/tests/socket.test:535:\serror:\stest\sfailed\n:\ssocket_inet6-2.8\secho\sserver,\sloop\s50\stimes,\ssingle\sconnection\n====\ssocket_inet6-2.8\secho\sserver,\sloop\s50\stimes,\ssingle\sconnection\sFAILED\n====\sContents\sof\stest\scase:\n\n\s\s\s\sset\ss\s[socket\s$localhost\s$listen]\n\s\s\s\sfconfigure\s$s\s-buffering\sline\n\s\s\s\scatch\s{\n\s\s\s\s\s\s\s\sfor\s{set\sx\s0}\s{$x\s<\s50}\s{incr\sx}\s{\n\s\s\s\s\s\s\s\s\s\s\s\sputs\s$s\s"hello\sabcdefghijklmnop"\n\s\s\s\s\s\s\s\s\s\s\s\sgets\s$s\n\s\s\s\s\s\s\s\s}\n\s\s\s\s}\n\s\s\s\sclose\s$s\n\s\s\s\scatch\s{set\sx\s[gets\s$f]}\n\s\s\s\sreturn\s$x\n\n----\sResult\swas:\ndone\s0\n----\sResult\sshould\shave\sbeen\s(exact\smatching):\ndone\s50\n====\ssocket_inet6-2.8\sFAILED\n\n----\ssocket_inet6-2.9\sstart\n++++\ssocket_inet6-2.9\sPASSED\n----\ssocket_inet6-2.10\sstart\n\n\nC:/User/Tcl_BUILD/cmake-2012/tcl-trunk/tests/socket.test:597:\serror:\stest\sfailed\n:\ssocket_inet6-2.10\sclose\son\saccept,\saccepted\ssocket\slives\n====\ssocket_inet6-2.10\sclose\son\saccept,\saccepted\ssocket\slives\sFAILED\n====\sContents\sof\stest\scase:\n\n\s\s\s\sset\sss\s[socket\s-server\saccept\s0]\n\s\s\s\sproc\saccept\s{s\sa\sp}\s{\n\s\s\s\s\s\s\s\sglobal\sss\n\s\s\s\s\s\s\s\sclose\s$ss\n\s\s\s\s\s\s\s\sfileevent\s$s\sreadable\s"readit\s$s"\n\s\s\s\s\s\s\s\sfconfigure\s$s\s-trans\slf\n\s\s\s\s}\n\s\s\s\sproc\sreadit\s{s}\s{\n\s\s\s\s\s\s\s\sglobal\sdone\n\s\s\s\s\s\s\s\sgets\s$s\n\s\s\s\s\s\s\s\sclose\s$s\n\s\s\s\s\s\s\s\sset\sdone\s1\n\s\s\s\s}\n\s\s\s\sset\scs\s[socket\s$localhost\s[lindex\s[fconfigure\s$ss\s-sockname]\s2]]\n\s\s\s\sputs\s$cs\shello\n\s\s\s\sclose\s$cs\n\s\s\s\svwait\sdone\n\s\s\s\sreturn\s$done\n\n----\sResult\swas:\ntimed_out\n----\sResult\sshould\shave\sbeen\s(exact\smatching):\n1\n====\ssocket_inet6-2.10\sFAILED\n\n
J login twylite
J mimetype text/plain
J username twylite
K 3545363fffffffffffffffffffffffffffffffff
U twylite
Z b8d3f678a5b8cc28db2de78f3f3b6850