From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25061 invoked by alias); 27 Jul 2007 12:03:31 -0000 Received: (qmail 25044 invoked by uid 22791); 27 Jul 2007 12:03:31 -0000 X-Spam-Check-By: sourceware.org Received: from mms2.broadcom.com (HELO mms2.broadcom.com) (216.31.210.18) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 27 Jul 2007 12:03:28 +0000 Received: from [10.10.64.154] by mms2.broadcom.com with ESMTP (Broadcom SMTP Relay (Email Firewall v6.3.1)); Fri, 27 Jul 2007 05:03:17 -0700 X-Server-Uuid: A6C4E0AE-A7F0-449F-BAE7-7FA0D737AC76 Received: by mail-irva-10.broadcom.com (Postfix, from userid 47) id 089A82AF; Fri, 27 Jul 2007 05:03:17 -0700 (PDT) Received: from mail-irva-8.broadcom.com (mail-irva-8 [10.10.64.221]) by mail-irva-10.broadcom.com (Postfix) with ESMTP id E6F6A2AE; Fri, 27 Jul 2007 05:03:16 -0700 (PDT) Received: from mail-irva-12.broadcom.com (mail-irva-12.broadcom.com [10.10.64.146]) by mail-irva-8.broadcom.com (MOS 3.7.5a-GA) with ESMTP id FMV57704; Fri, 27 Jul 2007 05:03:15 -0700 (PDT) Received: from NT-IRVA-0752.brcm.ad.broadcom.com ( nt-irva-0752.brcm.ad.broadcom.com [10.8.194.67]) by mail-irva-12.broadcom.com (Postfix) with ESMTP id B36CE69CA3; Fri, 27 Jul 2007 05:03:15 -0700 (PDT) Content-class: urn:content-classes:message MIME-Version: 1.0 Subject: RE: Segfault in varobj.c Date: Fri, 27 Jul 2007 12:16:00 -0000 Message-ID: In-Reply-To: <18089.56395.938853.868975@kahikatea.snap.net.nz> References: <18089.56395.938853.868975@kahikatea.snap.net.nz> From: "Robert Norton" To: "Nick Roberts" cc: gdb@sourceware.org X-WSS-ID: 6AB7008F3DG14617699-01-01 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-07/txt/msg00192.txt.bz2 =20 > -----Original Message----- > From: Nick Roberts [mailto:nickrob@snap.net.nz]=20 > Sent: 27 July 2007 12:52 > To: Robert Norton > Cc: gdb@sourceware.org > Subject: Re: Segfault in varobj.c >=20 > Robert Norton writes: > > Hi, > >=20 > > I encountered a segfault whilst using our port of GDB with=20 > Eclipse. It > > occurs when I add a number of global variables in the=20 > variables view and > > expand them. Occasionally I observe something like the=20 > following in the > > MI console: > >=20 > > (gdb)=20 > > 2247-var-list-children > >=20 > var2.tx_ready_next.tx_ready_next.tx_ready_next.tx_suspended_ne > xt.tx_thre > > ad_name > > warning: Child of parent whose type does not allow children > > &"warning: Child of parent whose type does not allow children\n" > >=20 > > Followed by gdb segfaulting. On loading the core file I observe: >=20 > It might be more useful to set the breakpoint on the line=20 > where the initial > warning was issued. Yes. After submitting the post I found where the warning was coming from and am investigating. I can now reproduce reliably so am distilling down to a minimal recipe for generating the bug, which hopefully will shed some light. =20 > This is your port of GDB and it's based on an old version of=20 > FSF GDB. Does > it happen with FSF GDB or, at least, your port based on=20 > up-to-date FSF GDB? The port is based on GDB 6.6. Robert >=20 >=20 > --=20 > Nick=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 > http://www.inet.net.nz/~nickrob >=20 >=20