From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22519 invoked by alias); 23 Nov 2010 13:43:36 -0000 Received: (qmail 22509 invoked by uid 22791); 23 Nov 2010 13:43:35 -0000 X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp.nada.kth.se (HELO smtp.nada.kth.se) (130.237.222.182) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 23 Nov 2010 13:43:29 +0000 X-Authentication-Info: The sender was authenticated as krsj using PLAIN at smtp.nada.kth.se Received: from [130.237.218.117] (dyna218-117.nada.kth.se [130.237.218.117]) (authenticated bits=0) by smtp.nada.kth.se (8.12.11.20060308/8.12.11) with ESMTP id oANDhCd7010237 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 23 Nov 2010 14:43:13 +0100 (MET) Message-ID: <4CEBC4FC.8050402@nada.kth.se> Date: Tue, 23 Nov 2010 13:43:00 -0000 From: =?UTF-8?B?S3Jpc3RvZmZlciBTasO2w7Y=?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.15) Gecko/20101027 Thunderbird/3.0.10 MIME-Version: 1.0 To: Tom Tromey CC: gdb@sourceware.org Subject: Re: Hangs in GDB auto-complete References: <4CE279B5.5010501@nada.kth.se> <4CE3AFED.8030400@nada.kth.se> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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: 2010-11/txt/msg00085.txt.bz2 On 2010-11-18 22:31, Tom Tromey wrote: >>>>>> "Kristoffer" == Kristoffer Sjöö writes: >>>>>> > 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. > Yeah, 7.2 is like a whole new debugger! (Or, like the older versions where I didn't see this problem). Anyway, thanks! Kristoffer