On 2011-03-29, Gordon Burditt <> wrote: > It appears that your code is scribbling on memory it doesn't own. > Fix that. It can cause malloc() and realloc() to malfunction. What makes you reach that conclusion? OP's problem looks more like an initialization failure (see elsethread), but of course I may have missed something. If you found a place where OP scribbled over non-owned memory, then it would have been helpful to indicate where that happens. It's easier to "fix that" if one knows what to fix. Oh, by the way, why are you always deleting attribution lines? Just curious. In any case, it makes the discussion harder to follow. Oh, by the way, please don't top post.