https://bugs.winehq.org/show_bug.cgi?id=55572
Bug ID: 55572 Summary: kernel32:virtual - test_mapping(<anonymous>, SEC_COMMIT, TRUE) gets permission denied errors on macOS Product: Wine Version: unspecified Hardware: x86-64 OS: Mac OS X Status: NEW Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com
kernel32:virtual - test_mapping(<anonymous>, SEC_COMMIT, TRUE) gets permission denied errors on macOS:
virtual.c:3780: testing anonymous mapping flags 08000000 virtual.c:3892: Test failed: 20: MapViewOfFile(0020/0024) failed 5 virtual.c:3892: Test failed: 21: MapViewOfFile(0020/0025) failed 5 virtual.c:3892: Test failed: 28: MapViewOfFile(0020/002c) failed 5 virtual.c:3892: Test failed: 29: MapViewOfFile(0020/002d) failed 5 virtual.c:3892: Test failed: 18: MapViewOfFile(0040/0022) failed 5 virtual.c:3892: Test failed: 19: MapViewOfFile(0040/0023) failed 5 virtual.c:3892: Test failed: 20: MapViewOfFile(0040/0024) failed 5 virtual.c:3892: Test failed: 21: MapViewOfFile(0040/0025) failed 5 virtual.c:3892: Test failed: 22: MapViewOfFile(0040/0026) failed 5 virtual.c:3892: Test failed: 23: MapViewOfFile(0040/0027) failed 5 virtual.c:3892: Test failed: 26: MapViewOfFile(0040/002a) failed 5 virtual.c:3892: Test failed: 27: MapViewOfFile(0040/002b) failed 5 virtual.c:3892: Test failed: 28: MapViewOfFile(0040/002c) failed 5 virtual.c:3892: Test failed: 29: MapViewOfFile(0040/002d) failed 5 virtual.c:3892: Test failed: 30: MapViewOfFile(0040/002e) failed 5 virtual.c:3892: Test failed: 31: MapViewOfFile(0040/002f) failed 5 virtual.c:3892: Test failed: 20: MapViewOfFile(0080/0024) failed 5 virtual.c:3892: Test failed: 21: MapViewOfFile(0080/0025) failed 5 virtual.c:3892: Test failed: 28: MapViewOfFile(0080/002c) failed 5 virtual.c:3892: Test failed: 29: MapViewOfFile(0080/002d) failed 5
See https://test.winehq.org/data/patterns.html#kernel32:virtual
Where 5 == ERROR_ACCESS_DENIED 0x08000000 == SEC_COMMIT 0x01 == FILE_MAP_COPY 0x04 == FILE_MAP_READ or SECTION_MAP_READ 0x20 == FILE_MAP_EXECUTE or SECTION_MAP_EXECUTE_EXPLICIT
These failures are systematic and only happen on macOS (see Remi's rbernon-macos-* cloud test machines).
https://bugs.winehq.org/show_bug.cgi?id=55572
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source, testcase