This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB 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: gdb crashes


Hi Andrew,

On Thu, Nov 07, 2002 at 06:57:20PM -0500, Andrew Cagney wrote:
> > #0  0x0804832e in bar ()
> > warning: (Internal error: pc 0x804832e in read in psymtab, but not in symtab.)
> > Segmentation fault (core dumped)
> > 
> > By inspecting the core, the crash seems to be here:
> > 
> > #0  end_symtab (end_addr=134513448, objfile=0x840de00, section=11)
> >     at buildsym.c:964
> >     964                   linetablesize = sizeof (struct linetable) +
> > (gdb)   
> 
> Not sure about the warnings (guess, does your linker match gcc?), but 
> the segmentation fault is definitly a GDB bug.  It's reader should be 
> robust enough to survive any garbage feed to it :-)

I used binutils and gcc from cvs. But there is a change I linked gdb
with a readline compiled with gcc-2.96. I'll repeat all the process during
the weekend.

Elias


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