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 21:35:45 +0200 Organization: not if I can help it Message-ID: <87iniwku3y.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> <8760ewviyt.fsf@gmail.com> <83pod4gv0i.fsf@gnu.org> <87r2xkl246.fsf@gmail.com> <83mv88gqzi.fsf@gnu.org> <87mv88kxps.fsf@gmail.com> <83eftkgn06.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 1499974642 30332 195.159.176.226 (13 Jul 2017 19:37:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 13 Jul 2017 19:37:22 +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 21:37:16 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 1dVjv7-00076a-TO for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Jul 2017 21:37:06 +0200 Original-Received: from localhost ([::1]:33741 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVjvD-00043S-GG for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Jul 2017 15:37:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42636) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVjv7-00043M-S2 for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 15:37:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVjv4-0006Rh-M8 for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 15:37:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34701) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dVjv4-0006Rb-Hv for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 15:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dVjv4-0002T8-AX for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 15:37: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 19:37:02 +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.14999745759436 (code B ref -1); Thu, 13 Jul 2017 19:37:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 Jul 2017 19:36:15 +0000 Original-Received: from localhost ([127.0.0.1]:37378 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVjuI-0002S6-Vr for submit@debbugs.gnu.org; Thu, 13 Jul 2017 15:36:15 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51489) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVjuH-0002Rt-D2 for submit@debbugs.gnu.org; Thu, 13 Jul 2017 15:36:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVjuA-0005w8-N8 for submit@debbugs.gnu.org; Thu, 13 Jul 2017 15:36:08 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:38281) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dVjuA-0005vy-JR for submit@debbugs.gnu.org; Thu, 13 Jul 2017 15:36:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42437) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVju8-0003wa-Lu for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 15:36:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVju5-0005s8-HT for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 15:36:04 -0400 Original-Received: from [195.159.176.226] (port=50029 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dVju5-0005q9-9l for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 15:36:01 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dVjts-0003Ct-5X for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 21:35:48 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: bug-gnu-emacs@gnu.org Original-Lines: 111 Original-X-Complaints-To: usenet@blaine.gmane.org Mail-Copies-To: never Cancel-Lock: sha1:l/+BZs0e/4v6HgeF1fuD3O6A/Ro= 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:134520 Archived-At: Eli Zaretskii writes: >> From: Robert Pluim >> Date: Thu, 13 Jul 2017 20:17:51 +0200 >> >> (gdb) p it->glyph_row->used[TEXT_AREA] >> $1 = 66 >> >> (gdb) bt >> #0 terminate_due_to_signal (sig=sig@entry=6, backtrace_limit=backtrace_limit@entry=2147483647) at emacs.c:363 >> #1 0x00000000005a5084 in die (msg=msg@entry=0x6987d8 "pdl->kind == SPECPDL_BACKTRACE", file=file@entry=0x698448 "eval.c", line=line@entry=150) at alloc.c:7348 >> #2 0x0000000000419f3b in backtrace_function (pdl=) at eval.c:150 >> #3 >> #4 maybe_produce_line_number (it=it@entry=0x7fffffff8130) at xdisp.c:21010 >> #5 0x0000000000465365 in display_line (it=it@entry=0x7fffffff8130, cursor_vpos=cursor_vpos@entry=16) at xdisp.c:21225 >> #6 0x00000000004672bd in try_window (window=..., window@entry=XIL(0x146d7d5), pos=..., flags=flags@entry=1) at xdisp.c:17544 >> #7 0x000000000047f9ab in redisplay_window (window=XIL(0x146d7d5), just_this_one_p=just_this_one_p@entry=false) at xdisp.c:16991 >> #8 0x00000000004831fb in redisplay_window_0 (window=..., window@entry=XIL(0x146d7d5)) at xdisp.c:14751 > > Curiouser and curiouser... > > OK, in frame #5, the one in display_line, what do these produce: > > (gdb) p it->current > (gdb) pgrowx it->glyph_row (gdb) p it->current $2 = { pos = { charpos = 37180, bytepos = 37180 }, overlay_string_index = -1, string_pos = { charpos = -1, bytepos = -1 }, dpvec_index = -1 } (gdb) pgrowx it->glyph_row TEXT: 66 glyphs 0 0: CHAR[ ] pos=-1 blev=2,btyp=EN w=16 a+d=25+6 face=51 MB AVOID 1 16: CHAR[1] pos=-1 blev=2,btyp=EN w=16 a+d=25+6 face=51 MB AVOID 2 32: CHAR[2] pos=-1 blev=2,btyp=EN w=16 a+d=25+6 face=51 MB AVOID 3 48: CHAR[6] pos=-1 blev=2,btyp=EN w=16 a+d=25+6 face=51 MB AVOID 4 64: CHAR[1] pos=-1 blev=2,btyp=EN w=16 a+d=25+6 face=51 MB AVOID 5 80: CHAR[ ] pos=-1 blev=2,btyp=EN w=16 a+d=25+6 face=51 MB AVOID 6 96: CHAR[ ] pos=37180 blev=0,btyp=L w=16 a+d=25+6 MB 7 112: CHAR[ ] pos=37181 blev=0,btyp=L w=16 a+d=25+6 MB 8 128: CHAR[ ] pos=37182 blev=0,btyp=L w=16 a+d=25+6 MB 9 144: CHAR[ ] pos=37183 blev=0,btyp=L w=16 a+d=25+6 MB 10 160: CHAR[ ] pos=37184 blev=0,btyp=L w=16 a+d=25+6 MB 11 176: CHAR[ ] pos=37185 blev=0,btyp=L w=16 a+d=25+6 MB 12 192: CHAR[/] pos=37186 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 13 208: CHAR[*] pos=37187 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 14 224: CHAR[ ] pos=37188 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 15 240: CHAR[A] pos=37189 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 16 256: CHAR[d] pos=37190 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 17 272: CHAR[j] pos=37191 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 18 288: CHAR[u] pos=37192 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 19 304: CHAR[s] pos=37193 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 20 320: CHAR[t] pos=37194 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 21 336: CHAR[ ] pos=37195 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 22 352: CHAR[c] pos=37196 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 23 368: CHAR[o] pos=37197 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 24 384: CHAR[o] pos=37198 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 25 400: CHAR[r] pos=37199 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 26 416: CHAR[d] pos=37200 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 27 432: CHAR[i] pos=37201 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 28 448: CHAR[n] pos=37202 blev=0,btyp=L w=16 a+d=25+6 face=50 MB ---Type to continue, or q to quit--- 29 464: CHAR[a] pos=37203 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 30 480: CHAR[t] pos=37204 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 31 496: CHAR[e] pos=37205 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 32 512: CHAR[s] pos=37206 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 33 528: CHAR[ ] pos=37207 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 34 544: CHAR[t] pos=37208 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 35 560: CHAR[o] pos=37209 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 36 576: CHAR[ ] pos=37210 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 37 592: CHAR[b] pos=37211 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 38 608: CHAR[e] pos=37212 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 39 624: CHAR[ ] pos=37213 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 40 640: CHAR[r] pos=37214 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 41 656: CHAR[o] pos=37215 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 42 672: CHAR[o] pos=37216 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 43 688: CHAR[t] pos=37217 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 44 704: CHAR[-] pos=37218 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 45 720: CHAR[w] pos=37219 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 46 736: CHAR[i] pos=37220 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 47 752: CHAR[n] pos=37221 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 48 768: CHAR[d] pos=37222 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 49 784: CHAR[o] pos=37223 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 50 800: CHAR[w] pos=37224 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 51 816: CHAR[-] pos=37225 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 52 832: CHAR[r] pos=37226 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 53 848: CHAR[e] pos=37227 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 54 864: CHAR[l] pos=37228 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 55 880: CHAR[a] pos=37229 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 56 896: CHAR[t] pos=37230 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 57 912: CHAR[i] pos=37231 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 58 928: CHAR[v] pos=37232 blev=0,btyp=L w=16 a+d=25+6 face=50 MB ---Type to continue, or q to quit--- 59 944: CHAR[e] pos=37233 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 60 960: CHAR[.] pos=37234 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 61 976: CHAR[ ] pos=37235 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 62 992: CHAR[ ] pos=37236 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 63 1008: CHAR[*] pos=37237 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 64 1024: CHAR[/] pos=37238 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 65 1040: CHAR[ ] pos=0 blev=0,btyp=B w=16 a+d=25+6 MB (gdb)