From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23893 invoked by alias); 25 Jun 2010 16:24:28 -0000 Received: (qmail 23876 invoked by uid 22791); 25 Jun 2010 16:24:26 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,MSGID_FROM_MTA_HEADER,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mtagate5.de.ibm.com (HELO mtagate5.de.ibm.com) (195.212.17.165) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 25 Jun 2010 16:24:22 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate5.de.ibm.com (8.13.1/8.13.1) with ESMTP id o5PGOJ8b007621 for ; Fri, 25 Jun 2010 16:24:19 GMT Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com [9.149.165.228]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o5PGOJam1679366 for ; Fri, 25 Jun 2010 18:24:19 +0200 Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id o5PGOIfC014304 for ; Fri, 25 Jun 2010 18:24:18 +0200 Received: from tuxmaker.boeblingen.de.ibm.com (tuxmaker.boeblingen.de.ibm.com [9.152.85.9]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with SMTP id o5PGOHAX014293; Fri, 25 Jun 2010 18:24:17 +0200 Message-Id: <201006251624.o5PGOHAX014293@d12av02.megacenter.de.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Fri, 25 Jun 2010 18:24:17 +0200 Subject: Re: GDB crash due to endless recursion in namespace lookup To: swagiaal@redhat.com (sami wagiaalla) Date: Fri, 25 Jun 2010 16:24:00 -0000 From: "Ulrich Weigand" Cc: gdb-patches@sourceware.org In-Reply-To: <4C24CBC3.4080905@redhat.com> from "sami wagiaalla" at Jun 25, 2010 11:31:15 AM MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-06/txt/msg00583.txt.bz2 Sami Wagiaalla wrote: > Thanks for reporting things and the test case. I have attached a fix and > added your test case to the test suite. Oops, I didn't see your email and just checked in a fix myself (which seems more or less the same as yours) ... Sorry for the confusion! > 2010-06-24 Sami Wagiaalla > > * gdb.cp/operator.cc: Created an import loop. > * gdb.cp/operator.exp: Added testcase for import loop. Except I didn't add the test case since on my machine, I already had several other tests failing due to the bug. But I guess you're right, we should add the test anyway, for machines without the loop in the system headers ... Please feel free to check in the test! Thanks for the quick fix! Bye, Ulrich -- Dr. Ulrich Weigand GNU Toolchain for Linux on System z and Cell BE Ulrich.Weigand@de.ibm.com