This is the mail archive of the gdb-prs@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]

gdb/610: gdb crashes when listing source of g++-3.1-compiled binary


>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:


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