This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: insight/206: SEGV in Tcl_FindCommand
- From: Keith Seitz <keiths at redhat dot com>
- To: Lloyd J Lewins <llewins at raytheon dot com>
- Cc: "insight at sources dot redhat dot com" <insight at sources dot redhat dot com>
- Date: 05 Feb 2003 09:50:39 -0800
- Subject: Re: insight/206: SEGV in Tcl_FindCommand
- Organization:
- References: <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