[Bug 20226] New: builtin xcopy.exe crashes with page fault when source directory does not exist.
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(a)winehq.org ReportedBy: robbak(a)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.) -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20226 --- Comment #1 from Robert Backhaus <robbak(a)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. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20226 --- Comment #2 from Vincent Povirk <madewokherd(a)gmail.com> 2009-09-30 22:05:19 --- The backtrace is lacking debug symbols. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20226 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20226 Niko Sandschneider <nsandschn(a)gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nsandschn(a)gmx.de --- Comment #3 from Niko Sandschneider <nsandschn(a)gmx.de> 2010-06-09 14:28:28 --- I cannot reproduce this with wine-1.2-rc2-224-ga2791a0. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20226 Robert Backhaus <robbak(a)robbak.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |robbak(a)robbak.com --- Comment #4 from Robert Backhaus <robbak(a)robbak.com> 2010-06-09 19:20:36 --- While it is no longer crashing for me on 1.2rc2, it is not doing what it should, as follows: robbak(a)robbak-pc:~$ rm -r testdir robbak(a)robbak-pc:~$ mkdir testdir robbak(a)robbak-pc:~$ mkdir testdir/target robbak(a)robbak-pc:~$ wine xcopy.exe /e testdir\\nonexistant testdir\\target File not found ^Crobbak(a)robbak-pc:~$ ls testdir target robbak(a)robbak-pc:~$ ls testdir/target/ business Downloads histfile openwrt openwrt-dl snapview temp Videos Which is the contents of my home directory, or as much of it as it copied before I ^C'd it. On XP, xcopy dies immediately:
xcopy.exe testdir\nonexistant testdir\target File not found - nonexistant 0 File(s) copied
-- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20226 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED --- Comment #5 from Alexandre Julliard <julliard(a)winehq.org> 2010-06-10 12:37:04 --- Should be fixed by b7da23eb29a3f68b6acf0d0e884e54f546241bab. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20226 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #6 from Alexandre Julliard <julliard(a)winehq.org> 2010-06-11 12:52:04 --- Closing bugs fixed in 1.2-rc3. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20226 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |b7da23eb29a3f68b6acf0d0e884 | |e54f546241bab CC| |focht(a)gmx.net Component|-unknown |programs -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org