From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.devel Subject: Emacs in CVS plus GTK patches hogs CPU Date: Wed, 08 Jan 2003 07:18:04 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1042010531 11255 80.91.224.249 (8 Jan 2003 07:22:11 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 8 Jan 2003 07:22:11 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18WAXR-0002vM-00 for ; Wed, 08 Jan 2003 08:22:09 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18WAcN-00014o-00 for ; Wed, 08 Jan 2003 08:27:15 +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 18WAFV-0004Xn-01 for emacs-devel@quimby.gnus.org; Wed, 08 Jan 2003 02:03:37 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18WAF8-0004XC-00 for emacs-devel@gnu.org; Wed, 08 Jan 2003 02:03:14 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18WAEc-0004QB-00 for emacs-devel@gnu.org; Wed, 08 Jan 2003 02:03:13 -0500 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net ([217.13.230.178] helo=yxa.extundo.com) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18W9XY-00037u-00 for emacs-devel@gnu.org; Wed, 08 Jan 2003 01:18:13 -0500 Original-Received: from latte.josefsson.org (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.12.6/8.12.6) with ESMTP id h086I4Rr005897 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Wed, 8 Jan 2003 07:18:05 +0100 Original-To: emacs-devel@gnu.org Mail-Copies-To: nobody X-Payment: hashcash 1.1 0:030108:emacs-devel@gnu.org:11dd3c33a5f88c0f X-Hashcash: 0:030108:emacs-devel@gnu.org:11dd3c33a5f88c0f User-Agent: Gnus/5.090011 (Oort Gnus v0.11) Emacs/21.3.50 (i686-pc-linux-gnu) 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:10567 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10567 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. (gdb) c Continuing. Program received signal SIGINT, Interrupt. 0x0815b21f in wait_reading_process_input (time_limit=0, microsecs=0, read_kbd=268435455, do_display=1) at process.c:4259 4259 } (gdb) bt #0 0x0815b21f in wait_reading_process_input (time_limit=0, microsecs=0, read_kbd=268435455, do_display=1) at process.c:4259 #1 0x080db18c in kbd_buffer_get_event (kbp=0xbffff450, used_mouse_menu=0xbffff670) at keyboard.c:3750 #2 0x080d9b86 in read_char (commandflag=1, nmaps=5, maps=0xbffff614, prev_event=405433596, used_mouse_menu=0xbffff670) at keyboard.c:2720 #3 0x080e0140 in read_key_sequence (keybuf=0xbffff774, bufsize=30, prompt=405433596, dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:8508 #4 0x080d7a88 in command_loop_1 () at keyboard.c:1473 #5 0x0812c079 in internal_condition_case (bfun=0x80d7780 , handlers=405530204, hfun=0x80d7394 ) at eval.c:1352 #6 0x080d7658 in command_loop_2 () at keyboard.c:1274 #7 0x0812bc0d in internal_catch (tag=405491508, func=0x80d7634 , arg=405433596) at eval.c:1112 #8 0x080d7603 in command_loop () at keyboard.c:1253 #9 0x080d7150 in recursive_edit_1 () at keyboard.c:969 #10 0x080d7280 in Frecursive_edit () at keyboard.c:1025 #11 0x080d6113 in main (argc=1, argv=0xbffffd44) at emacs.c:1647 (gdb) c Continuing. Program received signal SIGINT, Interrupt. 0x4066d7ee in select () from /lib/libc.so.6 (gdb) bt #0 0x4066d7ee in select () from /lib/libc.so.6 #1 0xbffff23c in ?? () #2 0x080db18c in kbd_buffer_get_event (kbp=0xbffff450, used_mouse_menu=0xbffff670) at keyboard.c:3750 #3 0x080d9b86 in read_char (commandflag=1, nmaps=5, maps=0xbffff614, prev_event=405433596, used_mouse_menu=0xbffff670) at keyboard.c:2720 #4 0x080e0140 in read_key_sequence (keybuf=0xbffff774, bufsize=30, prompt=405433596, dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:8508 #5 0x080d7a88 in command_loop_1 () at keyboard.c:1473 #6 0x0812c079 in internal_condition_case (bfun=0x80d7780 , handlers=405530204, hfun=0x80d7394 ) at eval.c:1352 #7 0x080d7658 in command_loop_2 () at keyboard.c:1274 #8 0x0812bc0d in internal_catch (tag=405491508, func=0x80d7634 , arg=405433596) at eval.c:1112 #9 0x080d7603 in command_loop () at keyboard.c:1253 #10 0x080d7150 in recursive_edit_1 () at keyboard.c:969 #11 0x080d7280 in Frecursive_edit () at keyboard.c:1025 #12 0x080d6113 in main (argc=1, argv=0xbffffd44) at emacs.c:1647 (gdb)