http://bugs.winehq.org/show_bug.cgi?id=9968
Summary: Problem mapping large files Product: Wine Version: 0.9.46. Platform: All OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-kernel AssignedTo: wine-bugs@winehq.org ReportedBy: robert@cs.auckland.ac.nz
I'm trying to use Microsoft's ImageX with Wine as part of a small Linux image to install Windows disk images. It works great for a 120Mb file, however when I try it on a 2.3Gb file, it fails with "Invalid data".
The tool is designed for dealing with large files, so it looks like a problem in Wine. I reran it with +server,+relay which included the following in the output:
0009:Call KERNEL32.CreateFileMappingW(00000050,00000000,00000002,00000000,8fcbf02e,00000000) ret=01028a7b 0009: create_mapping( access=000f0005, attributes=000000c0, rootdir=(nil), size_high=0, size_low=-1882460114, protect=65, file_handle=0x50, name=L"" ) 0009: create_mapping() = INVALID_PARAMETER { handle=(nil) } 0009:Ret KERNEL32.CreateFileMappingW() retval=00000000 ret=01028a7b 0009:Call KERNEL32.SetLastError(00000000) ret=01019bf6 0009:Ret KERNEL32.SetLastError() retval=00000000 ret=01019bf6