Artifacts Associated With Ticket 710649ffffffffffffffffffffffffffffffffff
Ticket change [cb75d0cb3c] (rid 95520) by vasiljevic on 2003-03-27 10:52:39:
- assignee initialized to: "vincentdarley"
- cmimetype initialized to: "text/plain"
- comment initialized to:
The new pluggable filesystem code located in generic/tclIOUtils.c naively plays with global Tcl_Obj*, passing them between threads per-reference and neglecting the proper locks for all except write operations. The spot in question is the global Tcl_Obj *cwdPathPtr. The net-effect is that paths passed to the OS-calls gets garbled, memory is being trashed leading to process exitus and whole bunch of other ugly things is happening. I think this has to be entirely revised, as one can not simply share Tcl_Objs between threads. One has to always make a deep-copy (w/o internal references) of the object before passing it to some other thread. I have some ideas on how to solve this, but it is really not that straight-forward, since few of design issues have to be modified. This bug is really a show-stopper for MT-apps therefore the highest priority.
- foundin initialized to: "obsolete: 8.4.2"
- priority initialized to: "9 Immediate"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "vasiljevic"
- subsystem initialized to: "36. Pathname Management"
- title initialized to: "Thread-unsafe handling of cwdPathPtr"
- type initialized to: "Bug"
Ticket change [0ce4f8e09f] (rid 114260) by vasiljevic on 2003-03-28 23:24:15:
- closedate changed to: "2003-03-28T16:24:15"
- closer changed to: "vasiljevic"
- icomment:
Logged In: YES user_id=95086 Duplicate bug entry thanks to page-refresh. Phew! Closing this one.
- login: "vasiljevic"
- mimetype: "text/plain"
- status changed to: "Closed"
- username: "vasiljevic"