box64: Wine WOW64 8.18 hangs on wineboot

Build has been tested functional on x86_64 and the binaries have been determined to not be corrupted (same sha1sum of the entire directory for both the arm64 and x86_64 test systems). Able to be reproduced on multiple systems.

box64 info:

Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL PageSize:4096 Running on Cortex-A57 with 4 Cores
Params database has 28 entries
Box64 with Dynarec v0.2.5 9209e57b built on Oct 14 2023 06:43:23

the wine-8.18 build: https://github.com/Pi-Apps-Coders/files/releases/download/large-files/wine-8.18.tar.gz

extract the build and reproduce by running: ./wine-8.18/bin/wine wineboot and see that it hangs

8.17 build has no such issues https://github.com/Pi-Apps-Coders/files/releases/download/large-files/wine-8.17.tar.gz

About this issue

  • Original URL
  • State: closed
  • Created 9 months ago
  • Comments: 43 (29 by maintainers)

Commits related to this issue

Most upvoted comments

was this type of error supposed to be fixed 0034:err:virtual:try_map_free_area mmap() error Cannot allocate memory, range 0x7fffffa90000-0x7ffffffea000, unix_prot 0x7 ? because I am still seeing very many of them.

Could it be caused by your kernel doesn’t have full 48 bit address space? I know wine 8.18 on android also has this problem, and android only have 39 bit virtual address, while wine presumes you have 48 bit address space and allocates memory from higher space which is unavailable. Modifying address space limit in dlls/ntdll/unix/virtual.c fixes this issue for me