Skip to content
Tcl Source Code Artifact [bc3ec61b37]
Login

Artifact [bc3ec61b37]

Artifact bc3ec61b378d7a8007e56e77f572698eda167c0c:

Ticket change [bc3ec61b37] - 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:14:57.
D 2012-07-18T21:14:57
J icomment By\sall\smeans\s:)\s\sTo\savoid\sgiving\sa\sstupid\sanswer,\sI\shave\sdone\sthe\sfollowing:\n\n1.\sReboot\s(to\smake\ssure\snothing\sis\smisbehaving)\n2.\sTurned\sWindows\sFirewall\soff\sin\sControl\sPanel\s(for\sDomain,\sPrivate\sand\sPublic\snetworks)\n3.\sStopped\sthe\sWindows\sFirewall\sservice.\n\nsocket.test\sand\schan-io-53.10\sstill\shang.\n\n4.\sStart\sWindows\sFirewall\sservice.\n5.\sEnable\sfirewall\sin\sControl\sPanel\n\nchanio.test\srequests\sfirewall\saccess\sfor\sthe\stclsh86t.exe\sprocess\s(granted).\nsocket.test\sand\schan-io-53.10\sstill\shang.\n\nNow\sthe\smaking-progress\sbit:\n(1)\sThe\ssocket.test\shang\sis\sIPv6\srelated.\n(2)\sI\sforgot\sto\smention\sthat\svarious\shttp\sand\shttp11\stests\sseem\sto\shang\sas\swell\s(exact\stests\snot\sinvestigated,\sI\sjust\sstarted\sskipping\sthe\sfiles).\n(2)\sThe\stest\ssuite\shas\sa\sbunch\sof\ssocket\s-server\sstuff\sthat\s_doesn't_\shang\s...\sand\sall\sof\sit\suses\s-myaddr\s...\sexcept\schan-io-53.10,\ssocket.test\slatency\scalc,\sand\ssome\shttp\sstuff.\n\nTest\sscript:\n--\nset\sport\s0\nset\saddr\s{}\s;#\s{}\sor\s{-myaddr\s127.0.0.1}\sor\s{-myaddr\s10.11.12.79}\nset\ss\s[socket\s-server\s[list\sapply\s{{s\sa\sp}\s{\n\s\sputs\s"Accepted\sclient\sconnection\s'$s'\s(a='$a',\sp='$p')"\n\s\sset\s::clisock\s$s\n\s\sputs\s$s\s"hello";\sflush\s$s\n}}]\s{*}$addr\s$port]\nputs\s"Opened\sserver\ssocket\s'[fconfigure\s$s\s-sockname]'"\nvwait\s::clisock\n--\n\nResults\s(manually\scollated):\n--\nFAIL:\saddr\s=\s{}\s;\stelnet\slocalhost\s$port\s=\sconnect,\shang\nPASS:\saddr\s=\s{}\s;\stelnet\slocalhost\s($port\s+\s1)\s=\sconnecting\s...\sfailed\nPASS:\saddr\s=\s{}\s;\stelnet\s127.0.0.1\s$port\s=\sok\nPASS:\saddr\s=\s{}\s;\stelnet\s10.11.12.79\s$port\s=\sok\n\nPASS:\saddr\s=\s{-myaddr\s127.0.0.1}\s;\stelnet\slocalhost\s$port\s=\sok\nPASS:\saddr\s=\s{-myaddr\s127.0.0.1}\s;\stelnet\slocalhost\s($port\s+\s1)\s=\sconnecting\s...\sfailed\nPASS:\saddr\s=\s{-myaddr\s127.0.0.1}\s;\stelnet\s127.0.0.1\s$port\s=\sok\nPASS:\saddr\s=\s{-myaddr\s127.0.0.1}\s;\stelnet\s10.11.12.79\s$port\s=\sconnecting\s...\sfailed\n\nPASS:\saddr\s=\s{-myaddr\s10.11.12.79}\s;\stelnet\slocalhost\s$port\s=\sconnecting\s...\sfailed\nPASS:\saddr\s=\s{-myaddr\s10.11.12.79}\s;\stelnet\slocalhost\s($port\s+\s1)\s=\sconnecting\s...\sfailed\nPASS:\saddr\s=\s{-myaddr\s10.11.12.79}\s;\stelnet\s127.0.0.1\s$port\s=\sconnecting\s...\sfailed\nPASS:\saddr\s=\s{-myaddr\s10.11.12.79}\s;\stelnet\s10.11.12.79\s$port\s=\sok\n\nping\slocalhost\nPinging\sdbn-trevord-i5...\s[::1]\swith\s32\sbytes\sof\sdata:\nReply\sfrom\s::1:\stime<1ms\n--\n\nThe\sconnect\sin\ssocket.test\suses\slocalhost\srather\sthan\s127.0.0.1\s--\schanging\sthat\sallows\ssocket.test\sto\srun\s(there\sare\ssome\sfailure,\sI\swill\sinvestigate\sfurther).\n\nThe\schan-io-53.10\sdoesn't\suse\s-myaddr\sbut\sthe\sconnect\sgoes\sto\s127.0.0.1\s--\saccording\sto\smy\stest\sscript\sthat\sworks,\sso\swe\smay\sbe\slooking\sat\stwo\sindependent\sissues\shere.\n\nPlease\sadvise\son\swhether\sthe\sIPv6\slocalhost\saddress\sis\sexpected\sto\swork\sor\snot?\n
J login twylite
J mimetype text/plain
J username twylite
K 3545363fffffffffffffffffffffffffffffffff
U twylite
Z 3c11d56bba110bb15c74bac00916a03a