From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#5123: 23.1.50; emacs hang / 100% CPU load Date: Sat, 05 Dec 2009 11:43:06 +0200 Message-ID: <83k4x1kb85.fsf@gnu.org> References: <87my1y3178.wl%djcb@djcbsoftware.nl> Reply-To: Eli Zaretskii , 5123@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1260007668 31298 80.91.229.12 (5 Dec 2009 10:07:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Dec 2009 10:07:48 +0000 (UTC) Cc: 5123@emacsbugs.donarmstrong.com To: djcb@djcbsoftware.nl Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 05 11:07:40 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NGrYA-0008NJ-VO for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Dec 2009 11:07:39 +0100 Original-Received: from localhost ([127.0.0.1]:59157 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGrYA-00033F-GR for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Dec 2009 05:07:38 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NGrY5-00031t-D3 for bug-gnu-emacs@gnu.org; Sat, 05 Dec 2009 05:07:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NGrY0-0002s7-58 for bug-gnu-emacs@gnu.org; Sat, 05 Dec 2009 05:07:32 -0500 Original-Received: from [199.232.76.173] (port=58978 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGrXz-0002ri-Pu for bug-gnu-emacs@gnu.org; Sat, 05 Dec 2009 05:07:27 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:37227) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NGrXz-0000vS-5h for bug-gnu-emacs@gnu.org; Sat, 05 Dec 2009 05:07:27 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB5A7P06032699; Sat, 5 Dec 2009 02:07:25 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nB59t6wD031010; Sat, 5 Dec 2009 01:55:06 -0800 Resent-Date: Sat, 5 Dec 2009 01:55:06 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Eli Zaretskii Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Sat, 05 Dec 2009 09:55:06 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 5123 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 5123-submit@emacsbugs.donarmstrong.com id=B5123.126000633330505 (code B ref 5123); Sat, 05 Dec 2009 09:55:06 +0000 Original-Received: (at 5123) by emacsbugs.donarmstrong.com; 5 Dec 2009 09:45:33 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mtaout21.012.net.il (mtaout21.012.net.il [80.179.55.169]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB59jVPb030502 for <5123@emacsbugs.donarmstrong.com>; Sat, 5 Dec 2009 01:45:32 -0800 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0KU600200ATF0100@a-mtaout21.012.net.il> for 5123@emacsbugs.donarmstrong.com; Sat, 05 Dec 2009 11:45:10 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.126.213.252]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KU600LTMB39DSA0@a-mtaout21.012.net.il>; Sat, 05 Dec 2009 11:45:10 +0200 (IST) In-reply-to: <87my1y3178.wl%djcb@djcbsoftware.nl> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sat, 05 Dec 2009 05:07:32 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:33243 Archived-At: > From: djcb.bulk@gmail.com > Date: Fri, 04 Dec 2009 22:55:59 +0200 > Cc: > > I was opening an email with a picture in Wanderlust. Emacs hung, CPU load > went to 100%. I captured the following backtrace (using gdb emacs `pidof > emacs`): Thank you for your report. Can you tell where to get that picture, in order to reproduce the hang? > #0 0x0806b17f in append_glyph (it=0xbfde4c48) at xdisp.c:20525 > #1 0x08075517 in x_produce_glyphs (it=0xbfde4c48) at xdisp.c:21241 > #2 0x08082c6e in display_line (it=0xbfde4c48) at xdisp.c:16598 > #3 0x080892a2 in try_window (window=186534188, pos=..., check_margins=0) at xdisp.c:14000 > #4 0x0808dc7d in try_scrolling (window=, > just_this_one_p=) at xdisp.c:12788 > #5 redisplay_window (window=, just_this_one_p=) > at xdisp.c:13678 > #6 0x0808f363 in redisplay_window_0 (window=186534188) at xdisp.c:12261 This is an optimized build. Too many parameters are optimized out, and even the backtrace itself is not reliable in optimized builds. Could you perhaps rebuild Emacs with "-O0 -ggdb -g3", and then show the backtrace from the same hang? Also, if you single-step Emacs from this point, or use `finish', does it loop in endlessly, or does it remain stuck in append_glyph? See the section "If the symptom of the bug is that Emacs fails to respond" in etc/DEBUG for more details about this. Finally, please run GDB from the Emacs's src/ directory? There's a .gdbinit file there which will show a Lisp backtrace as well. > If Emacs crashed, and you have the Emacs process in the gdb debugger, > please include the output from the following gdb commands: > `bt full' and `xbacktrace'. Yes, please do that as well. > Load-path shadows: > [long list of shadows deleted] Wow, that's a lot of shadowing! Is it intentional?