Wine on AMD64 (heap problem)

Maurizio Monge monge at sns.it
Fri May 21 05:42:30 CDT 2004


Alle Monday 17 May 2004 13:00, Robert Lunnon ha scritto:
> On Mon, 17 May 2004 04:25 am, Alexandre Julliard wrote:
> > Mike Hearn <mh at codeweavers.com> writes:
> > > Put code which dumps the maps list when the process heap can't be
> > > created, ie something like:
> > >
> > > {
> > > 	char buffer[100];
> > > 	sprintf(buffer, "cat /proc/%d/maps", getpid();
> > > 	system(buffer);
> > > }
> > >
> > > and see what is sitting at the place we're trying to create the heap.
> >
> > The process heap can be placed anywhere, this isn't the cause of the
> > problem. You are confusing it with the shared heap.
>
> Isn't this likely to be just the fact that the heap is being mapped above
> 0xC0000000 same as under solaris. Sounds like it to me !
>
> Bob

Arg! You're right!
failure in NtAllocateVirtualMemory, line 1054 of virtual.c, 

if (  [conditions not met]
     ... || (ADDRESS_SPACE_LIMIT && ((char *)base + size > 
              (char *)ADDRESS_SPACE_LIMIT))
	return STATUS_INVALID_PARAMETER;

where STATUS_INVALID_PARAMETER is #defined 0xC0000000

Maurizio

PS:plase CC monge(at)sns(dot)it





More information about the wine-devel mailing list