From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: Emacs in CVS plus GTK patches hogs CPU Date: Wed, 8 Jan 2003 18:59:08 +0100 (CET) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <20030108180411.BONY5799.fep03-svc.swip.net@gaffa.gaia.swipnet.se> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1042049207 8538 80.91.224.249 (8 Jan 2003 18:06:47 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 8 Jan 2003 18:06:47 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18WKbF-0002DX-00 for ; Wed, 08 Jan 2003 19:06:45 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18WKgP-0007ap-00 for ; Wed, 08 Jan 2003 19:12:05 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18WKbh-0000Je-07 for emacs-devel@quimby.gnus.org; Wed, 08 Jan 2003 13:07:13 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18WKaC-0008Ir-00 for emacs-devel@gnu.org; Wed, 08 Jan 2003 13:05:40 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18WKa3-00084d-00 for emacs-devel@gnu.org; Wed, 08 Jan 2003 13:05:35 -0500 Original-Received: from fep03.swip.net ([130.244.199.131] helo=fep03-svc.swip.net) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18WKYo-0006fP-00 for emacs-devel@gnu.org; Wed, 08 Jan 2003 13:04:14 -0500 Original-Received: from gaffa.gaia.swipnet.se ([213.101.6.188]) by fep03-svc.swip.net with ESMTP <20030108180411.BONY5799.fep03-svc.swip.net@gaffa.gaia.swipnet.se>; Wed, 8 Jan 2003 19:04:11 +0100 In-Reply-To: "from Simon Josefsson at Jan 8, 2003 07:18:04 am" Original-To: Simon Josefsson X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:10585 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10585 > I've been using the #2 GTK patch for several days with some heavy use, > and this is my first problem. I'm not positive it is GTK related. > > Emacs is unresponsive to C-g and consumes all CPU. Attaching with gdb > and breaking alternatively generates two different backtraces (see > below). At the time I was reading mail from a IMAP group using Gnus > (i.e., likely both network activity and keyboard activity). > > I'll keep the process running if someone has any ideas what to > investigate. I have Motif and GTK versions running side by side, the GTK version actually takes *less* CPU for me. Can you strace or truss the Emacs process to see if is in some sort of busy wait? A very short timeout perhaps? Jan D.