Skip to content
Tcl Source Code Artifact [cb75d0cb3c]
Login

Artifact [cb75d0cb3c]

Artifact cb75d0cb3c369614f134ceec1cb426890a634092:

Ticket change [cb75d0cb3c] - New ticket [710649ffffffffff|710649ffff] <i>Thread-unsafe handling of cwdPathPtr</i>. by vasiljevic on 2003-03-27 10:52:39.
D 2003-03-27T10:52:39
J assignee vincentdarley
J cmimetype text/plain
J comment The\snew\spluggable\sfilesystem\scode\slocated\sin\ngeneric/tclIOUtils.c\snaively\splays\swith\sglobal\nTcl_Obj*,\spassing\sthem\sbetween\sthreads\nper-reference\sand\sneglecting\sthe\sproper\slocks\nfor\sall\sexcept\swrite\soperations.\s\nThe\sspot\sin\squestion\sis\sthe\sglobal\sTcl_Obj\s*cwdPathPtr.\n\nThe\snet-effect\sis\sthat\spaths\spassed\sto\sthe\sOS-calls\s\ngets\sgarbled,\smemory\sis\sbeing\strashed\sleading\sto\nprocess\sexitus\sand\swhole\sbunch\sof\sother\sugly\sthings\nis\shappening.\n\nI\sthink\sthis\shas\sto\sbe\sentirely\srevised,\sas\sone\scan\snot\nsimply\sshare\sTcl_Objs\sbetween\sthreads.\sOne\shas\sto\s\nalways\smake\sa\sdeep-copy\s(w/o\sinternal\sreferences)\s\nof\sthe\sobject\sbefore\spassing\sit\sto\ssome\sother\sthread.\n\nI\shave\ssome\sideas\son\show\sto\ssolve\sthis,\sbut\sit\sis\s\nreally\snot\sthat\sstraight-forward,\ssince\sfew\sof\sdesign\nissues\shave\sto\sbe\smodified.\n\nThis\sbug\sis\sreally\sa\sshow-stopper\sfor\sMT-apps\ntherefore\sthe\shighest\spriority.
J foundin obsolete:\s8.4.2
J priority 9\sImmediate
J resolution None
J status Open
J submitter vasiljevic
J subsystem 36.\sPathname\sManagement
J title Thread-unsafe\shandling\sof\scwdPathPtr
J type Bug
K 710649ffffffffffffffffffffffffffffffffff
U vasiljevic
Z 6b1c9f2a190030afc2f1f82f2077492e