This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
gdb/610: gdb crashes when listing source of g++-3.1-compiled binary
- From: rohlfing at stanford dot edu
- To: gdb-gnats at sources dot redhat dot com
- Date: 18 Jul 2002 18:11:44 -0000
- Subject: gdb/610: gdb crashes when listing source of g++-3.1-compiled binary
- Reply-to: rohlfing at stanford dot edu
>Number: 610
>Category: gdb
>Synopsis: gdb crashes when listing source of g++-3.1-compiled binary
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jul 18 11:18:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: rohlfing@stanford.edu
>Release: gdb+dejagnu-20020717
>Organization:
>Environment:
Solaris7 (SPARC), gcc/g++ 3.1
>Description:
When dealing with "complex" binaries generated by g++ 3.1,
gdb crashes as early as just starting up and issuing "list".
The crash occurs at buildsym.c:309, where "ftype" (the "type"
element of "symbol" is sometimes NULL, sometimes another
invalid pointer.
>How-To-Repeat:
This problem is very hard to reproduce without sending in
a multi-1000-line project. Sorry, but I also don't understand
enough of gdb's internal data structures to give a better
hint as to what goes wrong.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: