From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dov Grobgeld Newsgroups: gmane.emacs.bugs Subject: bug#10580: 24.0.92; gdb initialization takes more than one minute at 100% CPU Date: Mon, 30 Apr 2012 08:33:31 +0300 Message-ID: References: <20253.9861.848886.122482@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1335764102 9938 80.91.229.3 (30 Apr 2012 05:35:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 30 Apr 2012 05:35:02 +0000 (UTC) Cc: 10580@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Apr 30 07:35:00 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 1SOjGC-0008F6-C1 for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Apr 2012 07:34:56 +0200 Original-Received: from localhost ([::1]:41295 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SOjGB-00075N-FJ for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Apr 2012 01:34:55 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59737) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SOjG7-000751-4Q for bug-gnu-emacs@gnu.org; Mon, 30 Apr 2012 01:34:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SOjG5-0004eZ-EE for bug-gnu-emacs@gnu.org; Mon, 30 Apr 2012 01:34:50 -0400 Original-Received: from [140.186.70.43] (port=57333 helo=debbugs.gnu.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SOjG5-0004c3-7Z for bug-gnu-emacs@gnu.org; Mon, 30 Apr 2012 01:34:49 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SOjHG-0004qB-Cp for bug-gnu-emacs@gnu.org; Mon, 30 Apr 2012 01:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dov Grobgeld Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Apr 2012 05:36: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.133576411618554 (code B ref 10580); Mon, 30 Apr 2012 05:36:02 +0000 Original-Received: (at 10580) by debbugs.gnu.org; 30 Apr 2012 05:35:16 +0000 Original-Received: from localhost ([127.0.0.1]:58367 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SOjGW-0004pD-Iz for submit@debbugs.gnu.org; Mon, 30 Apr 2012 01:35:16 -0400 Original-Received: from mail-ob0-f172.google.com ([209.85.214.172]:53256) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SOjGC-0004oT-Vo for 10580@debbugs.gnu.org; Mon, 30 Apr 2012 01:35:15 -0400 Original-Received: by obbeh20 with SMTP id eh20so413218obb.3 for <10580@debbugs.gnu.org>; Sun, 29 Apr 2012 22:33:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=LrlpazO0eTAoq6t20btX6ozmumGLsl0BDy1U6O5bgtQ=; b=PHGGfQonZ0GMYmBQ3QL7T/CmR0QpDdev59kZ0RArZYCRFf0WXfEPLE/l4FlIOEQ8Wv Lswjp1vZi/H5eNaleEosU7AlMgOsW1aCFhcwHxihEbPesXRFCFr9HzUbflW6GpUVTeJj xX1i99OWv2bXSfLnZJOUK//37FR0T2mHKlCTrUwD0None+8pjNTqJVvP3RBXZpIgdDfK ZYm+7WoCPjfIIXD45rUSFC/VtQfWJ5PrLBGNwh+4w3EmOasRYbp8WYYaFVAhz7e1hNc+ DoNo8fony1tLXrOQxb14vVLamkcs9yAwV1g7xCIf1NqRnqEnmVcqA73+JTolk2k1o9tL biDg== Original-Received: by 10.60.13.196 with SMTP id j4mr25904117oec.14.1335764012029; Sun, 29 Apr 2012 22:33:32 -0700 (PDT) Original-Received: by 10.182.52.202 with HTTP; Sun, 29 Apr 2012 22:33:31 -0700 (PDT) In-Reply-To: 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:59643 Archived-At: I finally ran emacs-24 under debugger to figure out where it got stuck. What I found was that it is stuck in keyboard.c where in read_key_sequence() the control keeps jumping back to the replay_sequence label. Does this ring a bell to someone? Regards, Dov On Wed, Jan 25, 2012 at 21:05, Glenn Morris wrote: > Dov Grobgeld wrote: > >> 2. The following command in gdb-input starts the 40s 100% CPU: >> >> =C2=A0 (process-send-string (get-buffer-process gud-comint-buffer) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(concat command "= \n"))) >> >> where command=3D"1-inferior-tty-set /dev/pts/9". Note that the command >> returns immediately, but some other thread apparently gets very busy. > > Thanks for the detective work. I'm afraid I don't know what to do about > this. It looks like process handling is messed up somehow. > > I hope someone else on this list can help you further.