.
D 2000-10-26T01:01:19
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s714\sBug\nVersion:\s8.0.3\nSubmitDate:\s'1998-10-13'\nLastModified:\s'1999-10-21'\nSeverity:\sSER\nStatus:\sReleased\nSubmitter:\sadmin\nChangedBy:\shobbs\nOS:\sAll\nOSVersion:\sNA\nMachine:\sNA\nFixedDate:\s'1999-10-21'\nFixedInVersion:\s8.2.1\nClosedDate:\s'2000-10-25'\n\n\n\s>\sI've\sbeen\sfighting\swith\sa\sbug/feature\sof\sTcl\s8.0.3\suntil\sI\sread\sthe\ssolution\n\s>\son\scomp.lang.tcl.\s\sThe\sproblem\sis\sthat\sI've\sbeen\susing\ssome\sTcl\schannels\n\s>\sthat\sI\snever\sregister\swith\san\sinterpreter.\s\sI\sregister\sa\schannel\shandler\s\n\s>\swhich\sonly\sworks\sfor\sone\sevent\sunder\s8.0.3\swhereas\sit\sworked\swithout\sfail\n\s>\sunder\s8.0p2\sand\sealier.\n\s>\s\n\s>\sI\sunderstand\sthat\syou've\schanged\sTcl_CreateChannelHandler\sinternally\sso\n\s>\sthat\sit\snow\srequires\syou\sto\shave\sregistered\sthe\schannel\sor\sit\swill\sbe\sclosed\n\s>\son\sthe\sfirst\sevent.\s\sSince\sthis\sis\sa\sSIGNIFICANT\sCHANGE,\sI\sthink\sthis\sshould\n\s>\sbe\snoted\ssomewhere\sas\seither\sa\sknown\sbug\sor\sat\sleast\san\sincompatibility\n\s>\sintroduced\sin\sthe\s8.0.3\srelease\sto\ssave\sothers\sthe\swaste\sof\stime\sthat\sI\n\s>\sexperienced.\s\sAdding\sa\scall\sto\sTcl_RegisterChannel\sis\ssimple\senough,\sbut\sit\n\s>\sshould\sbe\sposted\ssomewhere\svisisble,\sIMHO.\s\s:-)\n\s>\s\n\s>\s--\sMike\n\nColin\sand\sJacob\smade\sthis\sfix.\s\sIt\sseems\sthere\sis\sa\spossibility\nthat\sa\schannel\sstructure\scan\sget\sgarbage\scollected\sout\sfrom\sunder\nTcl_NotifyChannel\sif\sthe\schannel\sis\sclosed\sduring\sthe\snotify\scallback.\nIn\sparticular,\sa\sfileevent\sscript\sthat\scloses\sits\shandle\sseems\sto\nhave\striggered\sthis\sbug\sin\ssome\splug-in\scontext.\n\nThe\sfix\sthey\smade\sis\sjust\swrong,\showever,\sas\sit\sprecludes\sthe\sclose\nfrom\shaving\sany\seffect,\sso\sif\syou\swanted\sto\ssee\serror\scodes\sfrom\nthe\sTcl\sclose\scommand,\sthey\swould\sbe\slost.\s\sI\sbelieve\sthe\sfix\sis\nto\suse\sTclPreserve\sinstead\sof\sTcl_RegisterChannel.\n\n--Brent\n\n\nAs\sof\s8.2.1,\sTcl_NotifyChannel\suses\sTcl_Preserve/Tcl_Release\n(fix\smade\ssometime\sbefore\s8.2).\s\n--\s10/21/1999\shobbs
J foundin obsolete:\s8.0.3
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 37.\sFile\sSystem
J title tcl\s8.0.3\sincompatibility\sin\sTcl_CreateChannelHandler
J type Bug
K 218495ffffffffffffffffffffffffffffffffff
U nobody
Z 7d75a48d487b53cec7e0807dbe3a8089