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: Sun, 6 May 2012 07:55:29 +0300 Message-ID: References: <20253.9861.848886.122482@fencepost.gnu.org> <87aa1mj69x.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e89a8ff1c71e6e19a804bf56f68e X-Trace: dough.gmane.org 1336280183 9026 80.91.229.3 (6 May 2012 04:56:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 6 May 2012 04:56:23 +0000 (UTC) Cc: 10580@debbugs.gnu.org To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 06 06:56:22 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 1SQtW2-0003ed-Nv for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 May 2012 06:56:14 +0200 Original-Received: from localhost ([::1]:37245 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQtW2-0008G9-3u for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 May 2012 00:56:14 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60643) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQtVy-0008G4-W0 for bug-gnu-emacs@gnu.org; Sun, 06 May 2012 00:56:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SQtVx-0005sU-3o for bug-gnu-emacs@gnu.org; Sun, 06 May 2012 00:56:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36603) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQtVw-0005sQ-UQ for bug-gnu-emacs@gnu.org; Sun, 06 May 2012 00:56:09 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SQtXl-0001TI-MN for bug-gnu-emacs@gnu.org; Sun, 06 May 2012 00:58:01 -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: Sun, 06 May 2012 04:58: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.13362802515617 (code B ref 10580); Sun, 06 May 2012 04:58:01 +0000 Original-Received: (at 10580) by debbugs.gnu.org; 6 May 2012 04:57:31 +0000 Original-Received: from localhost ([127.0.0.1]:37637 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SQtXG-0001SX-ID for submit@debbugs.gnu.org; Sun, 06 May 2012 00:57:31 -0400 Original-Received: from mail-ob0-f172.google.com ([209.85.214.172]:58007) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SQtXE-0001SK-DF for 10580@debbugs.gnu.org; Sun, 06 May 2012 00:57:29 -0400 Original-Received: by obbeh20 with SMTP id eh20so6248549obb.3 for <10580@debbugs.gnu.org>; Sat, 05 May 2012 21:55:29 -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; bh=hYCRU5Mq3UyWB7P+OblZUufzjSskaBvKNqQUKoLkcwk=; b=acQuF7QXtp+Z79PUCwFvjHk0Jr4gGEjjiq1ihdUZbv2EnLO5bPyKAJUmuHYHEy/4WI /Q3hwxKOfBt5fLaGjVrIo6IQ+PaVGFTZ92CxgfdSpGTG29qQ7xw6f9NPYn+UheEjIbXi vD33jqjoqBIBU83P2necX78mgbByRb1jIynVL5myhOkmkmws9GkOn2dFGLe/e9ceHqO+ YAKQESmfiFkPUWVFlTwo4+kE04myClg5l9bn4Iyl7W6EFciNMRtayeltLLhebLZXwtnM O72y4jRw47VJAqeJjSVDlFeCB7SoLk4TAfzSAyXUlFGwG/Y4cl6tfkAxZDcJ3i/2d9BO 5WqQ== Original-Received: by 10.60.21.103 with SMTP id u7mr15777463oee.11.1336280129345; Sat, 05 May 2012 21:55:29 -0700 (PDT) Original-Received: by 10.182.60.137 with HTTP; Sat, 5 May 2012 21:55:29 -0700 (PDT) In-Reply-To: <87aa1mj69x.fsf@gnu.org> 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:59799 Archived-At: --e89a8ff1c71e6e19a804bf56f68e Content-Type: text/plain; charset=UTF-8 Thank you very much for looking into this. For me, this is currently, the main show stopper for starting to emacs-24. I have just tested the same scenario with the latest git HEAD version from http://git.savannah.gnu.org/r/emacs.git/ : 823d681 Optionally include holidays in cal-html output and unfortunately the exact same behavior as before still remains. 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. Regards, Dov On Sun, May 6, 2012 at 7:13 AM, Chong Yidong wrote: > Dov Grobgeld writes: > > > Here is some more clarification. In keyboard.c:command_loop_1() the > > line i=read_key_sequence() blocks during interactive work until a key > > is pressed. But when the process is stuck in "gdb" read_key_sequence() > > does not block but keeps returning. I still have no clue of what goes > > on though. > > Is this still with 24.0.92, or the latest pretest 24.0.96, or the > emacs-24 branch? I made some changes to the pty handling a few weeks > ago (which should be included in 24.0.96), which may impact this issue. > --e89a8ff1c71e6e19a804bf56f68e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thank you very m= uch for looking into this. For me, this is currently, the main show stopper= for starting to emacs-24.

I have just tested the same scenario with= the latest git HEAD version from http://git.savannah.gnu.org/r/emacs.git/ :

823d681 Optionally include holidays in cal-html output

and unfor= tunately the exact same behavior as before still remains.

Please let= me know if there are any tests or debug info that I can provide you with t= hat can help in resolving this issue. I tried debugging it myself, but I fo= und it to complex since I lack the knowledge of how sub-processes are handl= ed in emacs.

Regards,
Dov

On Sun, May 6,= 2012 at 7:13 AM, Chong Yidong <cyd@gnu.org> wrote:
Dov Grobgeld <dov.grobgeld@gmail.com> writes:

> Here is some more clarification. In keyboard.c:command_loop_1() the > line i=3Dread_key_sequence() blocks during interactive work until a ke= y
> is pressed. But when the process is stuck in "gdb" read_key_= sequence()
> does not block but keeps returning. I still have no clue of what goes<= br> > on though.

Is this still with 24.0.92, or the latest pretest 24.0.96, or the
emacs-24 branch? =C2=A0I made some changes to the pty handling a few weeks<= br> ago (which should be included in 24.0.96), which may impact this issue.

--e89a8ff1c71e6e19a804bf56f68e--