public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: nobody@sources.redhat.com
Cc: gdb-prs@sources.redhat.com,
Subject: Re: gdb/2450: gdb core dump in user-defined stack print command
Date: Fri, 02 May 2008 16:48:00 -0000	[thread overview]
Message-ID: <20080502164801.23553.qmail@sourceware.org> (raw)

The following reply was made to PR gdb/2450; it has been noted by GNATS.

From: Daniel Jacobowitz <drow@false.org>
To: skip@pobox.com
Cc: gdb-gnats@sources.redhat.com
Subject: Re: gdb/2450: gdb core dump in user-defined stack print command
Date: Fri, 2 May 2008 12:39:06 -0400

 On Fri, May 02, 2008 at 01:17:16PM -0000, skip@pobox.com wrote:
 > I can define the command, but if I try to execute it
 > gdb gets an apparent assertion error and dumps core.
 > Here's the gdb backtrace:
 > 
 > #0  0xfede5f85 in _lwp_kill () from /lib/libc.so.1
 > #1  0xfede2dfe in thr_kill () from /lib/libc.so.1
 > #2  0xfed911cb in raise () from /lib/libc.so.1
 > #3  0xfed715e9 in abort () from /lib/libc.so.1
 > #4  0x0808d62b in internal_vproblem (problem=0x82f04e0,
 >     file=0x828b9cf "../../gdb/regcache.c", line=<value optimized out>,
 >     fmt=0x828b9b4 "%s: Assertion `%s' failed.",
 >     ap=0x8046a6c "G\036%\bX\237+\b2") at ../../gdb/utils.c:794
 > #5  0x0808af93 in internal_verror (file=0x828b9cf "../../gdb/regcache.c",
 >     line=164, fmt=0x828b9b4 "%s: Assertion `%s' failed.",
 >     ap=0x8046a6c "G\036%\bX\237+\b2") at ../../gdb/utils.c:809
 > #6  0x0808afc9 in internal_error (file=0x828b9cf "../../gdb/regcache.c",
 >     line=164, string=0x828b9b4 "%s: Assertion `%s' failed.")
 >     at ../../gdb/utils.c:818
 > #7  0x080e2067 in register_type (gdbarch=0x833e370, regnum=50)
 >     at ../../gdb/regcache.c:164
 > #8  0x080ecaaa in evaluate_subexp_standard (expect_type=0x0, exp=0x11461640,
 >     pos=0x80473c4, noside=EVAL_AVOID_SIDE_EFFECTS) at ../../gdb/eval.c:511
 
 If this still happens in GDB 6.8, could you try "set debug expression
 1" first?
 
 -- 
 Daniel Jacobowitz
 CodeSourcery


             reply	other threads:[~2008-05-02 16:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-02 16:48 Daniel Jacobowitz [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-05-02 16:28 Skip Montanaro
2008-05-02 13:18 skip

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=20080502164801.23553.qmail@sourceware.org \
    --to=drow@false.org \
    --cc=gdb-prs@sources.redhat.com \
    --cc=nobody@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).