http://bugs.winehq.org/show_bug.cgi?id=58084
--- Comment #4 from André Z. nerv@dawncrow.de --- (In reply to André Z. from comment #3)
So according to my calculations this is what happens on a 4k pagesize system with 38 bits address space:
virtual_init: pages_vprot_size = ((size_t)host_addr_space_limit /* 0x7fffff0000 */ >> page_shift /* 12 */ >> pages_vprot_shift /* 20 */) + 1; /* = 0x80 */ size = 2 * view_block_size + pages_vprot_size * sizeof(*pages_vprot); /* = 0x200400 */
alloc_virtual_heap: assert( !(size & host_page_mask) ); /* 0x200400 & 0xfff */ //->boom
396207f4f1ad8903876a31cecbf5756f321295a9 fixed this, but not sure about the similar problem on mac. Somehow this bug is about two different issues.