wine-1.1.8 regression -- wine: could not load L"...": Invalid address

Alex Kozlov spam at rm-rf.kiev.ua
Tue Nov 25 15:59:53 PST 2008


On Tue, Nov 25, 2008 at 11:26:23PM +0100, Tijl Coosemans wrote:
>> Alex, would you mind submitting this patch upstream as well, to 
>> wine-patches at winehq.org Cc:ing me on that?  (If you prefer, I can
>> also do this, but since it's your patch...)
>> 
>> I'm currently travelling and will try to update our port in the
>> next couple of days; the earlier this gets upstream or at least
>> upstream review the better.
> It should probably first be discussed with Alexandre Julliard. The
> original code fails because it ends up allocating the virtual heap
> somewhere in the beginning of address space which probably interferes
> with other mappings.
> The patch moves this to (address_space_limit - 10 * VIRTUAL_HEAP_SIZE).
> I'm not sure that's correct. I think simply 0x80000000 would be better,
> but that's what Alexandre can tell you.
I'm also not sure. That why this patch quick and dirty. Let see what 
Julliard has to say.
 
> Also, in the #else case you change a 1 into a 0. Is that intentional?
> -    if (!wine_mmap_enum_reserved_areas( alloc_virtual_heap, &heap_base, 1 ))
> +    if (!wine_mmap_enum_reserved_areas( alloc_virtual_heap, &heap_base, 0 ))
No, this is a mistake.


--
Adios


More information about the freebsd-emulation mailing list