Re: invalid pointer error

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

 



Mohamed Shafi writes:
 > On 8/3/07, Anitha Boyapati <anithab@xxxxxxxxxxx> wrote:
 > >
 > >
 > > On Fri, 3 Aug 2007, Mohamed Shafi wrote:
 > >
 > > >
 > > > *** glibc detected *** ./readpro.exe: free(): invalid pointer: 0x00c5ac80 ***
 > >
 > >  This is clearly a memory associated error. You are possibly trying to
 > >  free some memory which is not allocated in one of the destructors as
 > >  you reach the end of program.
 > >
 > >  Check if you are using delete[] where delete suffices.
 > 
 > I forgot to mention. I am not at all allocating any memory in my
 > program and hence delete is not used. Thats why i am very confused.

Valgrind memcheck.

http://valgrind.org/

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux