From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: 23.0.60; Emacs consumes all CPU while idle Date: Mon, 17 Mar 2008 21:42:34 +0100 Message-ID: Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1205786637 17131 80.91.229.12 (17 Mar 2008 20:43:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Mar 2008 20:43:57 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 17 21:44:24 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JbMBs-0005Gy-3O for ged-emacs-devel@m.gmane.org; Mon, 17 Mar 2008 21:44:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JbMBI-0004jk-5G for ged-emacs-devel@m.gmane.org; Mon, 17 Mar 2008 16:43:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JbMBB-0004iw-Qs for emacs-devel@gnu.org; Mon, 17 Mar 2008 16:43:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JbMBA-0004iP-Rz for emacs-devel@gnu.org; Mon, 17 Mar 2008 16:43:33 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JbMBA-0004iJ-Ml for emacs-devel@gnu.org; Mon, 17 Mar 2008 16:43:32 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JbMBA-0001Ls-Aj for emacs-devel@gnu.org; Mon, 17 Mar 2008 16:43:32 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JbMB9-0002tk-T4 for emacs-pretest-bug@gnu.org; Mon, 17 Mar 2008 16:43:32 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JbMB6-0001Km-M9 for emacs-pretest-bug@gnu.org; Mon, 17 Mar 2008 16:43:31 -0400 Original-Received: from mail.uni-ulm.de ([134.60.1.11]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JbMB6-0001Jz-71 for emacs-pretest-bug@gnu.org; Mon, 17 Mar 2008 16:43:28 -0400 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.41.37]) by mail.uni-ulm.de (8.14.2/8.14.2) with ESMTP id m2HKhPaM019240 for ; Mon, 17 Mar 2008 21:43:26 +0100 (MET) Original-Received: from localhost (bridgekeeper.physik.uni-ulm.de [134.60.41.37]) by bridgekeeper.physik.uni-ulm.de (Postfix) with ESMTP id 9D76712FEF for ; Mon, 17 Mar 2008 21:43:25 +0100 (CET) X-Face: .*T0'iU(sujq_j9\J>-d4fg; N/1++U#U$_5ii6k.=|"-n'?5O:Hyz&wi'-!I~,}7~GgT=0S /&-R5sbkNy5+Xo1y{Tw2KKxi@Xh"g@]Qc|.U<*]WDd)qvGowFDvfU1F]{EDho:7P0@|oOD=Bc{K4?> WP68K[Mx:}=`ZT'6g4'f+g?;`vri2!)xGy}3:=l'(/Cea0l4lo^H5#@/Z3ev Mail-Copies-To: nobody User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.92 (gnu/linux) X-DCC-debian-Metrics: poseidon 1169; Body=1 Fuz1=1 Fuz2=1 X-Virus-Scanned: by amavisd-new X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:92847 gmane.emacs.pretest.bugs:21615 Archived-At: Hi, since today or yesterday, Emacs starts consuming very much CPU time while doing nothing (AFAICS). And Emacs is not responsive. After moving other X windows in front of the Emacs frame, the Emacs frame isn't redisplayed (just a white, empty window). I can't even do M-x report-emacs-bug, but here are the configure options (from a previous report, date adjusted): --8<---------------cut here---------------start------------->8--- In GNU Emacs 23.0.60.9 (i686-pc-linux-gnu, GTK+ Version 2.10.6) of 2008-03-17 on viandante Windowing system distributor `The X.Org Foundation', version 11.0.70199902 configured using `configure '--prefix=/import/xtra/emacs/HEAD' '--exec-prefix=/import/xtra/emacs/HEAD-i686' 'CFLAGS=-Wno-pointer-sign -O0 -fno-crossjumping -gdwarf-2 -g3'' --8<---------------cut here---------------end--------------->8--- I can't reproduce it with -Q upto now. Below are backtraces of two instances after `kill -TSTP $PID' as suggested in etc/DEBUG. Any idea what could be the problem? Huch, now the Emacs instance where I tried to do `M-x' responds after consuming more than 5 minutes of CPU time: ,----[ top ] | Tasks: 177 total, 4 running, 171 sleeping, 2 stopped, 0 zombie | Cpu(s): 28.7%us, 71.3%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st | Mem: 499840k total, 493420k used, 6420k free, 9376k buffers | Swap: 618492k total, 214992k used, 403500k free, 119832k cached | | PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND | 673 [...] 25 0 46048 24m 9936 R 99.1 5.0 5:45.55 emacs `---- --8<---------------cut here---------------start------------->8--- GNU gdb 6.5 Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i586-suse-linux"...Using host libthread_db library "/lib/libthread_db.so.1". DISPLAY = :0.0 TERM = screen Breakpoint 1 at 0x8180dc0: file [...]/cvs-HEAD/emacs/src/emacs.c, line 430. Breakpoint 2 at 0x81a1648: file [...]/cvs-HEAD/emacs/src/sysdep.c, line 1317. (gdb) run Starting program: [...]/cvs-HEAD/i686/src/emacs-23.0.60.9 Failed to read a valid object file image from memory. [Thread debugging using libthread_db enabled] [New Thread -1220024640 (LWP 32497)] Program received signal SIGTSTP, Stopped (user). [Switching to Thread -1220024640 (LWP 32497)] input_available_signal (signo=29) at [...]/cvs-HEAD/emacs/src/keyboard.c:7358 7358 { (gdb) bt #0 input_available_signal (signo=29) at [...]/cvs-HEAD/emacs/src/keyboard.c:7358 #1 #2 0xb7f81410 in ?? () #3 0xbfc128b8 in ?? () #4 0x091ab10d in ?? () #5 0x0000001d in ?? () #6 0xb7511386 in kill () from /lib/libc.so.6 #7 0x08255ce4 in wait_reading_process_output (time_limit=0, microsecs=0, read_kbd=-1, do_display=1, wait_for_cell=138492105, wait_proc=0x0, just_wait_proc=0) at [...]/cvs-HEAD/emacs/src/process.c:4739 #8 0x0818a31e in kbd_buffer_get_event (kbp=0xbfc129d8, used_mouse_menu=0xbfc12db8, end_time=0x0) at [...]/cvs-HEAD/emacs/src/keyboard.c:4124 #9 0x0818846c in read_char (commandflag=1, nmaps=5, maps=0xbfc12c20, prev_event=138492105, used_mouse_menu=0xbfc12db8, end_time=0x0) at [...]/cvs-HEAD/emacs/src/keyboard.c:3078 #10 0x08192807 in read_key_sequence (keybuf=0xbfc12fc8, bufsize=30, prompt=138492105, dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1) at [...]/cvs-HEAD/emacs/src/keyboard.c:9458 #11 0x08184dab in command_loop_1 () at [...]/cvs-HEAD/emacs/src/keyboard.c:1653 #12 0x08210a18 in internal_condition_case (bfun=0x8184a79 , handlers=138536361, hfun=0x8184439 ) at [...]/cvs-HEAD/emacs/src/eval.c:1494 #13 0x081847d2 in command_loop_2 () at [...]/cvs-HEAD/emacs/src/keyboard.c:1370 #14 0x082104d4 in internal_catch (tag=138531209, func=0x81847af , arg=138492105) at [...]/cvs-HEAD/emacs/src/eval.c:1230 #15 0x08184788 in command_loop () at [...]/cvs-HEAD/emacs/src/keyboard.c:1349 #16 0x08184046 in recursive_edit_1 () at [...]/cvs-HEAD/emacs/src/keyboard.c:958 #17 0x081841b4 in Frecursive_edit () at [...]/cvs-HEAD/emacs/src/keyboard.c:1020 #18 0x08182a4c in main (argc=1, argv=0xbfc137a4) at [...]/cvs-HEAD/emacs/src/emacs.c:1784 (gdb) xbacktrace (gdb) --8<---------------cut here---------------end--------------->8--- --8<---------------cut here---------------start------------->8--- DISPLAY = :0.0 TERM = screen Breakpoint 1 at 0x8180dc0: file [...]/cvs-HEAD/emacs/src/emacs.c, line 430. Breakpoint 2 at 0x81a1648: file [...]/cvs-HEAD/emacs/src/sysdep.c, line 1317. (gdb) run Starting program: [...]/cvs-HEAD/i686/src/emacs Failed to read a valid object file image from memory. [Thread debugging using libthread_db enabled] [New Thread -1220581696 (LWP 562)] Program received signal SIGTSTP, Stopped (user). [Switching to Thread -1220581696 (LWP 562)] 0x0818ae3b in timer_check (do_it_now=1) at [...]/cvs-HEAD/emacs/src/keyboard.c:4580 4580 if (!VECTORP (timer) || XVECTOR (timer)->size != 8) (gdb) bt #0 0x0818ae3b in timer_check (do_it_now=1) at [...]/cvs-HEAD/emacs/src/keyboard.c:4580 #1 0x08255430 in wait_reading_process_output (time_limit=0, microsecs=0, read_kbd=-1, do_display=1, wait_for_cell=138492105, wait_proc=0x0, just_wait_proc=0) at [...]/cvs-HEAD/emacs/src/process.c:4367 #2 0x0818a31e in kbd_buffer_get_event (kbp=0xbfebf498, used_mouse_menu=0xbfebf878, end_time=0x0) at [...]/cvs-HEAD/emacs/src/keyboard.c:4124 #3 0x0818846c in read_char (commandflag=1, nmaps=5, maps=0xbfebf6e0, prev_event=138492105, used_mouse_menu=0xbfebf878, end_time=0x0) at [...]/cvs-HEAD/emacs/src/keyboard.c:3078 #4 0x08192807 in read_key_sequence (keybuf=0xbfebfa88, bufsize=30, prompt=138492105, dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1) at [...]/cvs-HEAD/emacs/src/keyboard.c:9458 #5 0x08184dab in command_loop_1 () at [...]/cvs-HEAD/emacs/src/keyboard.c:1653 #6 0x08210a18 in internal_condition_case (bfun=0x8184a79 , handlers=138536361, hfun=0x8184439 ) at [...]/cvs-HEAD/emacs/src/eval.c:1494 #7 0x081847d2 in command_loop_2 () at [...]/cvs-HEAD/emacs/src/keyboard.c:1370 #8 0x082104d4 in internal_catch (tag=138531209, func=0x81847af , arg=138492105) at [...]/cvs-HEAD/emacs/src/eval.c:1230 #9 0x08184788 in command_loop () at [...]/cvs-HEAD/emacs/src/keyboard.c:1349 #10 0x08184046 in recursive_edit_1 () at [...]/cvs-HEAD/emacs/src/keyboard.c:958 #11 0x081841b4 in Frecursive_edit () at [...]/cvs-HEAD/emacs/src/keyboard.c:1020 #12 0x08182a4c in main (argc=1, argv=0xbfec0264) at [...]/cvs-HEAD/emacs/src/emacs.c:1784 (gdb) xbacktrace (gdb) --8<---------------cut here---------------end--------------->8--- Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/