Wine on FreeBSD current
Gerald Pfeifer
gerald at pfeifer.com
Sun Jun 20 09:57:43 CDT 2004
On Thu, 17 Jun 2004, John Birrell wrote:
> "wine: failed to initialize: /something/lib/wine/ntdll.dll.so: mmap of
> entire address space failed: Cannot allocate memory"
>
> is caused by Wine attempting to mmap memory outside the user process
> address space. I see mmap addr around 0xd8100000 (mostly 0xd81eccd8)
> whereas the user address space limit on FreeBSD current is 0xbfc00000
> (at least on my system).
> [...]
> I ran a test of mmap on FreeBSD current to see what address space I
> was able to mmap. Using objdump to identify the pages that the test
> program was linked to load in, the test program was able to mmap MAP_ANON,
> MAP_FIXED, MAP_NOCORE all memory from 0x0 to 0xbfc00000, except the
> pages at which the test program was mapped at.
Thanks for the fine analysis, John!
I wonder, is there some way to avoid the "bad" mmapping on FreeBSD, change
Wine, or do we have to get FreeBSD changes?
Gerald
--
Gerald Pfeifer (Jerry) gerald at pfeifer.com http://www.pfeifer.com/gerald/
More information about the wine-devel
mailing list