Patch for Wine-20030115 heap allocation on Solaris 8 x86

Dan Kegel dank at
Fri Jan 17 13:43:13 CST 2003

John Wehle wrote:
> Currently wine exits after complaining about an invalid heap during
> startup on Solaris 8 x86.  What happens is mmap is returning an address
> above 0xc0000000 which HEAP_InitSubHeap passes to NtAllocateVirtualMemory
> who rejects it.  Perhaps someone familar with the code can suggest
> a better solution or explain why the ADDRESS_SPACE_LIMIT check is there.


Not that I know, but I suspect Wine is trying to avoid handing
out pointers that Windows can't possibly hand out.

I have a strong feeling of deja vu on this question... has it
never been answered before?
- Dan

Dan Kegel

More information about the wine-devel mailing list