Subject: Re: The _weirdest_ segfault...
To: Andreas Falck <faland-7@sm.luth.se>
From: Peter Seebach <seebs@plethora.net>
List: port-alpha
Date: 05/17/2000 16:07:18
In message <Pine.GSO.4.21.0005172251290.15360-100000@sigma1.sm.luth.se>, Andrea
s Falck writes:
>However, what is the conclusion about the memory thing, alignment problems
>or what?

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.
Possibly,
	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.

-s