Skip to content
Tcl Source Code Artifact [568cc1a5a5]
Login

Artifact [568cc1a5a5]

Artifact 568cc1a5a58c588a7332345af7cc04eb3901b3bc:

Ticket change [568cc1a5a5] - Ticket [1941063fffffffff|1941063fff] <i>test exec-9.7 fails randomly</i> status still Open with 4 other changes by ferrieux on 2008-04-14 06:05:52.
D 2008-04-14T06:05:52
J icomment Logged\sIn:\sYES\s\nuser_id=496139\nOriginator:\sNO\n\nHmmm,\sI'm\swondering,\sdoesn't\sall\sthis\slook\slike\san\sOS\sbug\s?\nCouldn't\swe\stry\sto\sreproduce\swithout\sTcl\s?\n\nIndeed,\swhat\swe\sobserve\sis\ssimilar\sto\swhat\shappens\swhen\stwo\sprocesses\swrite\sto\sthe\ssame\sfile\sthrough\stwo\sseparately\sopened\sfile\sdescriptors;\swhile\sthe\sTcl\scode\sproperly\suses\sa\ssingle\sfd\sthat\sis\sdup2'ed\sto\sthe\s2's\sof\sall\schildren.\sBut\ssince\sthis\sapparently\shappens\s(only?)\son\sbi-processor\smachines,\sit\scould\salso\sbe\sinterpreted\sas:\sbuggy\skernel\scode,\sfailing\sto\slock\sthe\sSMP\smaster\slock\swhen\supdating\sthe\sseek\spointer\sof\sthe\ssame\sundelying\skernel-fd.\sThe\stwo\sprocessors,\srunning\sin\strue\sparallelism,\sstart\swith\slocal\scopies\sof\sthe\sseek\spointer\s(both\s0),\sand\swrite\sthe\ssame\sbytes\sin\sparallel\sinstead\sof\ssequence,\shence\sthe\sseek\spointer\sends\sup\sat\sthe\send\sof\sjust\sone\smessage.\n\nAll\sthis\sis\swild\sspeculation.\sI\shope\sI'm\swrong,\sand\sthat\sSMP\shas\sbeen\saround\sfor\slong\senough\sthat\ssuch\strivial\smaster\slock\sissues\sare\sno\slonger\sthinkable.\sBut...\n
J login ferrieux
J mimetype text/plain
J username ferrieux
K 1941063fffffffffffffffffffffffffffffffff
U ferrieux
Z a01a7e5e42be81334904b9b0a75c2d0a