Artifacts Associated With Ticket 466102ffffffffff
Ticket change [93d33ca385] (rid 105871) by kennykb on 2001-09-28 16:11:24:
- assignee initialized to: "vincentdarley"
- cmimetype initialized to: "text/plain"
- comment initialized to:
On a system running Windows NT 4.0 SP6, compiling with NODEBUG=0, the test winFCmd-2.5 hangs the process.
- foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "kennykb"
- subsystem initialized to: "37. File System"
- title initialized to: "test winFCmd-2.5 hangs"
- type initialized to: "Bug"
Ticket change [f4af3897fd] (rid 129962) by nobody on 2001-09-28 23:20:36:
- icomment:
Logged In: NO Is this with the latest cvs head or tcl 8.3.3 or...? thanks -- Vince.
- login: "nobody"
- mimetype: "text/plain"
- username: "nobody"
- icomment:
Ticket change [0b59db2056] (rid 113969) by kennykb on 2001-09-28 23:24:09:
- icomment:
Logged In: YES user_id=99768 Oops. Sorry. Latest HEAD. I think the underlying problem is with CopyFileA in kernel32.dll, but we probably need to check for the case.
- login: "kennykb"
- mimetype: "text/plain"
- username: "kennykb"
- icomment:
Ticket change [72495abe59] (rid 100829) by kennykb on 2001-09-28 23:25:31:
- foundin changed to: "obsolete: 8.4a4"
Ticket change [28189485c4] (rid 88641) by vincentdarley on 2001-09-29 06:17:13:
- icomment:
Logged In: YES user_id=32170 I can't reproduce this on my machine, but I'm not running NT. However, the following in tclWinFCmd.c (DoCopyFile): /* * If 'nativeDst' is NULL, the following code can lock the process * up, at least under Windows2000. Therefore we have to bail at * that point. */ if (nativeDst == NULL) { Tcl_SetErrno(ENOENT); return TCL_ERROR; } would seem to be relevant. It seems as if perhaps something similar applies on your platform if 'nativeSrc' is NULL or empty or something (since that's what the test which hangs is doing). - login: "vincentdarley"
- mimetype: "text/plain"
- username: "vincentdarley"
- icomment:
Ticket change [bdb9fb4d37] (rid 101954) by vincentdarley on 2001-10-05 18:03:18:
- assignee changed to: "kennykb"
- icomment:
Logged In: YES user_id=32170 Just to clarify, this test is testing a 'bad case', trying to copy "" somewhere. The hang most likely is occuring when the Win32 CopyFileA/W function is called. The fix is probably to check first whether the path is both non-null and non-empty, just as is currently done with 'nativeDst'. I leave this to Kenny to test, since I don't have a suitable machine. Add something like: if (nativeSrc == NULL || (*nativeSrc == '\0')) { Tcl_SetErrno return TCL_ERROR; } - login: "vincentdarley"
- mimetype: "text/plain"
- username: "vincentdarley"
Ticket change [e5cb7bf7c2] (rid 104188) by hobbs on 2001-10-13 03:36:21:
- icomment:
Logged In: YES user_id=72656 This is OK for me on Win2K as well.
- login: "hobbs"
- mimetype: "text/plain"
- priority changed to: "3 Low"
- username: "hobbs"
- icomment:
Ticket change [9a0dfd8354] (rid 110891) by kennykb on 2001-10-19 04:56:40:
- icomment:
Logged In: YES user_id=99768 Fine with me on NT. Thanks.
- login: "kennykb"
- mimetype: "text/plain"
- username: "kennykb"
- icomment:
Ticket change [4740a8929f] (rid 99665) by kennykb on 2001-10-19 05:30:58:
- assignee changed to: "vincentdarley"
Ticket change [7be6dcbc1d] (rid 96984) by nobody on 2001-10-19 15:28:33:
- icomment:
Logged In: NO I don't quite understand the last message here. Does this mean after applying my suggested change it now works, or it now works anyway? Can you perhaps attach a patch containing the actual change you made which works? (or just apply it direct to cvs, for that matter). cheers - Vince.
- login: "nobody"
- mimetype: "text/plain"
- username: "nobody"
- icomment:
Ticket change [8f90744dad] (rid 120293) by hobbs on 2001-10-20 00:30:03:
- icomment:
Logged In: YES user_id=72656 In my case, without any changes, it works on Win2K.
- login: "hobbs"
- mimetype: "text/plain"
- username: "hobbs"
- icomment:
Ticket change [67f382d6dd] (rid 102979) by kennykb on 2001-10-20 05:59:26:
- icomment:
Logged In: YES user_id=99768 OK, here's the patch that Vince requested; it's exactly his suggested change.
- login: "kennykb"
- mimetype: "text/plain"
- username: "kennykb"
- icomment:
Add attachment "466102.patch" [dfb3998f8c] (rid 115055) by kennykb on 2001-10-20 05:59:26.
Ticket change [60f3e0bb07] (rid 92159) by kennykb on 2001-10-20 05:59:27:
- icomment:
File Added - 12220: 466102.patch
- login: "kennykb"
- mimetype: "text/plain"
- username: "kennykb"
- icomment:
Ticket change [d337026044] (rid 123250) by vincentdarley on 2001-10-23 16:45:57:
- closedate changed to: "2001-10-23T09:45:57"
- closer changed to: "vincentdarley"
- icomment:
Logged In: YES user_id=32170 Applied patch.
- login: "vincentdarley"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "vincentdarley"