From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14404 invoked by alias); 5 Aug 2003 18:06:40 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 14393 invoked from network); 5 Aug 2003 18:06:40 -0000 Received: from unknown (HELO localhost.redhat.com) (207.219.125.131) by sources.redhat.com with SMTP; 5 Aug 2003 18:06:40 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id EC4982B7F; Tue, 5 Aug 2003 14:06:37 -0400 (EDT) Message-ID: <3F2FF22D.30807@redhat.com> Date: Tue, 05 Aug 2003 18:06:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030223 X-Accept-Language: en-us, en MIME-Version: 1.0 To: David Carlton Cc: Michael Elizabeth Chastain , gdb@sources.redhat.com Subject: Re: attach.exp failure References: <200308051721.h75HLXbq026687@duracef.shout.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-08/txt/msg00066.txt.bz2 > On Tue, 5 Aug 2003 13:21:33 -0400, Michael Elizabeth Chastain said: > > >> Looks like gdb crashed or went into a loop. > > > Yes. Running GDB on itself, I get a segfault within reggroup_next, on > this line: > > return el->next->group; > > Which is consistent with the bug having appeared within the last 4 > days, judging from ChangeLog entries. > > I've seen this on two machines now: one with Red Hat 8.0, GCC 3.2, and > the other with Red Hat 7.3 (possibly modified), GCC 2.96. Both > i686-pc-linux-gnu. Doh, nothing in the test runs I use exercise this. It should read something like: if (el->group == last) { if (el->next != NULL) return el->next->group; else return NULL; } Andrew