Alle Monday 17 May 2004 13:00, Robert Lunnon ha scritto: > On Mon, 17 May 2004 04:25 am, Alexandre Julliard wrote: > > Mike Hearn <[EMAIL PROTECTED]> 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