This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Segfault with operator delete[] (fwd)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]