http://bugs.winehq.org/show_bug.cgi?id=20226
Summary: builtin xcopy.exe crashes with page fault when source directory does not exist. Product: Wine Version: 1.1.30 Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P3 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: robbak@gmail.com
Created an attachment (id=23862) --> (http://bugs.winehq.org/attachment.cgi?id=23862) 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.)