Skip to content
Tcl Source Code Artifact [3361d40245]
Login

Artifact [3361d40245]

Artifact 3361d40245d83b298fcf995b294dd8a088f88efa:

Ticket change [3361d40245] - New ticket [1939509fffffffff|1939509fff] <i>Tcl hangs in &quot;exec&quot; (on multi-processor machines)</i>. by nobody on 2008-04-10 15:34:55.
D 2008-04-10T15:34:55
J assignee dkf
J cmimetype text/plain
J comment Sender:\sWolfgang\sSchmid\n\s\s\s\s\s\s\s\sSiemens\sAG\n\s\s\s\s\s\s\s\sMunich,\sGermany\nE-Mail:\[email protected]\nPhone:\s\s+49\s89\s636\s41098\n\n\n"Tclsh83"\sand\s"tclsh85"\shang\sin\sexec\scommand,\sif\srunning\son\smultiprocessor\splatforms.\s(The\stest\sprogram\sis\srunning\son\sa\sWindows-2003-Server\swith\s2\sDual-Core-Xeons\swithout\sHyperThreading.)\n\n\nThat's\sour\stest\senvironment:\n\n("load,bat"\sruns\s"tclsh85"\swith\sthe\sscript\s"testexec.tcl"\sin\san\sendless;\s"testexec.tcl"\sstarts\s5\stimes\sa\sprogram\s(Dos-Batch-Script)\susing\s"exec"\scommand;\sthe\sDOS-Batch-Script\ssimply\sdoes\s"exit\s0"))\n\nload.bat:\s(to\sbe\scalled\sfrom\sDOS\sprompt):\n=========\n:loop\n\nD:\\Tcl8.5.0\\bin\\tclsh85.exe\sclock.tcl>>\strace.txt\n\nD:\\Tcl8.5.0\\bin\\tclsh85.exe\stestexec.tcl\n\ngoto\sloop\n\n\ntestexec.tcl:\n=============\n\nset\sfd\s[open\s"traceexec.txt"\s"w"]\n\nputs\s$fd\s"\\ncallexec\s1\sstarted"\nflush\s$fd\n\nset\sstatus\s[catch\s{\sexec\s./callexec.bat\sp1\sp2\s}\soutcmd]\n\nputs\s$fd\s"status:\s$status,\sresult:\s$outcmd"\nputs\s$fd\s"callexec\s1\sterminated"\nflush\s$fd\n\n\n#\s5\stimes\sthe\ssame\sstuff\sas\sabove\n\n\nclose\s$fd\nexit\s0\n\n\n\ncallexec.bat:Batch-Script\sthat\sdoes\snothing:\n=============\s\s\n\n@echo\soff\n\nrem\secho\s"callproc\sstarted"\s>>\scallproc.txt\n\nexit\s0\n\n\nTwo\strace\sfile\swill\sbe\screated:\n-\strace.txt\s\n\s\s\s\s\scontains\stime\sstamps\swhen\s"tclsh85"\sis\sstarted\n-\straceexec.txt\n\s\s\s\s\scontains\sloggings\sthat\s"callexec.bat"\swas\srunning\sand\sthe\sappropriate\sexit\scodes\n\n\nAfter\sa\sshort\stime\s(15\s-\s20\sminutes),\s"tclsh85"\shangs.\n("No\smore\strace\sentries\sare\swritten\sto\s"trace.txt")\n\nIs\sthere\sa\schance\sof\sfining\sthe\serror\sin\sTcl8.3\s?\n\nFeel\sfree\sto\scontact\sme\svia\se-mail\sif\sinformation\sis\smissing.\n\nRegards,\nWolfgang\n
J foundin None
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 16.\sCommands\sA-H
J title Tcl\shangs\sin\s"exec"\s(on\smulti-processor\smachines)
J type Bug
K 1939509fffffffffffffffffffffffffffffffff
U nobody
Z 58caaece0bd86756bdb6b9988d8b1cf0