gdb internal error: Memory corruption

Ronald.Wahl@informatik.tu-chemnitz.de Ronald.Wahl@informatik.tu-chemnitz.de
Wed Oct 1 09:54:00 GMT 1997


On Wed, 1 Oct 1997, Philipp Thomas wrote:

> On Wed, 1 Oct 1997 17:41:37 +0200 (CEST), you wrote:
> 
> >GDB 4.16 (i586-unknown-linux), Copyright 1996 Free Software Foundation,
> >gdb internal error: Memory corruption
> 
> I would try to locate the error. Previous gdbs had some bugs in the memory
> allocation routines and it could be quite possible that egcs just uncovered
> one.
> 
> I remember having problems with recompiling gdb (not sure if it was 4.16) when
> I switched to the glibc 2.1 snapshots. The solution was to do a dummy calloc()
> call for 1 byte at the start of gdb's main(). Could be you're stumbling over
> the same bug.

Hmm, this doesn't help. I tried the calloc(1,1) before and after the 
call to init_malloc().

ron

-- 
\ Ronald Wahl --- rwa@informatik.tu-chemnitz.de   \
 \ WWW: http://www.tu-chemnitz.de/~row             \
  \ Talk: rwa@goliath.csn.tu-chemnitz.de            \
   \ PGP key available by finger to my email address \




More information about the Gcc-bugs mailing list