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 16:35:01 +0100 Message-ID: <87d02bmbmi.fsf@polaris64.net> References: <878scz2v85.fsf@polaris64.net> <83r1qrtdwz.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="25834"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.2.0; emacs 27.1.50 Cc: 43589@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 24 18:37:34 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 1kLUFS-0006bi-4J for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 24 Sep 2020 18:37:34 +0200 Original-Received: from localhost ([::1]:47038 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kLUFR-0005SQ-66 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 24 Sep 2020 12:37:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51152) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kLTHw-0006Im-VE for bug-gnu-emacs@gnu.org; Thu, 24 Sep 2020 11:36:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58053) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kLTHv-0006ye-4I for bug-gnu-emacs@gnu.org; Thu, 24 Sep 2020 11:36:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kLTHv-00087K-1i for bug-gnu-emacs@gnu.org; Thu, 24 Sep 2020 11:36:03 -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 15:36: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.160096171231090 (code B ref 43589); Thu, 24 Sep 2020 15:36:02 +0000 Original-Received: (at 43589) by debbugs.gnu.org; 24 Sep 2020 15:35:12 +0000 Original-Received: from localhost ([127.0.0.1]:41357 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kLTH5-00085O-Vg for submit@debbugs.gnu.org; Thu, 24 Sep 2020 11:35:12 -0400 Original-Received: from mail-wm1-f52.google.com ([209.85.128.52]:35558) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kLTH4-000858-Dp for 43589@debbugs.gnu.org; Thu, 24 Sep 2020 11:35:10 -0400 Original-Received: by mail-wm1-f52.google.com with SMTP id y15so4076235wmi.0 for <43589@debbugs.gnu.org>; Thu, 24 Sep 2020 08:35:10 -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:date :message-id:mime-version; bh=nxhUjYEXHmbjLWAbrOX86j8JQ2AeyM8s1EoknMrVOk0=; b=Kwfa8PQ8Qh61UJFivKAB7mQpBCC9J+HdO90zqhJgHPFzyqqHeVbDZzgEpasn9LORfq gCsbsdGxQNGVlGqQayPzwNvdCAigKzIknp6DRar5XESAhmVZyXieANCUx49pXfeWz43R nzrs1V36uRD9dFFQvQWiLZlH37QjgUL2IpbDHuMORc5Br2Vshn8LAo8DLlqxS+6U7dJJ CHpZUKGEPaGwoalGeRJu3nIkeSO7VU7iH2RYvWOJQIrUHw9B3aCG2aZ+9sdzO/0i9xn3 3c3uc5FTN0gT1wNmjGykrDQl90+4c96ETFAjJ+FRGhiYmjfbTaVI8mQLIjxl1FmBDIji XTAg== 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:date:message-id:mime-version; bh=nxhUjYEXHmbjLWAbrOX86j8JQ2AeyM8s1EoknMrVOk0=; b=Kx8AmESqE9krvlxxxoghQUns1PKfKt0o4RAxlXmsymKOMBximxhLjIJR7TRYrpaFHn m222tEXvzuCeVxPb0cI8S1qFIKbS/IJVBRzn9/BAyJFAShKE3XKmep/wEuTRMd7crEBY Hp/dooEkV+uDYv32LyK2r9L4USKpYjQ+LstOXvXlo+wJ8V5xb3hqkU8Fv/McSyDCwryH V/HTXlQmt3KNSTtv58Rsb8F8VH+1Min+4lSbswq4oyVaw5mIGr7+LQE2+hB8WhkkIlc/ oaN1/3+ckaaevGzlvuxz8qBx7UZ8ndD2ngq5WGCTW4GACTw13uH+IZAp70haChmFWjkY 9E/Q== X-Gm-Message-State: AOAM531hhJaleswMA60+fEdXxL+wvvsBEQuTUBpN6wZdmeQwU9CwPtcF LrEyHPc+SR3Dvm+SZVPpDlQ87gYHCpE= X-Google-Smtp-Source: ABdhPJwSXG1yQqHwuBA03aKQFFbqrZg7xWzaxU0v3fqrbrStPipEsIcGhUoZqLMH57agWzTqg3FW9A== X-Received: by 2002:a1c:9ecb:: with SMTP id h194mr5265486wme.140.1600961704147; Thu, 24 Sep 2020 08:35:04 -0700 (PDT) Original-Received: from karnak (13-132.dsl.iskon.hr. [89.164.13.132]) by smtp.gmail.com with ESMTPSA id b18sm4360153wrn.21.2020.09.24.08.35.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Sep 2020 08:35:03 -0700 (PDT) In-reply-to: <83r1qrtdwz.fsf@gnu.org> 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:188878 Archived-At: --=-=-= Content-Type: text/plain; format=flowed Eli Zaretskii writes: > > This sounds like infinite recursion that causes stack overflow. > Not > sure why it happens in your case but not in mine. Are you > trying this > on a GUI frame or a TTY frame? (I tried both, but couldn't > reproduce > on either.) Hello Eli, Thanks for your reply. I tried it originally in a GUI frame but I just tried the same procedure again using ~emacs -Q -nw~ and I got the same results. Here's the partial GDB back-trace: - #0 0x00005555555d1b39 in move_it_in_display_line_to (it=it@entry=0x7fffff6734f0, to_charpos=to_charpos@entry=171, to_x=to_x@entry=-1, op=op@entry=MOVE_TO_POS) at xdisp.c:9009 #1 0x00005555555d6bbd in move_it_to (it=0x7fffff6734f0, to_charpos=171, to_x=, to_y=, to_vpos=, op=8) at xdisp.c:9889 #2 0x00005555555d0e92 in start_display (it=it@entry=0x7fffff6734f0, w=0x555555c366a0, pos=...) at xdisp.c:6866 #3 0x00005555555d1a50 in display_count_lines_visually (it=0x7fffff67bc80) at xdisp.c:22685 #4 maybe_produce_line_number (it=it@entry=0x7fffff67bc80) at xdisp.c:22729 (...repeats...) #1438 0x00005555555d1a50 in display_count_lines_visually (it=0x7fffffffb6b0) at xdisp.c:22685 #1439 maybe_produce_line_number (it=it@entry=0x7fffffffb6b0) at xdisp.c:22729 #1440 0x00005555555d2e11 in move_it_in_display_line_to (it=it@entry=0x7fffffffb6b0, to_charpos=to_charpos@entry=171, to_x=to_x@entry=-1, op=op@entry=MOVE_TO_POS) at xdisp.c:9079 #1441 0x00005555555d6bbd in move_it_to (it=0x7fffffffb6b0, to_charpos=171, to_x=, to_y=, to_vpos=, op=8) at xdisp.c:9889 #1442 0x00005555555d0e92 in start_display (it=it@entry=0x7fffffffb6b0, w=w@entry=0x555555c366a0, pos=...) at xdisp.c:6866 #1443 0x00005555555d7af4 in Fline_pixel_height () at xdisp.c:1422 #1444 0x00005555556fdae3 in Ffuncall (nargs=1, args=args@entry=0x7fffffffca80) at lisp.h:2110 #1445 0x00005555557342cc in exec_byte_code (bytestr=, vector=, maxdepth=, args_template=, nargs=, args=) at bytecode.c:633 #1446 0x00005555556fda47 in Ffuncall (nargs=5, args=args@entry=0x7fffffffce58) at eval.c:2809 #1447 0x00005555557342cc in exec_byte_code (bytestr=, vector=, maxdepth=, args_template=, nargs=, args=) at bytecode.c:633 #1448 0x00005555556fda47 in Ffuncall (nargs=nargs@entry=3, args=args@entry=0x7fffffffd218) at eval.c:2809 #1449 0x00005555556fa295 in Ffuncall_interactively (nargs=3, args=0x7fffffffd218) at callint.c:254 #1450 0x00005555556fdae3 in Ffuncall (nargs=nargs@entry=4, args=args@entry=0x7fffffffd210) at lisp.h:2110 #1451 0x00005555556fb676 in Fcall_interactively (function=, record_flag=, keys=) at callint.c:783 #1452 0x00005555556fdae3 in Ffuncall (nargs=4, args=args@entry=0x7fffffffd448) at lisp.h:2110 #1453 0x00005555557342cc in exec_byte_code (bytestr=, vector=, maxdepth=, args_template=, nargs=, args=) at bytecode.c:633 #1454 0x00005555556fda47 in Ffuncall (nargs=2, args=0x7fffffffd7f0) at eval.c:2809 #1455 0x00005555556fdbce in call1 (fn=fn@entry=0x4380, arg1=) at eval.c:2655 #1456 0x00005555556937e8 in command_loop_1 () at lisp.h:1033 #1457 0x00005555556fcd17 in internal_condition_case (bfun=bfun@entry=0x5555556933f0 , handlers=handlers@entry=0x90, hfun=hfun@entry=0x55555568a0f0 ) at eval.c:1356 #1458 0x0000555555684bb4 in command_loop_2 (ignore=ignore@entry=0x0) at lisp.h:1033 #1459 0x00005555556fcc59 in internal_catch (tag=tag@entry=0xd5c0, func=func@entry=0x555555684b90 , arg=arg@entry=0x0) at eval.c:1117 #1460 0x0000555555684b53 in command_loop () at lisp.h:1033 #1461 0x0000555555689cfa in recursive_edit_1 () at keyboard.c:714 #1462 0x000055555568a036 in Frecursive_edit () at keyboard.c:786 #1463 0x00005555555a69b7 in main (argc=3, argv=) at emacs.c:2066 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJIBAEBCAAyFiEEO/eF3hYsAMj7Tab9uhNZqCwLPvkFAl9svKUUHHNpbW9uQHBv bGFyaXM2NC5uZXQACgkQuhNZqCwLPvk3lg/9Fuh1Wy1UOjyBBB/WIeuWhPtjfsel qBerXWKNqDUEdxp2fMjCa60UFmOiTUaz0p7IXmx8mAGFtBqRvqG8aL42PVd+0yPT jK3LqJYxnKwMpC9kl2YAgOCMQ7QyDcAXZhswROikTqQn3yEq5qioclSbnRnkRtrf 7TKw/VHiSx29pmFuzPhoQxdOniiSvukYqIewEBkVpku362CMFHRoUy4Z0puU6mkY DeNcJ7zLXYs2t7tsii0ZWHeyS062BOuR337IhpGThwYF922l/PCkXDVWC1710uud yMI9hDGRL7nWUtBlYAHBBSz2eOSxY3xBKCKGIDpjC94yuLnPBxiPUXVRLJEDML7G gvDJqHSPPG6uVqVBOKTBjj803yJVJuaNt6DqebutWJ+u1OUzeKe5OHJ1Fdw5UX8+ 9SjqQiKZXWHpVG/duwM4/Na8cNl374S6MahbTDZweiAtUp5CqTwF7H63f+AT+juv 1TfLnbwH3eVWOOtfxXqHyw8DvFVISl9Qd7COWFXZOl5cAGBNp7ZrzcpGMmnGsfEC +G/TSpv+JEc+ZRVbiRVs4BnTy57yxswYJTk+t/4jbhFUl5tWTQ1B8ACX2KOxv0N7 c+Qlt4R0Z+F3AeiI8pcy46Nm6sdKWwDnG/FNjE8IaufJ1wcWrjISVhJIIr+JegsZ S8oXA4r+Jd3N/Ig= =gNpK -----END PGP SIGNATURE----- --=-=-=--