https://bugs.winehq.org/show_bug.cgi?id=44082
Bug ID: 44082 Summary: testcase, source: "err:virtual:NtMapViewOfSection map_file_into_view ... failed" Product: Wine Version: 2.22 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs@winehq.org Reporter: dmo2118@gmail.com Distribution: ---
Created attachment 59797 --> https://bugs.winehq.org/attachment.cgi?id=59797 Test program source code
With a short test program (test.c), I get:
$ wine a.exe err:virtual:NtMapViewOfSection map_file_into_view 0x350000 10000 000000000 failed MapViewOfFile: error 87
abnormal program termination
(Win32 error 87 is ERROR_INVALID_PARAMETER.)
On regular Windows 7, the program exits successfully.
FWIW: user@virtualbox:~$ uname -a Linux virtualbox 4.4.0-101-generic #124-Ubuntu SMP Fri Nov 10 18:29:59 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux user@virtualbox:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 16.04.3 LTS Release: 16.04 Codename: xenial
https://bugs.winehq.org/show_bug.cgi?id=44082
dmo2118@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #59797|Test program source code |test.c description| |
https://bugs.winehq.org/show_bug.cgi?id=44082
--- Comment #1 from Alexandre Julliard julliard@winehq.org --- It works fine here. What filesystem are you running on?
https://bugs.winehq.org/show_bug.cgi?id=44082
dmo2118@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |NOTOURBUG Status|UNCONFIRMED |RESOLVED
--- Comment #2 from dmo2118@gmail.com --- Filesystem is vboxsf (VirtualBox shared folder).
Using mmap(2) gives me EINVAL. I guess it's supposed to be ENODEV when a filesystem doesn't support mmap(), but I guess that's a VirtualBox problem, not a Wine problem.
vboxsf doesn't support mmap...good to know. Ext4 and tmpfs work fine, though.
https://bugs.winehq.org/show_bug.cgi?id=44082
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Austin English austinenglish@gmail.com --- Closing.
https://bugs.winehq.org/show_bug.cgi?id=44082
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |RESOLVED
--- Comment #4 from Austin English austinenglish@gmail.com --- This was inadvertently caught up in my unclosed bugs filter. NOTOURBUG should only be closed when fixed upstream.
Setting back to RESOLVED NOTOURBUG.
Sorry for the spam.