Article View: gnu.gdb.bug
Article #2405gdb crashes on Solaris
From: Stuart Kemp
Date: Sat, 30 Mar 2002 19:47
Date: Sat, 30 Mar 2002 19:47
21 lines
1621 bytes
1621 bytes
Using gdb 5.1.1 on Solaris
When debugging a binary that has been instrumented with Purify, gdb
crashes in elfread.c in the following block:
if (index != -1)
{
if (sectinfo->sections[index] != 0)
{
complain (§ion_info_dup_complaint,
sectinfo->filename);
}
}
Problem is that "index" has a value of 66, but the size of the array is 64
(from SECT_OFF_MAX in gdb-stabs.h)
Looks like the problem is still there in gdb+dejagnu-5.1.90_20020330
-Stuart Kemp
Technical Details
Message-ID:
<Pine.GSO.4.21.0203301343160.1549-100000@idgas.bmc.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!news-hub.siol.net!zur.uu.net!ash.uu.net!spool0901.news.uu.net!wendy-fate.uu.net!bug-gdbShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f5053,af87c5d9aa4cb83,start X-Google-Attributes: gidf5053,public X-Google-ArrivalTime: 2002-03-30 11:47:48 PST x-uunet-gateway: mr0.ash.ops.us.uu.net from bug-gdb to gnu.gdb.bug; Sat, 30 Mar 2002 19:47:46 GMT X-Authentication-Warning: idgas.bmc.com: skemp owned process doing -bs Date: Sat, 30 Mar 2002 13:47:25 -0600 From: skemp@bmc.com (Stuart Kemp) Subject: gdb crashes on Solaris Message-ID: <Pine.GSO.4.21.0203301343160.1549-100000@idgas.bmc.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Approved: bug-gdb-request@mail.gnu.org Newsgroups: gnu.gdb.bug Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!news-hub.siol.net!zur.uu.net!ash.uu.net!spool0901.news.uu.net!wendy-fate.uu.net!bug-gdb Sender: bug-gdb-request@mail.gnu.org Lines: 23