gdb/55: v3 support: gdbarch_data: Assertion `data->index < current_gdbarch->nr_data' failed.

chastain@redhat.com chastain@redhat.com
Sun May 27 23:18:00 GMT 2001


>Number:         55
>Category:       gdb
>Synopsis:       v3 support: gdbarch_data: Assertion `data->index < current_gdbarch->nr_data' failed.
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 27 23:18:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Michael Chastain
>Release:        cvs 2001-05-25
>Organization:
>Environment:
native red hat linux 6.0, 6.1, 6.2, 7.0
does NOT happen on native solaris 2.5.1, 2.6, 2.7, 2.8
fsf gcc cvs gcc-3_0-branch checked out 2001-05-25
fsf gdb cvs checked out 2001-05-25

Note that this worked with gcc 2001-05-19 and gdb 2001-05-19,
so it's a recent change to gdb.
>Description:
Run the test suite.  Look at these files:

  classes.exp
  derivation.exp
  inherit.exp
  method.exp
  misc.exp
  overload.exp
  ref-types.exp
  templates.exp

gdb crashes with:

  /horton/chastain/fsf/2001-05-25/source/gdb/gdbarch.c: 4412:
  gdb-internal-error: gdbarch_data: Assertion `data->index < current_gdbarch->nr_data' failed.

I debugged this a little and saw that data->index == 0,
current_gdbarch->nr_data == 0.
>How-To-Repeat:
Build FSF gcc and FSF gdb from the above dates.
Run the test suite and look at the indicated files.
>Fix:
No idea.
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gdb-prs mailing list