🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #43

gdb 3.1 with C++ patches dumps core.

#43
From: Bryan Boreham
Date: Tue, 13 Jun 1989 16:59
23 lines
1308 bytes
I think I found a bug in gdb and/or g++, but I'm not sure which.

When working through ET++, gdb core-dumped on me. It was trying to
read in a symbol entry like

        ":/0747=*748=xsFileDialog::Application$fileDialog;\\"

and in read_type in dbxread.c, line 3580 or so, it looks for a comma.
Since there is no comma, index() returns 0, and gdb core-dumps.

I'm not sure whether or not g++ 1.35.1- is at fault, but gdb should be
modified to check for this. I can't really include the example, as the
core dump is 13 meg, and the executable that caused it is 17 meg. Mail
me if you need more information.

Keep up the good work!

Bryan Boreham           {Atlantic Ocean}  ... !mcvax!ukc!root44!kewill!bryan
Software Engineer
Kewill Systems PLC      Work: (+44) 932 248 328
Walton-On-Thames
Surrey KT12 2QS
England                 (Maybe someone could suggest a better e-mail address?)
Technical Details
Message-ID: <8906131659.AA01505@kewill.uucp>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!UUNET.UU.NET!kewill!bryan

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!UUNET.UU.NET!kewill!bryan
From: kewill!bryan@UUNET.UU.NET (Bryan Boreham)
Newsgroups: gnu.gdb.bug
Subject: gdb 3.1 with C++ patches dumps core.
Message-ID: <8906131659.AA01505@kewill.uucp>
Date: 13 Jun 89 16:59:32 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 23