From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: nljlistbox2@gmail.com (N. Jackson) Newsgroups: gmane.emacs.bugs Subject: bug#20808: 24.5; Emacs looping with 100% CPU at line 15287 (?) of xdisp.c Date: Wed, 17 Jun 2015 08:30:18 -0300 Message-ID: <87616mincl.fsf@moondust.localdomain> References: <87mw03j57i.fsf@moondust.localdomain> <83ioaqpel9.fsf@gnu.org> <878ubmayn4.fsf@moondust.localdomain> <83616qoyyd.fsf@gnu.org> <87a8w1uge6.fsf@moondust.localdomain> <83vbenn1ad.fsf@gnu.org> <87d20vhz6w.fsf@moondust.localdomain> <83fv5rm4sl.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1434540688 18071 80.91.229.3 (17 Jun 2015 11:31:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Jun 2015 11:31:28 +0000 (UTC) Cc: 20808@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 17 13:31:17 2015 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 1Z5BYo-0001so-M2 for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Jun 2015 13:31:14 +0200 Original-Received: from localhost ([::1]:45862 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5BYo-0003r4-1V for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Jun 2015 07:31:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52700) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5BYk-0003qw-GI for bug-gnu-emacs@gnu.org; Wed, 17 Jun 2015 07:31:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5BYe-0008NR-JE for bug-gnu-emacs@gnu.org; Wed, 17 Jun 2015 07:31:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42467) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5BYe-0008NJ-Fw for bug-gnu-emacs@gnu.org; Wed, 17 Jun 2015 07:31:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Z5BYd-0003EF-MW for bug-gnu-emacs@gnu.org; Wed, 17 Jun 2015 07:31:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: nljlistbox2@gmail.com (N. Jackson) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 17 Jun 2015 11:31:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20808 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20808-submit@debbugs.gnu.org id=B20808.143454063211564 (code B ref 20808); Wed, 17 Jun 2015 11:31:03 +0000 Original-Received: (at 20808) by debbugs.gnu.org; 17 Jun 2015 11:30:32 +0000 Original-Received: from localhost ([127.0.0.1]:56927 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z5BY4-0002zU-VR for submit@debbugs.gnu.org; Wed, 17 Jun 2015 07:30:31 -0400 Original-Received: from mail-ig0-f175.google.com ([209.85.213.175]:34606) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z5BY1-0002wS-Nk for 20808@debbugs.gnu.org; Wed, 17 Jun 2015 07:30:26 -0400 Original-Received: by igboe5 with SMTP id oe5so77154999igb.1 for <20808@debbugs.gnu.org>; Wed, 17 Jun 2015 04:30:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=kLckg64jCIHoIhuTMbC6BoAiG91yejx1FNUly8aiSz0=; b=iC8NUMpRUuRzivO7LqOZloqeGcwEyI6uQ2DGS7Bs6+dYUujmcVRNMgvzWEuipsufwn n1E60YVL4rgMoEL+Oc3ydn/XAOsWvXLOC6NME0xBy/M+JnFXGxasgDMkTJSEeA867G2N xisDC6EOFA+QCrH9t+f27E4N4KndOBkyGGOE4oq8dbNgwlNEbKHXG9LGS8bHHWV3brsg pelkWA+UNL5PXELWbDHOfXsSQJoYDep4owk5WQx8UFktWar9d0wHO3dIUdLZuG0aPg79 IvXSR6HfMETzV+s/CFSRD2LxdWlCm+f+KTpQ5S9UWnoJ9nhlIpwPn/H58tKrFxK1qbSE MAuA== X-Received: by 10.107.5.210 with SMTP id 201mr3061291iof.88.1434540620069; Wed, 17 Jun 2015 04:30:20 -0700 (PDT) Original-Received: from moondust.localdomain.nodomain.none (blk-30-139-235.eastlink.ca. [96.30.139.235]) by mx.google.com with ESMTPSA id s28sm1057779ioi.31.2015.06.17.04.30.19 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Jun 2015 04:30:19 -0700 (PDT) In-Reply-To: <83fv5rm4sl.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 17 Jun 2015 05:45:14 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:104018 Archived-At: At 23:45 -0300 on Tuesday 2015-06-16, Eli Zaretskii wrote: > OK, thanks. I will install the change shortly, but just for more > confidence: is it true that all of these infloops happened when you > tried to scroll with bottom of the window near the end of the buffer? > That's the condition the patch attempts to fix. FWIW, for about half of the infloops, I attatched the debugger to check it was the same infloop because I wasn't convinced I'd triggered it the same way, and it was in that same loop (ending at line 15287 of xdisp.c). As for "near" the end of the buffer, yes, for some value of "near". That webpage has some text at the top and below that are images only. It turns out (I just checked with an even shorter window), that Eww/shr is displaying all of those images on the same line and that line is the last line of the buffer. The images get sized (by Eww/shr?) so that each of them fits within the window height and with the even shorter window I just tried (maybe four or five text lines high), they are sufficiently small that the entire line of them fits within the width of the window. But with the eleven-text-lines-high window that the webpage opens in from Gnus, the line of images is wider than the window so it is wrapped to two "lines" or rows in the window. The infloop always occurs when the window is showing the top row of images (and a little bit of the top of the tallest image in the second row), so (because the line of images is the last line of the buffer), yes, the infloop occurs when scrolling near the last line of the buffer; however it is not the last line of the window, but rather, more like half way up it, if that makes any sense. I hope that helps.