unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Andy Moreton <andrewjmoreton@gmail.com>
Cc: 43589@debbugs.gnu.org
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	[thread overview]
Message-ID: <837dsiterj.fsf@gnu.org> (raw)
In-Reply-To: <86blhueqxe.fsf@gmail.com> (message from Andy Moreton on Thu, 24 Sep 2020 23:43:57 +0100)

> From: Andy Moreton <andrewjmoreton@gmail.com>
> 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.





  reply	other threads:[~2020-09-25  8:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-24 12:51 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 Simon Pugnet
2020-09-24 15:03 ` Eli Zaretskii
2020-09-24 15:35   ` Simon Pugnet
2020-09-24 16:14     ` Eli Zaretskii
2020-09-24 18:11       ` Unknown
2020-09-24 20:17         ` Simon Pugnet
2020-09-24 22:43           ` Andy Moreton
2020-09-25  8:57             ` Eli Zaretskii [this message]
2020-09-25 10:00               ` Simon Pugnet
2020-09-25 11:01                 ` Eli Zaretskii
2020-09-24 15:48   ` Simon Pugnet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=837dsiterj.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=43589@debbugs.gnu.org \
    --cc=andrewjmoreton@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).