Skip to content
Tcl Source Code Artifact [71f3079625]
Login

Artifact [71f3079625]

Artifact 71f30796257ab387fa2b267b803ab606f11b96cc:

Ticket change [71f3079625] - New ticket [9471e6e3042c18f3|9471e6e304] <i>InitWinEnv not thread safe</i>. by christian.nassau on 2016-02-15 10:54:11.
D 2016-02-15T10:54:11.455
J assignee nobody
J closer nobody
J cmimetype text/plain
J comment We're\sseeing\sthe\sfollowing\serror\sduring\sthe\ssimultaneous\screation\sof\sseveral\sTcl\sinterpreters\son\sWindows:\r\n\r\n\s\s\sCan't\sfind\sa\susable\sinit.tcl\sin\sthe\sfollowing\sdirectories:\r\n\s\s\s\s\s\s\s{D:\\ourniceproject\\tcl8.6}\r\n\r\n\s\s\sD:/ourniceproject/tcl8.6/init.tcl:\scan't\sread\s"env(ComSpec)":\sno\ssuch\selement\sin\sarray\r\n\s\s\scan't\sread\s"env(ComSpec)":\sno\ssuch\selement\sin\sarray\r\n\s\s\s\s\s\s\swhile\sexecuting\r\n\s\s\s"set\stemp\s$env($p)"\r\n\s\s\s\s\s\s\s(procedure\s"InitWinEnv"\sline\s9)\r\n\s\s\s\s\s\s\sinvoked\sfrom\swithin\r\n\s\s\s"InitWinEnv"\r\n\s\s\s...\r\n\r\nThe\sproblem\sseems\sto\sbe\sthat\stwo\ssimultaneous\scalls\sto\s"InitWinEnv"\sboth\stry\sto\sreplace\s"env(ComSpec)"\swith\s"env(COMSPEC)".\sThe\srelevant\scode\ssection\sis\r\n\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sset\stemp\s$env($p)\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sunset\senv($p)\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sset\senv($u)\s$temp\r\n\r\nThe\s"unset\senv($p)"\sfrom\sthe\sfirst\sthread\shere\sleads\sto\sthe\serror\sin\sthe\ssecond\sthread.
J foundin 8.6.3
J is_private 0
J login christian.nassau
J priority 5\sMedium
J private_contact 3b279cda57135cd36d2c32c66396637342913651
J resolution None
J severity Severe
J status Open
J submitter christian.nassau
J subsystem 08.\sEnvironment\sVariables
J title InitWinEnv\snot\sthread\ssafe
J type Bug
K 9471e6e3042c18f3c8403b7013ecdf104efb5b6d
U christian.nassau
Z 4b373bffd7bc7e6af6af169b5c1ff69b