Skip to content
Tcl Source Code Artifact [49e4489573]
Login

Artifact [49e4489573]

Artifact 49e44895737c58df64437cda8433f54fb79085c4:

Ticket change [49e4489573] - New ticket [217941ffffffffff|217941ffff] <i>Can&#39;t catch { close $async_socket }</i>. by nobody on 2000-10-26 00:46:22.
D 2000-10-26T00:46:22
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s3663\sBug\nVersion:\s8.2.1\nSubmitDate:\s'1999-11-23'\nLastModified:\s'1999-11-29'\nSeverity:\sCRIT\nStatus:\sClosed\nSubmitter:\stechsupp\nChangedBy:\shobbs\nRelatedBugIDs:\s1356\nOS:\sMacintosh\nOSVersion:\s8.5.1\nMachine:\sall\skinds\sof\sPowerPC\nFixedDate:\s'2000-10-25'\nClosedDate:\s'1999-11-29'\n\n\nName:\nQ.\sAlex\sZhao\n\nExtensions:\nnone\n\nReproducibleScript:\nI\shave\sa\sclient-server\sprogram\sthat\suses\sasync\ssockets\sand\sfile\sevent\nhandlers.\sThe\sclient\sdoes\n\s\s\s\s\s\s\s\scatch\s{\sclose\s$socket2server\s}\n\s\s\s\s\s\s\s\safter\s10000\sreconnect\nif\sthe\sconnection\sis\sbroken\s(gets\sor\sputs\sreturns\san\serror).\sHere\n"socket2server"\sis\sthe\sasync,\sline\sbuffering,\snon-blocking\ssocket\swith\sa\n"readable"\sfile\sevent\shandle.\sThis\scode\sworks\sfine\son\sUnix.\sBut\son\sa\sMac\n(G3\s+\sOS\s8.5.1\s+\sTcl/Tk\s8.2.1),\sit\ssays\ssomething\sin\sthe\sline\sof\s"can't\nclose\sasync\ssocket\sfile\shandle"\sand\sfreezes\sthe\sMac.\n\nObservedBehavior:\n"catch"\sdidn't\scatch\sanything.\sTcl/Tk\s(not\smy\sprogram)\spopped\sup\sa\swindow\ssaying\s"error\sclosing\sasync\ssocket"\sand\sexited\s(or\scrashed).\n\nIf\sI\sdon't\suse\s"catch\s{close\s...}"\sand\sjust\s"unset"\sthe\svariable,\sstill\sthe\ssame\serror.\n\nDesiredBehavior:\ncatch\sthe\serror.\sDon't\scrash\sthe\ssystem.\n\n\n\n
J foundin obsolete:\s8.2.1
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 60.\sNRE\sand\scoroutines
J title Can't\scatch\s{\sclose\s$async_socket\s}
J type Bug
K 217941ffffffffffffffffffffffffffffffffff
U nobody
Z 4c79daa32fdf7f1a76d4330cdc0b617b