https://bugs.winehq.org/show_bug.cgi?id=50993
--- Comment #5 from Roman Pišl rpisl@seznam.cz --- Created attachment 70041 --> https://bugs.winehq.org/attachment.cgi?id=70041 Fix for Wine
I think now I understand it. Almost the whole virtual address space is covered by a single view which also contains a 64bit reserved area 0x7ffffe000000-0x7fffffff0000 so it is marked as MEM_RESERVE in get_free_mem_state_callback(). Attached quick fix solves the issue.
Interestingly, it also fixes bug 50735.
It seems that any 64bit application that is searching for a large chunk of a free virtual space this way is possibly affected. So also these interceptors and such..