Skip to content
Tcl Source Code Artifact [a3508b5c83]
Login

Artifact [a3508b5c83]

Artifact a3508b5c83a3719f361736ea0b4f953cd283aee2:

Ticket change [a3508b5c83] - New ticket [2270477fffffffff|2270477fff] <i>TclFinalizeIOSubsystem can loop endlessly</i>. by nobody on 2008-11-12 16:34:46.
D 2008-11-12T16:34:46
J assignee nobody
J cmimetype text/plain
J comment TclFinalizeIOSubsystem\scontains\sa\sloop\swhich\sruns\suntil\sall\schannels\sin\sthe\slinked\slist\shave\sthe\sCHANNEL_DEAD\sflag\sset.\n\nIf\sany\schannels\sare\snot\sreferenced\sby\sinterpreters,\sthe\sloop\scalls\sTcl_Close()\sto\sclose\sthe\schannel\sand,\spresumably,\sremove\sit\sfrom\sthe\slinked\slist.\s\sHowever,\sunder\ssome\scircumstances,\sTcl_Close\sdoes\snot\sremove\sthe\schannel\sfrom\sthe\slist,\sand\sinstead\sschedules\sit\sfor\sremoval\sat\sa\slater\stime.\s\sIf\sthis\shappens,\sTclFinalizeIOSubsystem\swill\sspin\sforever.\n\nI\shave\sseen\sthis\shappen\swhen\sexpect\sexits\swhile\srunning\sa\stest\ssuite\sunder\sdejagnu.\s\sUnfortunately,\sI\sdo\snot\shave\sa\ssimple\sreproduction\scase.\s\sBut\sperhaps\sthe\sloop\sshould\sguard\sagainst\sthis\scase\sby\schecking\sfor\sCHANNEL_CLOSED\sas\swell\sas\sCHANNEL_DEAD?\s\sI\sreally\sdon't\sunderstand\sthe\sdesign\swell\senough\sto\sbe\ssure.\n
J foundin None
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem None
J title TclFinalizeIOSubsystem\scan\sloop\sendlessly
J type Bug
K 2270477fffffffffffffffffffffffffffffffff
U nobody
Z 429006a9480440cc4bf252d9b9ffc852