From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#10580: 24.0.92; gdb initialization takes more than one minute at 100% CPU Date: Sun, 06 May 2012 13:39:56 +0800 Message-ID: <87havtvpeb.fsf@gnu.org> References: <20253.9861.848886.122482@fencepost.gnu.org> <87aa1mj69x.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1336282878 22273 80.91.229.3 (6 May 2012 05:41:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 6 May 2012 05:41:18 +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 Sun May 06 07:41:15 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SQuDa-0006hC-Fb for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 May 2012 07:41:14 +0200 Original-Received: from localhost ([::1]:40379 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQuDZ-0002rK-Rb for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 May 2012 01:41:13 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36371) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQuDW-0002qw-I9 for bug-gnu-emacs@gnu.org; Sun, 06 May 2012 01:41:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SQuDU-0007O0-OF for bug-gnu-emacs@gnu.org; Sun, 06 May 2012 01:41:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36626) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQuDU-0007Ns-Kj for bug-gnu-emacs@gnu.org; Sun, 06 May 2012 01:41:08 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SQuFJ-0004Bs-Gw for bug-gnu-emacs@gnu.org; Sun, 06 May 2012 01:43:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 May 2012 05:43:01 +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.133628292316029 (code B ref 10580); Sun, 06 May 2012 05:43:01 +0000 Original-Received: (at 10580) by debbugs.gnu.org; 6 May 2012 05:42:03 +0000 Original-Received: from localhost ([127.0.0.1]:37657 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SQuEN-0004AU-GK for submit@debbugs.gnu.org; Sun, 06 May 2012 01:42:03 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:54967 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SQuEK-0004A5-Uk for 10580@debbugs.gnu.org; Sun, 06 May 2012 01:42:01 -0400 Original-Received: from bb116-15-158-8.singnet.com.sg ([116.15.158.8]:51734 helo=ulysses) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1SQuCS-0006zv-I6; Sun, 06 May 2012 01:40:05 -0400 In-Reply-To: (Dov Grobgeld's message of "Sun, 6 May 2012 07:55:29 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.96 (gnu/linux) 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:59801 Archived-At: Dov Grobgeld writes: > Please let me know if there are any tests or debug info that I can > provide you with that can help in resolving this issue. I tried > debugging it myself, but I found it to complex since I lack the > knowledge of how sub-processes are handled in emacs. If you look at the *input/output of a.out* buffer, does it contain any text? Also, when you say that read_key_sequence keeps returning, what is its return value? Also, when read_key_sequence returns early, what is the value returned by read_char at keyboard.c:9341? Also, is it possible for you to provide a copy of the problematic program, or is it not allowed?