Segfault with operator delete[] (fwd)
Alexandre Oliva
aoliva@redhat.com
Tue Aug 26 20:58:00 GMT 2003
On Aug 23, 2003, Brian Hart <bhart@nabhas.ps.uci.edu> wrote:
> Does this have anything to do with the compiler? Oddly enough, if I
> use malloc()/free(), malloc() seems to work fine, but free() blows
> up. Even if they are both given the same pointers. ??
Looks like you're corrupting internal data structures used by the
memory allocator. Use some memory checker. And please don't post
questions that are not related with the development *of* GCC (!=
*with* GCC) to this list.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer
More information about the Gcc
mailing list