From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alex Newsgroups: gmane.emacs.bugs Subject: bug#28710: 27.0.50; eassert failure in maybe_produce_line_number Date: Thu, 05 Oct 2017 17:51:41 -0600 Message-ID: <87bmllxieq.fsf@gmail.com> References: <8760buwnne.fsf@gmail.com> <83d162xahp.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1507247529 25790 195.159.176.226 (5 Oct 2017 23:52:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 5 Oct 2017 23:52:09 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 28710@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 06 01:52:05 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 1e0Fvv-00061l-N3 for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Oct 2017 01:52:03 +0200 Original-Received: from localhost ([::1]:42414 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e0Fw3-0002Ej-46 for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Oct 2017 19:52:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33674) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e0Fvx-0002Ee-1e for bug-gnu-emacs@gnu.org; Thu, 05 Oct 2017 19:52:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e0Fvu-0002ke-03 for bug-gnu-emacs@gnu.org; Thu, 05 Oct 2017 19:52:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43267) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e0Fvt-0002kU-Sb for bug-gnu-emacs@gnu.org; Thu, 05 Oct 2017 19:52:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e0Fvt-0005DL-JK for bug-gnu-emacs@gnu.org; Thu, 05 Oct 2017 19:52:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alex Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 Oct 2017 23:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28710 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28710-submit@debbugs.gnu.org id=B28710.150724751320026 (code B ref 28710); Thu, 05 Oct 2017 23:52:01 +0000 Original-Received: (at 28710) by debbugs.gnu.org; 5 Oct 2017 23:51:53 +0000 Original-Received: from localhost ([127.0.0.1]:51948 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0Fvl-0005Cv-Ed for submit@debbugs.gnu.org; Thu, 05 Oct 2017 19:51:53 -0400 Original-Received: from mail-io0-f174.google.com ([209.85.223.174]:46145) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0Fvj-0005Cf-Lr for 28710@debbugs.gnu.org; Thu, 05 Oct 2017 19:51:52 -0400 Original-Received: by mail-io0-f174.google.com with SMTP id 101so2493096ioj.3 for <28710@debbugs.gnu.org>; Thu, 05 Oct 2017 16:51:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=hdTrZ5/IwWt0OV2qduUs8b9qwToFplUQugAF173w/fU=; b=rLifCFJAXa3QrhYkmqJfvKAMT3DnmjA592e5mo9PXN41SzJRq2SYrNzMm0wAjD6eTj VEk3Ko6fRfytd1kKX3f5d4BAwdvJbIxEhG0JZQfIMJrT2Rjvudt19QcKhPI61JSSrHFR 2jVoOCMvFPyUpH5TdEiTOgGoVYALrNR2GnrfWQI/tIegjkLgeBDQK7iPh6QaxkZimUrv 1w3a44X5oyVFtCZbwZZElJHaa5YMe+xwe8op/vS9UJh2Sa+682w0eUIjnSAig/kDSyWW DPc6PETPeqEaG5ZIRSLAJN613VgrISp/c4s43BO3mOLMIMwjvvmsLzy4f49LbPz7pVYl gY2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=hdTrZ5/IwWt0OV2qduUs8b9qwToFplUQugAF173w/fU=; b=elptJ7oTO/pwNC8OBc8CYTO4CXe6H8gGsjAXevP0jEVQauXkMKCz0JNe/urolU/qjX FQbctuyBVk6vlS6Ol1sbS9PpgBaNzk+CeRIsO8I0JcwMnoQfjPZDJTxj9dbDWhStts41 xOsNT6Z2gI6GNtWXaQ8wV1fI2IOATSYZnziXaIvueIg9XwS/IJpZ7QCxiLkshQM1upJx xQGJ39sT83ju58qM/aXtM6p0//TP3sikh1dmzWK6LHCjY+jyZyAG79GvFs6hduTw0J/t KqwVc9cFbfceLbB5n/GOkzKK8FZX1rifCvgiqgq2M+BrBdECmZ88rogsKvEoBu2i2J+L 7twg== X-Gm-Message-State: AMCzsaWX6mQeRQccfnt8Eim6DnM0ZvhyOS0zmaR74Qvvmqt0CDHr7ZgV Y4SKZyzh0RIzzIdQcOP9VWKPKw== X-Google-Smtp-Source: AOwi7QAkKOOV8iD3L8MgDjVJjxbF5Q952dPMJyO9tsxRwvXJFLQfpDbqemJwWP1Zm8vzgXoPSGZFTQ== X-Received: by 10.107.47.220 with SMTP id v89mr383256iov.299.1507247504675; Thu, 05 Oct 2017 16:51:44 -0700 (PDT) Original-Received: from lylat (S010664777d9cebe3.ss.shawcable.net. [70.64.85.59]) by smtp.gmail.com with ESMTPSA id n12sm247897ita.11.2017.10.05.16.51.42 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 05 Oct 2017 16:51:43 -0700 (PDT) In-Reply-To: <83d162xahp.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 05 Oct 2017 11:30:26 +0300") 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:137990 Archived-At: Eli Zaretskii writes: >> From: Alex >> Date: Wed, 04 Oct 2017 16:31:33 -0600 >> >> 1. Open up a diff in magit (e.g., M-x magit-status then RET on the first >> line). >> 2. Press RET on an added line. >> 3. In the opened buffer, do M-: (setq display-line-numbers t) >> 4. C-x b RET >> 5. Press RET on the line again. > > It doesn't crash for me here. But since it's hardly repeatable for > you, I'm not surprised. What about using the below recipe? >> #2 0x00000000006233ad in die (msg=0x72ad60 "it->glyph_row == NULL || it->glyph_row->used[TEXT_AREA] == 0", file=0x726c3d "xdisp.c", line=21061) at alloc.c:7419 >> #3 0x0000000000483af6 in maybe_produce_line_number (it=0x7ffef1f01900) at xdisp.c:21061 > > If you go to frame #3, in maybe_produce_line_number, and type > > (gdb) pgrowx it->glyph_row > > what does that produce? (You will need to source src/.gdbinit for the > pgrowx command to work.) TEXT: 34 glyphs 0 0: CHAR[ ] pos=-1 blev=2,btyp=EN w=9 a+d=14+4 face=35 MB AVOID 1 9: CHAR[3] pos=-1 blev=2,btyp=EN w=9 a+d=14+4 face=35 MB AVOID 2 18: CHAR[1] pos=-1 blev=2,btyp=EN w=9 a+d=14+4 face=35 MB AVOID 3 27: CHAR[3] pos=-1 blev=2,btyp=EN w=9 a+d=14+4 face=35 MB AVOID 4 36: CHAR[0] pos=-1 blev=2,btyp=EN w=9 a+d=14+4 face=35 MB AVOID 5 45: CHAR[ ] pos=-1 blev=2,btyp=EN w=9 a+d=14+4 face=35 MB AVOID 6 54: CHAR[@] pos=123808 blev=0,btyp=L w=9 a+d=14+4 MB 7 63: CHAR[c] pos=123809 blev=0,btyp=L w=9 a+d=14+4 face=30 MB 8 72: CHAR[o] pos=123810 blev=0,btyp=L w=9 a+d=14+4 face=30 MB 9 81: CHAR[d] pos=123811 blev=0,btyp=L w=9 a+d=14+4 face=30 MB 10 90: CHAR[e] pos=123812 blev=0,btyp=L w=9 a+d=14+4 face=30 MB 11 99: CHAR[{] pos=123813 blev=0,btyp=L w=9 a+d=14+4 MB 12 108: CHAR[f] pos=123814 blev=0,btyp=L w=9 a+d=14+4 face=33 MB 13 117: CHAR[i] pos=123815 blev=0,btyp=L w=9 a+d=14+4 face=33 MB 14 126: CHAR[l] pos=123816 blev=0,btyp=L w=9 a+d=14+4 face=33 MB 15 135: CHAR[e] pos=123817 blev=0,btyp=L w=9 a+d=14+4 face=33 MB 16 144: CHAR[-] pos=123818 blev=0,btyp=L w=9 a+d=14+4 face=33 MB 17 153: CHAR[n] pos=123819 blev=0,btyp=L w=9 a+d=14+4 face=33 MB 18 162: CHAR[a] pos=123820 blev=0,btyp=L w=9 a+d=14+4 face=33 MB 19 171: CHAR[m] pos=123821 blev=0,btyp=L w=9 a+d=14+4 face=33 MB 20 180: CHAR[e] pos=123822 blev=0,btyp=L w=9 a+d=14+4 face=33 MB 21 189: CHAR[-] pos=123823 blev=0,btyp=L w=9 a+d=14+4 face=33 MB 22 198: CHAR[d] pos=123824 blev=0,btyp=L w=9 a+d=14+4 face=33 MB 23 207: CHAR[i] pos=123825 blev=0,btyp=L w=9 a+d=14+4 face=33 MB 24 216: CHAR[r] pos=123826 blev=0,btyp=L w=9 a+d=14+4 face=33 MB 25 225: CHAR[e] pos=123827 blev=0,btyp=L w=9 a+d=14+4 face=33 MB 26 234: CHAR[c] pos=123828 blev=0,btyp=L w=9 a+d=14+4 face=33 MB 27 243: CHAR[t] pos=123829 blev=0,btyp=L w=9 a+d=14+4 face=33 MB 28 252: CHAR[o] pos=123830 blev=0,btyp=L w=9 a+d=14+4 face=33 MB 29 261: CHAR[r] pos=123831 blev=0,btyp=L w=9 a+d=14+4 face=33 MB 30 270: CHAR[y] pos=123832 blev=0,btyp=L w=9 a+d=14+4 face=33 MB 31 279: CHAR[}] pos=123833 blev=0,btyp=L w=9 a+d=14+4 MB 32 288: CHAR[,] pos=123834 blev=0,btyp=L w=9 a+d=14+4 MB 33 297: CHAR[ ] pos=0 blev=0,btyp=B w=9 a+d=14+4 MB > Btw, your recipe didn't quite work for me: the first step failed when > I pressed RET "on the first line" of the buffer presented by "M-x > magit-status" in the current release branch tip. It said there was > nothing to show about that line. I needed to find a suitable line > further down in the buffer. Am I missing something here? Can you > specify precise steps, assuming I know nothing about using Magit? That's odd, since I believe unless there was a git error the first line should start with "Head:" and pressing RET on it shows the commit at HEAD. Maybe there's another situation where that's not the case. Anyway, this might be more consistent: 1. emacs -Q in a directory containing a git repository 2. M-x package-initialize if needed 2. M-x magit-show-commit RET RET (should default to master) This should bring up a *magit-revision buffer. 3. Move point to an added line (or any line in a hunk, under the @@ lines) and press RET 4. M-: (setq display-line-numbers t) 5. C-x b RET (should take you back to the *magit-revision buffer) 6. RET Just to specify a commit, try M-x magit-show-commit RET 92045f45 RET in an Emacs repo and press RET on the following line: +@code{file-symlink-p}, @code{file-system-info}