From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#43589: 27.1.50; Crash in Org mode buffer when moving point after using outline-hide-other when visual-line-mode and visual line numbers are enabled Date: Fri, 25 Sep 2020 11:57:36 +0300 Message-ID: <837dsiterj.fsf@gnu.org> References: <878scz2v85.fsf@polaris64.net> <83r1qrtdwz.fsf@gnu.org> <87d02bmbmi.fsf@polaris64.net> <83k0wjtan5.fsf@gnu.org> <87y2kzx73e.fsf@polaris64.net> <86blhueqxe.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35638"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 43589@debbugs.gnu.org To: Andy Moreton Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 25 10:58:16 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kLjYT-00097N-B9 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 25 Sep 2020 10:58:13 +0200 Original-Received: from localhost ([::1]:47088 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kLjYS-0004qe-EC for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 25 Sep 2020 04:58:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54290) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kLjYI-0004pB-LG for bug-gnu-emacs@gnu.org; Fri, 25 Sep 2020 04:58:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59291) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kLjYI-0006IJ-Bt for bug-gnu-emacs@gnu.org; Fri, 25 Sep 2020 04:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kLjYI-0005ud-BV for bug-gnu-emacs@gnu.org; Fri, 25 Sep 2020 04:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 25 Sep 2020 08:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43589 X-GNU-PR-Package: emacs Original-Received: via spool by 43589-submit@debbugs.gnu.org id=B43589.160102425422693 (code B ref 43589); Fri, 25 Sep 2020 08:58:02 +0000 Original-Received: (at 43589) by debbugs.gnu.org; 25 Sep 2020 08:57:34 +0000 Original-Received: from localhost ([127.0.0.1]:42604 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kLjXq-0005tx-6G for submit@debbugs.gnu.org; Fri, 25 Sep 2020 04:57:34 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:47392) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kLjXo-0005ti-CZ for 43589@debbugs.gnu.org; Fri, 25 Sep 2020 04:57:32 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:50004) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kLjXj-0006GN-2J; Fri, 25 Sep 2020 04:57:27 -0400 Original-Received: from [176.228.60.248] (port=2780 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kLjXh-0005yL-4H; Fri, 25 Sep 2020 04:57:26 -0400 In-Reply-To: <86blhueqxe.fsf@gmail.com> (message from Andy Moreton on Thu, 24 Sep 2020 23:43:57 +0100) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:188930 Archived-At: > From: Andy Moreton > Date: Thu, 24 Sep 2020 23:43:57 +0100 > > On Thu 24 Sep 2020, Simon Pugnet wrote: > > > 1. Execute: emacs -Q > > 2. In the scratch buffer that opens by default, activate Org mode: M-x > > org-mode > > 3. Type the following directly into the buffer (3 lines): - > > > > * Heading 1 > > ** Heading 1a > > ** Heading 1b > > > > 4. The point should now be after the "b" in "Heading 1b" > > 5. Evaluate (M-:) the following: (setq display-line-numbers-type 'visual) > > 6. Activate display-line-numbers-mode: M-x display-line-numbers-mode > > 7. Activate visual-line-mode: M-x visual-line-mode > > 8. Hide other outline headings: M-x outline-hide-other > > 9. Try to move the point to the previous line: C-p or previous-line > > > > If I perform these steps on Emacs 27.1 (GUI or text frame), and also the > > packaged version of Emacs 26.3 on Android (via the Termux app), I always get a > > segmentation fault. > > > > This happens in other Org mode buffers too, including those loaded directly > > from the file system. > > > > I hope that helps! > > With this recipe, I can reliably reproduce this on 64bit mingw64 on > Windows (built with -O2). Running this produces the message: Thanks, I installed a fix for this on the emacs-27 branch. Please try it.