From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21979 invoked by alias); 27 Jul 2007 11:51:58 -0000 Received: (qmail 21971 invoked by uid 22791); 27 Jul 2007 11:51:58 -0000 X-Spam-Check-By: sourceware.org Received: from viper.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.8) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 27 Jul 2007 11:51:55 +0000 Received: from kahikatea.snap.net.nz (193.62.255.123.dynamic.snap.net.nz [123.255.62.193]) by viper.snap.net.nz (Postfix) with ESMTP id 8485E3D9CA6; Fri, 27 Jul 2007 23:51:52 +1200 (NZST) Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id 259098FC6D; Fri, 27 Jul 2007 23:51:41 +1200 (NZST) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18089.56395.938853.868975@kahikatea.snap.net.nz> Date: Fri, 27 Jul 2007 12:03:00 -0000 To: "Robert Norton" Cc: gdb@sourceware.org Subject: Re: Segfault in varobj.c In-Reply-To: References: X-Mailer: VM 7.19 under Emacs 22.1.50.1 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/msg00191.txt.bz2 Robert Norton writes: > Hi, > > I encountered a segfault whilst using our port of GDB with Eclipse. It > occurs when I add a number of global variables in the variables view and > expand them. Occasionally I observe something like the following in the > MI console: > > (gdb) > 2247-var-list-children > var2.tx_ready_next.tx_ready_next.tx_ready_next.tx_suspended_next.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" > > Followed by gdb segfaulting. On loading the core file I observe: It might be more useful to set the breakpoint on the line where the initial warning was issued. This is your port of GDB and it's based on an old version of FSF GDB. Does it happen with FSF GDB or, at least, your port based on up-to-date FSF GDB? -- Nick http://www.inet.net.nz/~nickrob