From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19968 invoked by alias); 18 Nov 2010 21:31:42 -0000 Received: (qmail 19954 invoked by uid 22791); 18 Nov 2010 21:31:41 -0000 X-SWARE-Spam-Status: No, hits=-6.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 18 Nov 2010 21:31:36 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id oAILVQ7s021911 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 18 Nov 2010 16:31:26 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id oAILVPIL025766; Thu, 18 Nov 2010 16:31:25 -0500 Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id oAILVOTp032678; Thu, 18 Nov 2010 16:31:25 -0500 Received: by opsy.redhat.com (Postfix, from userid 500) id A0E3A3784F6; Thu, 18 Nov 2010 14:31:24 -0700 (MST) From: Tom Tromey To: Kristoffer =?utf-8?B?U2rDtsO2?= Cc: gdb@sourceware.org Subject: Re: Hangs in GDB auto-complete References: <4CE279B5.5010501@nada.kth.se> <4CE3AFED.8030400@nada.kth.se> Date: Thu, 18 Nov 2010 21:31:00 -0000 In-Reply-To: <4CE3AFED.8030400@nada.kth.se> ("Kristoffer =?utf-8?B?U2o=?= =?utf-8?B?w7bDtiIncw==?= message of "Wed, 17 Nov 2010 11:35:25 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: 2010-11/txt/msg00079.txt.bz2 >>>>> "Kristoffer" =3D=3D Kristoffer Sj=C3=B6=C3=B6 writ= es: Kristoffer> Well, I can't C-c. I'm stuck in one of these right now, in Kristoffer> fact; it's been locked up for 2-3 minutes now, at 148 % CPU Kristoffer> according to top: One thing that might help is if you installed the gdb debuginfo, then attached a new gdb to the hung gdb to get a stack trace. Kristoffer> This lockup happened when I typed Kristoffer> (gdb) p m_evaluator.m_lastWitness Kristoffer> ...which isn't even an auto-complete, but just a symbol Kristoffer> lookup. This sounds like the namespace lookup performance problem. This was fixed in 7.2. Tom