starpack vfs can't be accessed from thread

[email protected]
Newsgroups gmane.comp.lang.tcl.starkit
Message-ID <010220072036.7069.459AC245000D5A3100001B9D2206424613089C0E099D0E099C@comcast.net>
When using the most recent ActiveState release (8.4.14) on Windows, I can no longer access files in a VFS from a child thread.

Here's a simple test case (test.vfs/main.tcl):

package require starkit
starkit::startup

package require Thread

puts [pwd]
thread::create {cd [info nameofexecutable]}
after 1000
puts [pwd]

If I turn that into a starpack with 8.4.14, I get:

C:/home/scottg/tmp/test1
Error from thread tid000000D0
couldn't change working directory to
"c:/home/scottg/tmp/test1/test.exe": no such file or directory
    while executing
"cd [info nameofexecutable]"
C:/home/scottg/tmp/test1

whereas with an older ActiveState release (8.4.13), I get:

C:/home/scottg/tmp/test1
C:/home/scottg/tmp/test1/test.exe

I saw in an older comp.lang.tcl thread that there were thread safety issues in the vfs code, but that this had
been fixed.   Is there now something new that needs to be done to allow the child thread access to the VFS?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.