[Bug 46568] 64-bit msxml6.dll from Microsoft Core XML Services 6.0 redist package fails to load (Wine doesn't respect 44-bit user-mode VA limitation from Windows < 8.1)

WineHQ Bugzilla wine-bugs at winehq.org
Tue Nov 26 04:51:18 CST 2019


https://bugs.winehq.org/show_bug.cgi?id=46568

--- Comment #5 from Paul Gofman <gofmanp at gmail.com> ---
Also, the patches attached here in comment #1 (in the form they are given,
maybe there are updated versions somewhere) have the problem that Wine tends to
eat tenths TBs of virtual address space with them. This happens due to the
following scenario in dlls/ntdll/virtual.c:map_view():

wine_anon_mmap(NULL, ...) tend to return high memory addresses under Linux (it
is coming from native mmap()). map_view() is not happy with address above user
space limit (which was reduced by the patch). It adds the received mapping to a
reserved area instead of unmapping it (otherwise it would get the same address
again and it would result in infinite loop). So it keeps reserving virtual
address space until the addresses between the (reduced) user space limit and
native host user space limit is mostly filled.

I suppose fixing that is no easier than to do what my patch is trying to do, it
should probably reduce to something similar.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list