This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: insight/206: SEGV in Tcl_FindCommand


[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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]