<i>Tcl 8.4.5 with Expect 5.39 hangs waiting for data matching p</i> status still Open with 4 other changes
by
.
D 2004-05-05T23:32:00
J icomment Logged\sIn:\sYES\s\nuser_id=75003\n\nI\sskipped\sright\sover\sthe\stimer_fev.\ssometimes\sI\sam\sto\snear\nto\sthe\scode.\sThe\stimer_fev\sis\sset\sif\sthe\sfileevent\shandler\nthe\sread\sis\sin\swas\sinvoked\snot\sby\sa\sreal\sfileevent,\sbut\sby\sa\nfake\sfile\sevent\sgenerated\sby\sa\stimer,\sto\sflush\sdata\skept\sin\nthe\sbuffers\s...\sInteresting,\sset\sif\sand\sonly\sif\sthere\sis\nblockmode\sproc,\si.e.\sif\sthe\sgeneric\slayer\scannot\sknow\sif\sthe\nunderlying\sdriver\swill\sblock\sor\snot.\sAnd\s'expect'\sfits\sthat\nto\sa\stee.\sI\shave\sto\sgather\smore\sinformation\sabout\stimer_fev\nit\sseems,\swhen\sit\swas\sintroduced,\schangelog\scomments\sfrom\nthat\stime\setc.\n\nIn\sthe\smeantime,\stestscript.\sYes\splease.\sPlease\stry\sto\nreduce\syour\sapplication\sto\ssomething\ssmall\s(and\swithout\nlarge\sIP\sof\syours)\sand\sattach\sit\sto\sthis\sbug\sreport.\n\nIf\sI\scan\sinvoke\sa\sscript\swhich\sis\sselfcontained\sand\sreliably\nhangs\sitself\sdebugging\swill\sbe\smuch\seasier\sfor\sme.\s\n\nRegarding\stelling\sthat\sthere\sis\smore\sdata\son\sthe\schannel\s...\nTcl\scannot,\snot\sdirectly.\sFor\sdrivers\swith\sa\sblockmodeproc\nit\scan\stell\sthe\sdriver\swhether\sto\sread\sblocking\sor\nnon-blocking,\sand\sin\sthe\snon-blocking\scase\sthe\sdriver\sensure\nthat\sit\sstops\sreading\sthe\smoment\sthe\sos\stells\sit\sthat\sit\shas\nno\smore\sdata\sright\snow.\sExpect\sis\sa\sdriver\swithout\sa\nblockmodeproc,\sand\sso\sTcl\scannot\sreally\stell\swhen\sthere\sis\nno\smore\sdata,\sand\shas\sto\sbe\sextra\scareful\sto\scall\son\sthe\sOS\nonly\sif\sthere\sshould\sbe\sdata\spresent.\sThis\stimer_fev\sflag\sI\noverlooked\searlier\shas\sexactly\sthis\spurpose.\sAnd\smaybe\sthere\nis\ssomething\swrong\sin\sthe\slogic\sof\sits\shandling.\sI\sdon't\nknow\syet,\sI\shave\sto\sread\smore\schangelog.\n\nThanks.\n
J login andreas_kupries
J mimetype text/plain
J username andreas_kupries
K 943274ffffffffffffffffffffffffffffffffff
U andreas_kupries
Z 134b086eebe985a533caaafb21aab869