|
From: Julian S. <js...@ac...> - 2005-08-27 00:25:05
|
> > VG_(get_memory_from_mmap): newSuperblock's request for 1048576 bytes > > failed. VG_(get_memory_from_mmap): 0 bytes already allocated. Ah. Welcome to bootstrap allocator hell. This is what happens if you try and use VG_(malloc) before aspacemgr is able to deal with the resulting anonymous mmap. > This was triggered by my having a .valgrindrc file. Without it I can > get beyond that. Now it crashes if I valgrind "uname -a" but if I add > a -d switch to valgrind it works... I don't know if it's related, but I thought this a bit odd .. -static void _start_in_C ( Int* pArgc ) +static void _start_in_C ( ULong* pArgc ) Shouldn't that be a UWord* pArgc ? Since the location of argv/envp is determined in word-offsets from &pArgc[0], so changing it to a ULong* will screw up the computation on a 32-bit machine? J |