|
From: Tom S. <to...@pl...> - 2006-03-08 19:09:14
|
When running valgrind-3.1.0 (Debian) on one specific app, I immediately
get:
valgrind: mmap(0x804A000, 39997440) failed in UME.
But I also know why! Here is how to reproduce the problem:
#include <stdio.h>
int main(int argc, char * argv[]) {
static int idata[10000000];
printf("Hello world!");
return(0);
}
If I get rid of the huge static array, the program runs fine under
valgrind.
--
Tom Schutter (mailto:to...@pl...)
Platte River Associates, Inc. (http://www.platte.com)
|