Artifacts Associated With Ticket 19ea026e43
Ticket change [c3a5708899] (rid 141601) by bogdan1234 on 2015-04-22 13:40:44:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/html"
- comment initialized to:
<p>Notice: whole analyze assumes <i>tclWinFile.c</i> from <i>0a2e3bb2d9</i> trunk.</p> <p>Suppose such situation on Windows: several Tcl executable instances (in my situation it was software which integrates Tcl inside) 'source' files at the same time from the same directory, which is symbolic link or mounted drive. (in my situation mentioned software was just installed into this linked directory)</p> <p>Problem is that in such situation <i>TclpObjNormalizePath</i> randomly fails at <i>tclWinFile.c:2587</i> (exactly this line: <i>handle = FindFirstFileW((WCHAR *) nativePath, &fData);</i>), because at the same time other process opened the linked directory using <i>NativeReadReparse</i> function without <i>FILE_SHARE_READ</i> flag in <i>CreateFile</i> (see <i>tclWinFile.c:671</i>). <p>I cannot find the reason to not give shared access for reading the directory in <i>NativeReadReparse</i> as it only reads Reparse Point. My patch corrects this problem (it passes <i>FILE_SHARE_READ</i> flag into <i>CreateFile</i> in <i>NativeReadReparse</i>). Please, consider this correction, or explain the reason why it cannot be used.</p> <p></p>
- is_private initialized to: "0"
- login: "bogdan1234"
- priority initialized to: "5 Medium"
- private_contact initialized to: "5386df0f247767977c06b2eaeb95c7e6c700e7ac"
- resolution initialized to: "None"
- severity initialized to: "Severe"
- status initialized to: "Open"
- submitter initialized to: "bogdan1234"
- subsystem initialized to: "18. Commands M-Z"
- title initialized to:
parallell 'source'ing files from linked directory fails randomly
- type initialized to: "Patch"
Add attachment "tclWinFile.patch" [550ffb251b] (rid 141602) by bogdan1234 on 2015-04-22 13:41:12.
Ticket change [716a893f0b] (rid 141603) by dgp on 2015-04-22 14:04:40:
- assignee changed to: "jan.nijtmans"
- login: "dgp"
- mimetype: "text/plain"
- priority changed to: "7 High"
- subsystem changed to: "27. Channel Types"
Ticket change [53b4ef7d52] (rid 141609) by oehhar on 2015-04-23 12:21:38:
- closedate changed to: "2457136.01502712"
- closer changed to: "oehhar"
- icomment:
Checked with Jan and APN. Test suite has no new issue, but [8f6132d6ee] was discovered. Committed to core-8-5-branch [7d39fa6f82] and trunk [990679a4a2]. Bug closed. Thank you, Harald
- login: "oehhar"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Accepted"
- status changed to: "Closed"
- username: "oehhar"