Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Kevin Buettner <kevinb@redhat.com>
To: Daniel Jacobowitz <drow@mvista.com>
Cc: Andrew Cagney <ac131313@redhat.com>, gdb@sources.redhat.com
Subject: Re: frame_register_unwind(): "frame != NULL" assertion failure
Date: Thu, 13 Feb 2003 21:48:00 -0000	[thread overview]
Message-ID: <1030213214819.ZM2541@localhost.localdomain> (raw)
In-Reply-To: Kevin Buettner <kevinb@redhat.com> "Re: frame_register_unwind(): "frame != NULL" assertion failure" (Feb 13,  2:35pm)

On Feb 13,  2:35pm, Kevin Buettner wrote:

> > That backtrace must be inaccurate?  read_next_frame_reg just passes fi
> > to frame_register_unwind...
> 
> I'll try to get a better one.  [...]

Okay, here's a better one.  This one shows that we're passing a NULL
frame starting from mips_init_extra_frame_info().

outer-gdb> bt
#0  internal_error (
    file=0x84abe0 "/home/devel/kevinb/sourceware-mips64/src.baseline/gdb/frame.c", line=187, string=0x84ac20 "%s%sAssertion `%s' failed.")
    at /home/devel/kevinb/sourceware-mips64/src.baseline/gdb/utils.c:800
#1  0x005e4ba4 in frame_register_unwind (frame=0x0, regnum=29, 
    optimizedp=0x7fff68d0, lvalp=0x7fff68e4, addrp=0x7fff68d8, 
    realnump=0x7fff68e0, bufferp=0x7fff68c0)
    at /home/devel/kevinb/sourceware-mips64/src.baseline/gdb/frame.c:187
#2  0x00536708 in read_next_frame_reg (fi=0x0, regno=29)
    at /home/devel/kevinb/sourceware-mips64/src.baseline/gdb/mips-tdep.c:1592
#3  0x00538c44 in heuristic_proc_desc (start_pc=715987376, limit_pc=715987376, 
    next_frame=0x0, cur_frame=1)
    at /home/devel/kevinb/sourceware-mips64/src.baseline/gdb/mips-tdep.c:2140
#4  0x0053a484 in find_proc_desc (pc=715987376, next_frame=0x0, cur_frame=1)
    at /home/devel/kevinb/sourceware-mips64/src.baseline/gdb/mips-tdep.c:2378
#5  0x0053ab58 in mips_init_extra_frame_info (fromleaf=0, fci=0x100573d0)
    at /home/devel/kevinb/sourceware-mips64/src.baseline/gdb/mips-tdep.c:2477
#6  0x00516d80 in gdbarch_init_extra_frame_info (gdbarch=0x10061798, 
    fromleaf=0, frame=0x100573d0)
    at /home/devel/kevinb/sourceware-mips64/src.baseline/gdb/gdbarch.c:4436
#7  0x005e88bc in get_prev_frame (next_frame=0x10057368)
    at /home/devel/kevinb/sourceware-mips64/src.baseline/gdb/frame.c:1321
#8  0x005e6298 in unwind_to_current_frame (ui_out=0x10059590, args=0x10057368)
    at /home/devel/kevinb/sourceware-mips64/src.baseline/gdb/frame.c:496
#9  0x005d423c in catcher (func=0x5e6258 <unwind_to_current_frame>, 
    func_uiout=0x10059590, func_args=0x10057368, func_val=0x7fff6c38, 
    func_caught=0x7fff6c3c, errstring=0x0, mask=2)
    at /home/devel/kevinb/sourceware-mips64/src.baseline/gdb/top.c:424
#10 0x005d43dc in catch_exceptions (uiout=0x10059590, 
    func=0x5e6258 <unwind_to_current_frame>, func_args=0x10057368, 
    errstring=0x0, mask=2)
    at /home/devel/kevinb/sourceware-mips64/src.baseline/gdb/top.c:474
#11 0x005e643c in get_current_frame ()
    at /home/devel/kevinb/sourceware-mips64/src.baseline/gdb/frame.c:518
#12 0x005e7c5c in reinit_frame_cache ()
    at /home/devel/kevinb/sourceware-mips64/src.baseline/gdb/frame.c:950
#13 0x0054d000 in solib_add (pattern=0x0, from_tty=0, target=0x0, readsyms=1)
    at /home/devel/kevinb/sourceware-mips64/src.baseline/gdb/solib.c:591
#14 0x004e68ec in handle_inferior_event (ecs=0x7fff6e58)
    at /home/devel/kevinb/sourceware-mips64/src.baseline/gdb/infrun.c:2078
#15 0x004e3388 in wait_for_inferior ()
    at /home/devel/kevinb/sourceware-mips64/src.baseline/gdb/infrun.c:1006
#16 0x004e2ec0 in proceed (addr=18446744073709551615, siggnal=TARGET_SIGNAL_0, 
    step=0)
    at /home/devel/kevinb/sourceware-mips64/src.baseline/gdb/infrun.c:804
...


  reply	other threads:[~2003-02-13 21:48 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-13 21:24 Kevin Buettner
2003-02-13 21:29 ` Daniel Jacobowitz
2003-02-13 21:35   ` Kevin Buettner
2003-02-13 21:48     ` Kevin Buettner [this message]
2003-02-13 23:27       ` Kevin Buettner
2003-02-14 14:58         ` Andrew Cagney
2003-02-14 15:14           ` Daniel Jacobowitz
2003-02-14 15:24             ` Kevin Buettner
2003-02-17 15:37             ` Andrew Cagney
2003-02-17 23:21               ` Kevin Buettner
2003-02-18  2:39                 ` Andrew Cagney
2003-02-18  1:59               ` Kevin Buettner
2003-02-18 22:51                 ` Andrew Cagney
2003-02-20 16:18                   ` Kevin Buettner
2003-02-20 16:28                     ` Andrew Cagney
2003-02-20 16:36                       ` 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=1030213214819.ZM2541@localhost.localdomain \
    --to=kevinb@redhat.com \
    --cc=ac131313@redhat.com \
    --cc=drow@mvista.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