From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#10580: 24.0.92; gdb initialization takes more than one minute at 100% CPU Date: Tue, 24 Jan 2012 19:37:14 -0500 Message-ID: References: <20253.9861.848886.122482@fencepost.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1327451868 11829 80.91.229.12 (25 Jan 2012 00:37:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 25 Jan 2012 00:37:48 +0000 (UTC) Cc: 10580@debbugs.gnu.org To: Dov Grobgeld Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jan 25 01:37:44 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rpqrw-0005GQ-8R for geb-bug-gnu-emacs@m.gmane.org; Wed, 25 Jan 2012 01:37:44 +0100 Original-Received: from localhost ([::1]:57947 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rpqrv-0005WO-LP for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Jan 2012 19:37:43 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:33696) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rpqrt-0005WD-Fg for bug-gnu-emacs@gnu.org; Tue, 24 Jan 2012 19:37:42 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rpqrs-0005qb-GM for bug-gnu-emacs@gnu.org; Tue, 24 Jan 2012 19:37:41 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36999) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rpqrs-0005qX-BL for bug-gnu-emacs@gnu.org; Tue, 24 Jan 2012 19:37:40 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1RpqsE-0001LV-63 for bug-gnu-emacs@gnu.org; Tue, 24 Jan 2012 19:38:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 25 Jan 2012 00:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10580 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10580-submit@debbugs.gnu.org id=B10580.13274518605144 (code B ref 10580); Wed, 25 Jan 2012 00:38:02 +0000 Original-Received: (at 10580) by debbugs.gnu.org; 25 Jan 2012 00:37:40 +0000 Original-Received: from localhost ([127.0.0.1]:42386 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rpqrs-0001Ku-8y for submit@debbugs.gnu.org; Tue, 24 Jan 2012 19:37:40 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:50525 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rpqrq-0001Km-2y for 10580@debbugs.gnu.org; Tue, 24 Jan 2012 19:37:38 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RpqrS-00058o-Gb; Tue, 24 Jan 2012 19:37:14 -0500 X-Spook: Downing Street constitution Al Jazeera fundamentalist X-Ran: I6bOSzd\q=S7`R@o+tnAYtrF^~]Oo!TyuM3)*+Pc5Aw2rx#(b^CbeJ?FpHXRkr@gNx/>J, X-Hue: white X-Attribution: GM In-Reply-To: <20253.9861.848886.122482@fencepost.gnu.org> (Glenn Morris's message of "Mon, 23 Jan 2012 04:21:09 -0500") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:55970 Archived-At: >> I tried again with emacs -Q and the same thing happens. To be more >> precise the startup time is about 40s at 100% CPU. Is this with everything you try to debug, or just certain things? Can you try M-x toggle-debug-on-quit, then interrupt Emacs with ctrl-g during those 40 seconds and see if you get a backtrace? Or try M-x edebug-defun on the `gdb' function, step through it, and see what is taking the time. Guesses: do you have a huge .gdb_history or ~/.gdbinit file?