https://bugs.winehq.org/show_bug.cgi?id=44432
Bug ID: 44432 Summary: AArch64: assertion fail in alloc_pages_vprot Product: Wine Version: 3.0 Hardware: aarch64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: piotr.caban@gmail.com Distribution: ---
Wine sometimes fail to start in qemu_aarch64 + ubuntu16.04 because of assertion fail in alloc_pages_vprot function.
It looks like it's related to address space limit being set incorrectly in virtual_init: #ifdef _WIN64 address_space_limit = (void *)(((1UL << 47) - 1) & ~page_mask); After changing it to: address_space_limit = (void*)(((1UL << 48) - 1) & ~page_mask); wine starts successfully. According to arm8 documentation 48-bit virtual memory addressing is used.