From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#16049: 24.3.50; xdisp.c infloop on Mac OS X 10.9 Date: Sat, 7 Dec 2013 15:26:46 +0100 Message-ID: References: <529F3E96.1070904@gmx.at> <3E956BE9-9DFC-4156-AE93-53DBD06FECC5@swipnet.se> <529F6F2A.6070904@gmx.at> <52A0248B.7030805@gmx.at> <89B5C332-6027-4395-BB1F-0A6FA17C430F@swipnet.se> <83eh5r2m9h.fsf@gnu.org> <9DC79E5A-5D6E-46C0-A349-C8CD803C5513@swipnet.se> <837gbj2gp0.fsf@gnu.org> <04BC6316-338E-4025-A9CC-006F576051C1@swipnet.se> <52A21DF3.6040709@gmx.at> <96DEDC77-CEB4-4226-9362-9F9CFD198945@swipnet.se> <83zjodyqa9.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1822\)) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1386426500 3680 80.91.229.3 (7 Dec 2013 14:28:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 7 Dec 2013 14:28:20 +0000 (UTC) Cc: Jules Colding , 16049-done@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 07 15:28:24 2013 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 1VpIrm-0004pw-WD for geb-bug-gnu-emacs@m.gmane.org; Sat, 07 Dec 2013 15:28:23 +0100 Original-Received: from localhost ([::1]:35981 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VpIrm-0004aZ-Do for geb-bug-gnu-emacs@m.gmane.org; Sat, 07 Dec 2013 09:28:22 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38348) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VpIrf-0004ZN-BZ for bug-gnu-emacs@gnu.org; Sat, 07 Dec 2013 09:28:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VpIrW-0003gO-J9 for bug-gnu-emacs@gnu.org; Sat, 07 Dec 2013 09:28:15 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50122) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VpIrW-0003gB-FU for bug-gnu-emacs@gnu.org; Sat, 07 Dec 2013 09:28:06 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VpIrV-0001on-7R for bug-gnu-emacs@gnu.org; Sat, 07 Dec 2013 09:28:05 -0500 Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 07 Dec 2013 14:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 16049 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 16049@debbugs.gnu.org, jan.h.d@swipnet.se, colding@venalicium.dk Original-Received: via spool by 16049-done@debbugs.gnu.org id=D16049.13864264246907 (code D ref 16049); Sat, 07 Dec 2013 14:28:02 +0000 Original-Received: (at 16049-done) by debbugs.gnu.org; 7 Dec 2013 14:27:04 +0000 Original-Received: from localhost ([127.0.0.1]:35905 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VpIqU-0001nJ-Kj for submit@debbugs.gnu.org; Sat, 07 Dec 2013 09:27:03 -0500 Original-Received: from mailfe08.swip.net ([212.247.154.225]:47873 helo=swip.net) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VpIqH-0001mr-Sc for 16049-done@debbugs.gnu.org; Sat, 07 Dec 2013 09:26:58 -0500 X-T2-Spam-Status: No, hits=0.0 required=5.0 Original-Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe08.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 459982410; Sat, 07 Dec 2013 15:26:48 +0100 In-Reply-To: <83zjodyqa9.fsf@gnu.org> X-Mailer: Apple Mail (2.1822) 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:81593 Archived-At: Hello. 7 dec 2013 kl. 10:16 skrev Eli Zaretskii : >> From: Jan Dj=E4rv >> Date: Sat, 7 Dec 2013 09:25:29 +0100 >> Cc: Eli Zaretskii , >> Jules Colding , >> 16049@debbugs.gnu.org >>=20 >> Next problem, infloop in move_it_vertically_backward, xdisp.c >>=20 >> It just keeps going back to move_further_back: but no values are = actually changed in the code inbetween. I don't know whats bad here, = values looks fine to me. window_box_height is called >> and returns 490, which is the pixel size. >>=20 >> Backtrace: >=20 > Here's one sign of the trouble: >=20 >> nchars_per_row =3D 0 >=20 > This is the number of canonical-width characters that fit in a full > screen line, which obviously cannot be zero. It is computed at the > beginning of move_it_vertically_backward like this: >=20 > int nchars_per_row > =3D (it->last_visible_x - it->first_visible_x) / FRAME_COLUMN_WIDTH = (it->f); >=20 > So now we look for the values of it->last_visible_x and > it->first_visible_x. The contents of it are not available in "bt > full", but there are locals it2 and it3, which use copies of the same > metrics. And here we find this: >=20 > first_visible_x =3D 2147483643,=20 > last_visible_x =3D 2147483642,=20 >=20 > which is obviously bogus, since those are supposed to be the pixel > coordinates of the first screen-line pixel shown at the left edge of > the window (usually zero, but can be positive when lines are truncated > and the window is hscrolled), and of the last screen-line pixel shown > at the right edge. There was a mixup with pixels and columns. I think I fixed this now, but = I will have to adjust for GNUStep. But I'm closing this bug. Thanks Eli and Martin for all the help. Jan D.