public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* frame.c assertion failure
@ 2003-05-07 22:25 Kevin Buettner
  2003-05-07 23:40 ` Kevin Buettner
  0 siblings, 1 reply; 7+ messages in thread
From: Kevin Buettner @ 2003-05-07 22:25 UTC (permalink / raw)
  To: Andrew Cagney; +Cc: gdb

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-05-08 15:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-07 22:25 frame.c assertion failure Kevin Buettner
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

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).