Re: Is there a tool or compiler option to make program crash as soon as access memory illegally
From: David Schwartz (davids_at_webmaster.com)
Date: Wed, 7 Sep 2005 12:19:33 -0700
"Patricia" <email@example.com> wrote in message
> If only export LD_PRELOAD, dbx says the corefile was truncated, and
> should be more than 1G bytes. Is it reasonable to have such a big
> corefile? The problem is that I don't have that much disk quota.
> If also export MALLOC_DEBUG, no corefile was generated.
Sadly, yes, it is. If you're allocating a lot of memory. Try to
replicate your problem with a smaller dataset.