From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Simon Pugnet 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: Thu, 24 Sep 2020 22:17:26 +0200 Message-ID: <87y2kzx73e.fsf@polaris64.net> References: <878scz2v85.fsf@polaris64.net> <83r1qrtdwz.fsf@gnu.org> <87d02bmbmi.fsf@polaris64.net> <83k0wjtan5.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16002"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.4.13; emacs 27.1 Cc: 43589@debbugs.gnu.org To: Daniel =?UTF-8?Q?Mart=C3=ADn?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 24 22:18:12 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 1kLXgy-00045C-6W for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 24 Sep 2020 22:18:12 +0200 Original-Received: from localhost ([::1]:49548 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kLXgx-0002Jd-4Z for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 24 Sep 2020 16:18:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33586) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kLXgp-0002I9-1Y for bug-gnu-emacs@gnu.org; Thu, 24 Sep 2020 16:18:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58557) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kLXgo-0004Zu-Nx for bug-gnu-emacs@gnu.org; Thu, 24 Sep 2020 16:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kLXgo-0002SL-Jr for bug-gnu-emacs@gnu.org; Thu, 24 Sep 2020 16:18:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Simon Pugnet Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Sep 2020 20:18: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.16009786659419 (code B ref 43589); Thu, 24 Sep 2020 20:18:02 +0000 Original-Received: (at 43589) by debbugs.gnu.org; 24 Sep 2020 20:17:45 +0000 Original-Received: from localhost ([127.0.0.1]:41870 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kLXgX-0002Rr-En for submit@debbugs.gnu.org; Thu, 24 Sep 2020 16:17:45 -0400 Original-Received: from mail-ej1-f49.google.com ([209.85.218.49]:38382) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kLXgV-0002Rd-OQ for 43589@debbugs.gnu.org; Thu, 24 Sep 2020 16:17:44 -0400 Original-Received: by mail-ej1-f49.google.com with SMTP id gx22so549857ejb.5 for <43589@debbugs.gnu.org>; Thu, 24 Sep 2020 13:17:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:references:user-agent:from:to:cc:subject:in-reply-to :message-id:date:mime-version; bh=dA77yO0rq367d9YCD8JkFg/RuW/uOieb5Uy4rZvH6Vg=; b=o8a/9a+BBTMUS7cDBZJUGuK48X7usJXEuE6l9A1HAHfxVnHZLtWyREUK1xS1WNrqjq 3TpxmkkVscbJFV4mBe/7SHqxZtWmrWfQvoTJldiWBaD5ritvY8IDuTN2CMgyakWZ2j6A d4lxHFsi7U8BeTgFSMRz+S136VqBGXnS+opqeHVHi2bNO+iKCftExpl9KRBlAMB9gvou jqB1UGhTakDuNi5naQZFIhW+84PT13DhjdrKfpSacsoP8HabnN/UNeL+qDu0a0KHBChx tBEbgyR5F/IrQBA2r3az0tT4wiZB++9srXqC97oarRoGxEjhV6JwC4fnY/xfS/EpfXjA w4Ww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:references:user-agent:from:to:cc:subject :in-reply-to:message-id:date:mime-version; bh=dA77yO0rq367d9YCD8JkFg/RuW/uOieb5Uy4rZvH6Vg=; b=Ly4kBZdVEIf8D9zhHpsW6PNLtgpr+f+4OMqiw2MZT+LqVC7FUZgyVA6/DaEBFX737S ddnXlBOkT9qcT8ceOuLsQjICJbEsSYMByoGq19G7nV4hg4h+yspl0uGwlkZ5rQBQsur9 XXI84ZPPVrguvsTOT+pK9t0CGWhxEc0Chqkzj5QwUMBc8ET28amP2u/3Vv2HFJitncE0 XhSxcaSkT/3Rv/YmE7tkWwMBrXEchG/eAm8o+JS1wEPAcvEOuvWwMftvttfzJNlW36uR AcuzNnrs5oiiK/vCAaY6RYDthgovteP+MXRgxlV5gZfwEcbE0kvIqVv8MeJbhOvds++e LKpQ== X-Gm-Message-State: AOAM530ln22fLXxwIUZbagQaSH9K1YhPT2hjOmTct3lb0j8/Un4TdB9c 8RNcB6DU1ZMPXH3Ve6oYJB1bM+kl/gY= X-Google-Smtp-Source: ABdhPJxpBm+++55Y5upfLWfu7sfFhBfyP+IgcmZoJOdG7GTenWlbSL4ULIV4lrUqydfPSVt+/bEg7Q== X-Received: by 2002:a17:906:a002:: with SMTP id p2mr311198ejy.399.1600978657647; Thu, 24 Sep 2020 13:17:37 -0700 (PDT) Original-Received: from luxor (13-132.dsl.iskon.hr. [89.164.13.132]) by smtp.gmail.com with ESMTPSA id oq8sm332426ejb.32.2020.09.24.13.17.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Sep 2020 13:17:36 -0700 (PDT) In-reply-to: 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:188906 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Daniel Mart=C3=ADn writes: > Simon, if you can reproduce the problem consistently, could you=20 > describe > in more detail the position of point at each step? Are you=20 > copying and > pasting the sample Org document? Perhaps those implicit=20 > assumptions are > making the problem harder to reproduce. Thanks. Hello Daniel and Eli, Here's a more detailed explanation of exactly what I'm dong to=20 cause this issue. 1. Execute: emacs -Q 2. In the scratch buffer that opens by default, activate Org mode:=20 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=20 'visual) 6. Activate display-line-numbers-mode: M-x=20 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=20 previous-line If I perform these steps on Emacs 27.1 (GUI or text frame), and=20 also the packaged version of Emacs 26.3 on Android (via the Termux=20 app), I always get a segmentation fault. This happens in other Org mode buffers too, including those loaded=20 directly from the file system. I hope that helps! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJIBAEBCAAyFiEEO/eF3hYsAMj7Tab9uhNZqCwLPvkFAl9s/tYUHHNpbW9uQHBv bGFyaXM2NC5uZXQACgkQuhNZqCwLPvnjmBAAoEhpMsQ8TqpyWYwNncPgUheyOZ9e 4yfwrCeUcpk5rTdi2equhVBr8kxEhNG0SXkBt5VEevy6asVd041r2pEb+zztvwqy 3xiofVqgXoih330miHmZo0crPT387Q4SBPCwShhPclYVj22zxZd2HQfYVfzJp2+T h/uvrO9m0b5xLV1QGfQVw8jZk9VktCMfpO6zM5mLVQB5RBBLQ7c4NFnbjxagu72V VUF+WIL7kAmMUIWe2Q7xV6siZlQm8KEyF3pIWVLKQFZCqml3pSm9PY+q47rbGWW6 +HCkKsCr1uN+Y0flcvg/xjqXvmwFxDxbKAeKnPBvKoLS0L4sXoIhovm4wan+NGEv 7pmNqHOzaDMO5UcHBaD+Sr6i9TkctRqcNSTSgVyRsKD+nDvfodLwb7SuFRxdQWQq 7YNsXczccwEeglCZaV9/LxCym6Wr5gHdm4PmoeOp31jAzpVe0ftNQe5lhSFBinpx Nn3lxab9yt/jJAIlarZKh/jRtALDOMYIbXF+nL4LPSm4e2nPpC+748e70kUwJ/M9 UgRIK9aZbe8iou1daypxJI6499o6D+/Bxtg2tPm4vGnMH3hK2yZxhG513XKTbbPP hHODCTCkXMwRAaLVhb+u/Aa/qaivoLLeAsb1JonASRg3vCa0XaFFpJqs1vLaoXQ0 N+CC3bk/2JE3CPs= =Mcb4 -----END PGP SIGNATURE----- --=-=-=--