something like the following should work ( I didn't try compling it ). I
will suck up all the free memory in your machine while it's running so be
careful.
main() {
char *p;
char *m;
while ( m = malloc(4096) ) {
p = m;
while ( p < m + 4096 ) {
*p = 0xaa;
if ( *p != 0xaa ) print ("bad %x" , p);
*p = 0x55;
if ( *p != 0x55 ) print ("bad %x" , p);
p++;
}
}
}
-----Original Message-----
From: Jonathan Ellis [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 27, 2002 2:41 PM
To: [EMAIL PROTECTED]
Subject: [AOLSERVER] Ns_Pool: invalid block
about ten times a day I get an error like
nsthread(2496) error: Ns_Pool: invalid block: 0x8178198
and my server restarts. It may be significant that the invalid block is
always in the same memory region -- 0x8178198, 0x8178100, 0x8177b98. Seems
like a possible hardware error -- anyone know a good way to check? I've
already tried removing half the RAM at a time; it got the errors in all 3
configurations. So maybe it's a software problem after all. Any ideas how
to find out for sure?
-Jonathan