From: Greg C. <chi...@co...> - 2006-04-24 17:18:36
|
On 2006-4-24 16:53 UTC, Erik Baluba wrote: > > Do you have any suggestions on how to provoke such a memory corruption error > to trigger earlier? Any free tools like "Purify" or something? Yes: I use mpatrol. First, though, I'd recompile with _GLIBCXX_DEBUG defined, just because that's so easy to do. Both techniques are mentioned in this list's archives, and more information on both is available through a web search. Another way is to reduce the problem to a minimal standalone test case that reproduces the problem. Usually, by doing that, you'll find it yourself; but if you've got it down to a ten-line program that crashes and you don't see why, then post it here. |