From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30162 invoked by alias); 5 Feb 2003 17:46:37 -0000 Mailing-List: contact insight-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sources.redhat.com Received: (qmail 30150 invoked from network); 5 Feb 2003 17:46:37 -0000 Received: from unknown (HELO mx1.redhat.com) (172.16.49.200) by 172.16.49.205 with SMTP; 5 Feb 2003 17:46:37 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h15Hkbf25917 for ; Wed, 5 Feb 2003 12:46:37 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h15Hkba20771; Wed, 5 Feb 2003 12:46:37 -0500 Received: from [150.1.200.14] (vpn50-48.rdu.redhat.com [172.16.50.48]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h15HkaY24558; Wed, 5 Feb 2003 12:46:36 -0500 Subject: Re: insight/206: SEGV in Tcl_FindCommand From: Keith Seitz To: Lloyd J Lewins Cc: "insight@sources.redhat.com" In-Reply-To: References: Content-Type: text/plain Organization: Message-Id: <1044467439.1492.28.camel@lindt.uglyboxes.com> Mime-Version: 1.0 Date: Wed, 05 Feb 2003 17:46:00 -0000 Content-Transfer-Encoding: 7bit X-SW-Source: 2003-q1/txt/msg00078.txt.bz2 [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