.
D 2003-04-09T07:34:13
J assignee andreas_kupries
J cmimetype text/plain
J comment I'm\sattaching\sa\sscript\sthat\scrashes\seach\stime\sI\srun\sit\son\s\nmy\ssystem.\sIt's\san\secho\sserver\stranslated\sfrom\sa\ssingle-\nthreaded\sto\sa\smulti-threaded\simplementation.\n\nAs\swritten,\sclients\scan\sconnect\sto\sthe\sserver\sand\s\nsuccessfully\sreceive\sechoes\sof\smessages\sthey\ssend.\s\n(I've\stested\sit\susing\ssimple\stelnet\sconnections.)\sHowever,\s\nwhen\sany\sclient\sdisconnects\s--\seither\sby\sclosing\sthe\s\nclient\sor\sby\sissuing\sthe\s"quit"\smessage\s--\sthe\sserver\s\ncrashes\swith\sthe\sfollowing\smessage:\n\nFlushChannel:\sdamaged\schannel\slist\n\nabnormal\sprogram\stermination\n\nThere\swas\sanother\sproblem\sI\snoticed\swith\sthis\sscript,\s\nthat\sperhaps\sshould\sbe\sfiled\sas\sa\sseparate\sbug.\sYou'll\s\nnote\sa\sfew\slines\snear\sthe\sbottom\scommented\sout,\swhich\s\ntried\sto\ssend\sa\s"welcome"\smessage\safter\sthe\sclient\s\nconnected.\sThe\scode\swould\ssend\sthe\smessage\s\nsuccessfully,\sbut\sthen\sthe\sreadable\sfileevent\sseemed\sto\s\nnever\sfire\swithin\sthe\sworker\sthread.\n\nUnfortunately,\sas\sI'm\srunning\sthis\son\sWindows\s2000,\sI'm\s\nnot\ssure\swhat\sadditional\sdebugging\sinformation\sI\scan\s\nprovide.\sAs\sfar\sas\sthe\senvironment,\sthe\soperating\ssystem\s\nis\sMicrosoft\sWindows\s2000,\s5.00.2195,\sService\sPack\s3.\s\nI'm\srunning\sthe\sscript\sfrom\sa\sCommand\sPrompt\swindow\s\nby\sexecuting\s"tclsh\sechoserv3.tcl".\n\nThe\stclsh\sis\sversion\s8.4.2,\scompiled\son\smy\ssystem\s\ndirectly\sfrom\sthe\ssource,\swith\sthreading\senabled.\sThe\s\nThreads\sversion\sis\s2.5.1,\salso\scompiled\son\smy\smachine.\n\nI\scompiled\sboth\susing\sthe\sMingw\stools.\sThe\sbeginning\sof\s\nthe\sREADME.txt\sfile\ssays:\s"This\sis\smsys_mingw\srelease\s\n#2,\sit\sbundles\sMsys\s1.0.8\sand\sMingw\s1.1."\sgcc\s--version\s\nreturns\s2.95.3-6.
J foundin obsolete:\s8.4.2
J priority 5\sMedium
J resolution None
J status Open
J submitter kenj
J subsystem 49.\sThreading
J title Closing\stransferred\schannel\scrashes\sapp
J type Bug
K 718045ffffffffffffffffffffffffffffffffff
U kenj
Z 41f95f8d59348e81f8735f75e89562a5