http://bugs.winehq.org/show_bug.cgi?id=17373
Summary: eac3to: large files don't work - NtMapViewOfSection? Product: Wine Version: 1.1.14 Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 AssignedTo: wine-bugs@winehq.org ReportedBy: mail1@player.to
eac3to 3.08 (http://forum.doom9.org/showthread.php?t=125966) doesn't work with large files.
Call: wine eac3to/eac3to.exe ../../tmp/NIGHTMAREBEFOREXMAS_GBR 1)
Output: Error reading file "../../tmp/NIGHTMAREBEFOREXMAS_GBR\BDMV\STREAM\00001.m2ts".
1) [or 1) without escaping for the shell] tells eac3to to process title #1 from the bluray playlist.
It works if I try to process titles 3 or 4 which point to m2ts files of the sizes 1.9GB and 1.7GB. Using titles 1 or 2 will result in the error message from above, the corresponding m2ts files are 24.7GB and 6.8GB large.
WINEDEBUG=all shows the following relevant call right before the error message:
0009:Call KERNEL32.MapViewOfFile(000000e4,00000004,00000000,00000000,00a00000) ret=004c05be 0009:trace:virtual:NtMapViewOfSection handle=0xe4 process=0xffffffff addr=(nil) off=000000000 size=0 access=2 0009: get_mapping_info( handle=00e4, access=00000005 ) 0009: get_mapping_info() = 0 { size=62f8bc000, protect=65, header_size=0, base=00000000, mapping=00e8, shared_file=0000 } 0009:warn:virtual:NtMapViewOfSection Sizes larger than 4Gb (62f8bc000) not supported on this platform 0009: close_handle( handle=00e8 ) 0009: close_handle() = 0 0009:Ret KERNEL32.MapViewOfFile() retval=00000000 ret=004c05be
The files are located on a XFS filesystem if that matters.
I'll attach the output with WINEDEBUG=all
http://bugs.winehq.org/show_bug.cgi?id=17373
--- Comment #1 from Marco mail1@player.to 2009-02-13 11:08:26 --- Created an attachment (id=19419) --> (http://bugs.winehq.org/attachment.cgi?id=19419) output w. WINEDEBUG=all
http://bugs.winehq.org/show_bug.cgi?id=17373
--- Comment #2 from Alexandre Julliard julliard@winehq.org 2009-02-13 13:04:06 --- Does it work on Windows with the same file?
http://bugs.winehq.org/show_bug.cgi?id=17373
--- Comment #3 from Marco mail1@player.to 2009-02-13 13:31:23 --- Yes, works fine with native MS Windows XP
http://bugs.winehq.org/show_bug.cgi?id=17373
--- Comment #4 from Alexandre Julliard julliard@winehq.org 2009-02-13 13:32:09 --- Created an attachment (id=19420) --> (http://bugs.winehq.org/attachment.cgi?id=19420) Fix large file maps.
Never mind, the size check is clearly broken. Give this a try.
http://bugs.winehq.org/show_bug.cgi?id=17373
--- Comment #5 from Marco mail1@player.to 2009-02-13 15:10:41 --- This seems to fix it, all titles are working with the patch applied.
http://bugs.winehq.org/show_bug.cgi?id=17373
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Component|kernel32 |ntdll Ever Confirmed|0 |1 Keywords| |patch
--- Comment #6 from Vitaliy Margolen vitaliy@kievinfo.com 2009-02-13 21:00:21 --- Confirming since there is a working patch. And AJ says it's broken ;)
http://bugs.winehq.org/show_bug.cgi?id=17373
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Component|ntdll |kernel32 Resolution| |FIXED
--- Comment #7 from Alexandre Julliard julliard@winehq.org 2009-02-18 10:35:28 --- Fixed by d916d98d028cf9d1e413f8724342a0da30dc9b5c.
http://bugs.winehq.org/show_bug.cgi?id=17373
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Alexandre Julliard julliard@winehq.org 2009-02-27 16:31:43 --- Closing bugs fixed in 1.1.16.