|
From: Nicholas N. <nj...@ca...> - 2004-08-03 09:31:38
|
On Tue, 3 Aug 2004, Jeff Dike wrote: > db...@en... said: >> Executable is mapped outside of range (nil)-0x52c00000 valgrind: >> do_exec(/local/dbahi/kernels/linux-2.4.26_uml-patch-2.4.26-2um/linux) >> failed: Cannot allocate memory >> >> How does one get around this sudden valgrind exit? > > If I remember right, there is a hard-coded address in valgrind. If the process > loads above that you get that error. Changing it and rebuilding doesn't seem > to hurt anything. It's not quite hard-coded, but close -- that address depends on another address that is hard-coded, unfortunately. Programs that have to load pieces at high addresses don't interact well with Valgrind, which partitions the address space, the low part for the client program, the high part for Valgrind. What address was UML trying to load something at? Is that adjustable? N |