Subject: Re: The _weirdest_ segfault...
To: Andreas Falck <firstname.lastname@example.org>
From: Peter Seebach <email@example.com>
Date: 05/17/2000 16:07:18
In message <Pine.GSO.firstname.lastname@example.org>, Andrea
s Falck writes:
>However, what is the conclusion about the memory thing, alignment problems
If increasing space allocated fixed it, the conclusion is most likely that
you've got a sequence of operations where:
1. You allocate some space.
2. You overwrite the area past the allocated space.
3. You free the space.
Basically, the space just outside a malloc'd block may well be part of another
block, and you are corrupting the malloc data structures.