This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Segfault with operator delete[] (fwd)
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Brian Hart <bhart at nabhas dot ps dot uci dot edu>
- Cc: gcc at gcc dot gnu dot org
- Date: 26 Aug 2003 16:03:58 -0300
- Subject: Re: Segfault with operator delete[] (fwd)
- Organization: GCC Team, Red Hat
- References: <Pine.LNX.4.44.0308222334160.10075-100000@nabhas.ps.uci.edu>
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