From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#27668: 26.0.50; Crash with display-line-numbers t Date: Thu, 13 Jul 2017 10:28:42 +0200 Organization: not if I can help it Message-ID: <8760ewviyt.fsf@gmail.com> References: <87k23d7ovv.fsf@gmail.com> <83inixiv0m.fsf@gnu.org> <877ezd7luq.fsf@gmail.com> <83bmopitky.fsf@gnu.org> <87vamx65x0.fsf@gmail.com> <837ezdiq3z.fsf@gnu.org> <871spl5x5h.fsf@gmail.com> <834luhiinr.fsf@gnu.org> Reply-To: bug-gnu-emacs@gnu.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1499934612 30458 195.159.176.226 (13 Jul 2017 08:30:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 13 Jul 2017 08:30:12 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) To: 27668@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 13 10:30:08 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVZVg-0007fv-2M for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Jul 2017 10:30:08 +0200 Original-Received: from localhost ([::1]:57912 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVZVl-0007cA-JU for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Jul 2017 04:30:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57643) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVZVe-0007aq-9e for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 04:30:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVZVa-0004iS-Bg for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 04:30:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33512) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dVZVa-0004iM-8q for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 04:30:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dVZVa-0008BX-34 for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 04:30:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <87k23d7ovv.fsf@gmail.com> Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Jul 2017 08:30:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27668 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.149993455031378 (code B ref -1); Thu, 13 Jul 2017 08:30:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 Jul 2017 08:29:10 +0000 Original-Received: from localhost ([127.0.0.1]:36189 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVZUj-0008A1-OD for submit@debbugs.gnu.org; Thu, 13 Jul 2017 04:29:09 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38297) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVZUh-00089n-RZ for submit@debbugs.gnu.org; Thu, 13 Jul 2017 04:29:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVZUb-0004Ly-M5 for submit@debbugs.gnu.org; Thu, 13 Jul 2017 04:29:02 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:41876) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dVZUb-0004Lp-Iw for submit@debbugs.gnu.org; Thu, 13 Jul 2017 04:29:01 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57499) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVZUa-0007Xz-AD for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 04:29:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVZUW-0004Jt-BI for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 04:29:00 -0400 Original-Received: from [195.159.176.226] (port=45733 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dVZUW-0004JP-3z for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 04:28:56 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dVZUL-0003vI-FV for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 10:28:45 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: bug-gnu-emacs@gnu.org Original-Lines: 36 Original-X-Complaints-To: usenet@blaine.gmane.org Mail-Copies-To: never Cancel-Lock: sha1:mrfn6G+q+7Idmu9Fxy+JugrB9uA= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:134501 Archived-At: Eli Zaretskii writes: >> From: Robert Pluim >> Date: Wed, 12 Jul 2017 20:26:50 +0200 >> >> 125 2000: CHAR[r] pos=9542 blev=0,btyp=L w=16 a+d=25+6 face=28 MB >> 126 2016: CHAR[e] pos=9543 blev=0,btyp=L w=16 a+d=25+6 face=28 MB >> 127 2032: CHAR[s] pos=9544 blev=0,btyp=L w=16 a+d=25+6 face=28 MB >> 128 2048: CHAR[e] pos=9545 blev=0,btyp=L w=16 a+d=25+6 face=28 MB >> 129 2064: CHAR[n] pos=9546 blev=0,btyp=L w=16 a+d=25+6 face=28 MB >> 130 2080: CHAR[t] pos=9547 blev=0,btyp=L w=16 a+d=25+6 face=28 MB >> 131 2096: CHAR[e] pos=9548 blev=0,btyp=L w=16 a+d=25+6 face=28 MB >> 132 2112: CHAR[d] pos=9549 blev=0,btyp=L w=16 a+d=25+6 face=28 MB >> 133 2128: CHAR[ ] pos=0 blev=0,btyp=B w=16 a+d=25+6 face=28 MB >> >> Hmm. Is it normal for the text on that line to be shown twice here? > > No, of course not. Everything beyond the first glyph whose pos is > zero (that's the glyph that stands for the newline, it is there so we > could put the cursor at EOL) shouldn't be there. > >> The crash is always in compute_line_metrics. I'll continue to run >> under gdb, and see if I can find a recipe. > > If it's always in compute_line_metrics, then please see if the value > of row->used[1] is always about twice the correct one. If it is, > perhaps we will be able to come up with a breakpoint or watchpoint > condition that will catch the code which is responsible. It's always approximately twice the correct one. In the two cases I have so far it's 67:138 and 47:98. That's a ratio of n:(2n + 4) in both cases. Regards Robert