http://bugs.winehq.org/show_bug.cgi?id=20226
--- Comment #1 from Robert Backhaus robbak@gmail.com 2009-09-30 20:53:03 --- (In reply to comment #0)
Created an attachment (id=23862)
--> (http://bugs.winehq.org/attachment.cgi?id=23862) [details]
backtrace from crash in xcopy.exe
The builtin implemetnation of xcopy.exe has a bug wherein xcopy pagefaults on exit when the source file does not exist, and option\e (copy empty subdirectories) is used. Example below:
wine xcopy.exe /e Z:\home\robbak\testdir\nonexistant z:\home\robbak\testdir\nonexist_target Path not found
wine: Unhandled page fault on write access to 0x003a005e at address 0x7bc460f4 (thread 0042), starting debugger... err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x7bc460f4 [1]+ Done wine notepad.exe
Attached is a dump created while running autopatcher, which runs uses xcopy.exe. (my simple test did not produce a backtrace.)
a little further examination revealed that you need a nonexistant source and an existing target: so wine xcopy.exe /e Z:\home\robbak\testdir\nonexistant z:\home\robbak\testdir\target File not found
wine: Unhandled page fault on write access to 0x003a005e at address 0x7bc460f4 (thread 004e), starting debugger... err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x7bc460f4
What it actually does seems to be a bit random: Most of the time I get a selection of folders from my home directory in the target, other times I get a crash and backtrace, and the folder stays empty.