public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Kevin Buettner <kevinb@redhat.com>
To: Andrew Cagney <ac131313@redhat.com>
Cc: gdb@sources.redhat.com
Subject: frame.c assertion failure
Date: Wed, 07 May 2003 22:25:00 -0000	[thread overview]
Message-ID: <1030507222547.ZM32134@localhost.localdomain> (raw)

Any idea what to do about the following assertion failure?

    ../../src/gdb/frame.c:2083:  internal-error:  get_frame_type: 
    Assertion `frame->unwind->type != UNKNOWN_FRAME' failed.

Here are the details:

(top gdb) bt 7
#0  internal_error (file=0x82acccd "../../src/gdb/frame.c", line=2083, 
    string=0x82accb2 "%s%sAssertion `%s' failed.") at ../../src/gdb/utils.c:800
#1  0x08141d9f in get_frame_type (frame=0x87af19c) at ../../src/gdb/frame.c:2083
#2  0x080f39d6 in mips_init_extra_frame_info (fromleaf=0, fci=0x87af19c)
    at ../../src/gdb/mips-tdep.c:2504
#3  0x080e39a7 in gdbarch_deprecated_init_extra_frame_info (gdbarch=0x8346560, 
    fromleaf=0, frame=0x87af19c) at ../../src/gdb/gdbarch.c:4577
#4  0x0814129f in legacy_get_prev_frame (this_frame=0x87af138)
    at ../../src/gdb/frame.c:1602
#5  0x081417d8 in get_prev_frame (this_frame=0x87af138)
    at ../../src/gdb/frame.c:1846
#6  0x080d5a52 in backtrace_command_1 (count_exp=0x0, show_locals=0, from_tty=1)
    at ../../src/gdb/stack.c:981
(More stack frames follow...)
(top gdb) up
#1  0x08141d9f in get_frame_type (frame=0x87af19c) at ../../src/gdb/frame.c:2083
2083    ../../src/gdb/frame.c: No such file or directory.
        in ../../src/gdb/frame.c
(top gdb) p frame->unwind
$1 = (struct frame_unwind *) 0x82ad184
(top gdb) p *frame->unwind
$2 = {type = UNKNOWN_FRAME, this_id = 0x81406fc <legacy_saved_regs_this_id>, 
  prev_register = 0x8140424 <legacy_saved_regs_prev_register>}
(top gdb) p legacy_saved_regs_unwind
$3 = (struct frame_unwind *) 0x82ad184

AFAICT, we're going to see this problem whenever frame_unwind_find_by_pc()
returns legacy_saved_regs_unwind.

Kevin

             reply	other threads:[~2003-05-07 22:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-07 22:25 Kevin Buettner [this message]
2003-05-07 23:40 ` Kevin Buettner
2003-05-08  0:03   ` Andrew Cagney
2003-05-08  0:22     ` Andrew Cagney
2003-05-08  5:49       ` Kevin Buettner
2003-05-08 14:05         ` Andrew Cagney
2003-05-08 15:39           ` Kevin Buettner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1030507222547.ZM32134@localhost.localdomain \
    --to=kevinb@redhat.com \
    --cc=ac131313@redhat.com \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).