public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: Keith Seitz <keiths@redhat.com>
To: Lloyd J Lewins <llewins@raytheon.com>
Cc: "insight@sources.redhat.com" <insight@sources.redhat.com>
Subject: Re: insight/206: SEGV in Tcl_FindCommand
Date: Wed, 05 Feb 2003 17:46:00 -0000	[thread overview]
Message-ID: <1044467439.1492.28.camel@lindt.uglyboxes.com> (raw)
In-Reply-To: <OFAAA533E2.296DB4A8-ON88256CBB.001154BD@mck.us.ray.com>

[Redirected back to list]

On Sun, 2003-01-26 at 19:35, Lloyd J Lewins wrote:
>
> (gdb) tk var1 children
> var1.classC var1.private var1.protected
> 
> No crash on either command.

Doh. May need to get the children of these before this happens. (I
forget that varobj inserts the protection level as a child.)

> However, I notice when I try to print b->myClassAV I get a problem:
> 
> print b->myClassAV
> $7 = (classA &) @0x62737a69:
> Error: Cannot access memory at address 0x62737a69
> 
> Perhaps this is the cause of the insight crash?

Could be. I would try fetching the children of "var1.protected",
"var1.private", and "var1.public" in MI. If it crashes or complains,
it's really a core problem.

> -var-list-children var1
> ^done,numchild="3",children={child={name="var1.classC",exp
> ="classC",numchild="2"
> ,type="classC"},child={name="var1.private",exp="private",numchild
> ="1"},child={na
> me="var1.protected",exp="protected",numchild="1"}}

Try getting those children, and we'll see where it goes.

Keith


           reply	other threads:[~2003-02-05 17:46 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <OFAAA533E2.296DB4A8-ON88256CBB.001154BD@mck.us.ray.com>]

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=1044467439.1492.28.camel@lindt.uglyboxes.com \
    --to=keiths@redhat.com \
    --cc=insight@sources.redhat.com \
    --cc=llewins@raytheon.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).