From: Keith Seitz <keiths@redhat.com>
To: Doug Graham <dgraham@nortel.com>
Cc: gds <gds@chartertn.net>, insight@sources.redhat.com
Subject: Re: Crashes when "balloons" enabled
Date: Wed, 02 Apr 2008 18:01:00 -0000 [thread overview]
Message-ID: <47F3C933.9080904@redhat.com> (raw)
In-Reply-To: <20080402174323.GD6223@nortel.com>
Doug Graham wrote:
> #7 0x08175e79 in gdb_value_fetch_lazy (val=0x97e94e8)
> at ../../insight-6.5/gdb/wrapper.c:64
This function is a call wrapper: it "wraps" the gdb call,
value_fetch_lazy (which will longjmp) with a version which catches the
exception and returns a value indicating success or failure:
int
gdb_value_fetch_lazy (struct value *val)
{
volatile struct gdb_exception except;
TRY_CATCH (except, RETURN_MASK_ERROR)
{
value_fetch_lazy (val);
}
if (except.reason < 0)
return 0;
return 1;
}
So somewhere underneath this there is a disconnect about error handling,
because this exception should have been caught here. I don't see
anything obvious by just perusing the sources, so I'll have to dig in to
see what could be happening.
Keith
next prev parent reply other threads:[~2008-04-02 18:01 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-01 17:55 gds
2008-04-01 18:00 ` Keith Seitz
2008-04-01 18:48 ` gds
2008-04-02 0:02 ` Doug Graham
2008-04-02 14:00 ` gds
2008-04-02 15:52 ` gds
2008-04-02 17:14 ` Doug Graham
2008-04-02 17:23 ` Keith Seitz
2008-04-02 17:44 ` Doug Graham
2008-04-02 18:01 ` Keith Seitz [this message]
2008-04-02 20:06 ` Doug Graham
2008-04-02 20:12 ` Keith Seitz
2008-04-02 18:19 ` gds
2008-04-02 18:41 ` Keith Seitz
2008-06-29 17:56 ` Gene Smith
2008-04-01 22:12 ` gds
2008-04-01 22:32 ` gds
2008-04-02 17:16 ` gds
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=47F3C933.9080904@redhat.com \
--to=keiths@redhat.com \
--cc=dgraham@nortel.com \
--cc=gds@chartertn.net \
--cc=insight@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).