bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: malloc: top chunk is corrupt


From: Justin Ossevoort
Subject: Re: malloc: top chunk is corrupt
Date: Wed, 7 Feb 2001 00:39:23 +0100 (CET)

h,

FOUND IT!!! Can't believe it!

I had already read the manual on it. With new the motivation that you
gavxve me that the bug is really in my code I did another pass of
extensive debugging. Finally found it, it was hidden in the amount I memmove'ed
appears I went agains my own coding standards... see what happened (wasted
days on this bug) code is now happy and running. (Had numerous programmers
look at it and none saw through it).

Thanx you guys, I know how annoying it can be to have somebody ask a
question which ends up as a dumb one. Never guessed I needed some :-)

regards,

        justin....

On 6 Feb 2001, Andreas Jaeger wrote:

> iq-0 <address@hidden> writes:
>
> > hello,
> >
> > I get this error when I compile my program with C++ and setting
> > MALLOC_CHECK_=1. The program makes extensive use of realloc. (I've
> > ripped the attachements out of my own program, so in some cases you
> > would normally do a malloc).
>
> That means you're corrupting malloc's internal data structures with
> overwritting the malloc'ed area - read the glibc manual for details.
>
> Andreas
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]