From unknown Fri Aug 15 03:37:42 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#43589 <43589@debbugs.gnu.org> To: bug#43589 <43589@debbugs.gnu.org> Subject: Status: 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 Reply-To: bug#43589 <43589@debbugs.gnu.org> Date: Fri, 15 Aug 2025 10:37:42 +0000 retitle 43589 27.1.50; Crash in Org mode buffer when moving point after usi= ng outline-hide-other when visual-line-mode and visual line numbers are ena= bled reassign 43589 emacs submitter 43589 Simon Pugnet severity 43589 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 24 08:52:11 2020 Received: (at submit) by debbugs.gnu.org; 24 Sep 2020 12:52:12 +0000 Received: from localhost ([127.0.0.1]:38899 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kLQjL-0007YP-E7 for submit@debbugs.gnu.org; Thu, 24 Sep 2020 08:52:11 -0400 Received: from lists.gnu.org ([209.51.188.17]:39980) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kLQjI-0007YH-R9 for submit@debbugs.gnu.org; Thu, 24 Sep 2020 08:52:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60558) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kLQjH-00041u-5h for bug-gnu-emacs@gnu.org; Thu, 24 Sep 2020 08:52:08 -0400 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:36110) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kLQjF-0007O3-4r for bug-gnu-emacs@gnu.org; Thu, 24 Sep 2020 08:52:06 -0400 Received: by mail-wr1-x434.google.com with SMTP id z1so3704974wrt.3 for ; Thu, 24 Sep 2020 05:52:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:user-agent:from:to:subject:date:message-id:mime-version; bh=+UkjCLdfUpm6CbRStGB8d7BBgx92OuDMErJBD+1uKpU=; b=m5PxkDL0yfWxcDAwu9HD71P8fE+71b5adRM0Hp+WA509mJxWbKCaPPHd6935n+8p23 YnHZGyHYPo1QdDu8hwSrzbGKYz5cVbTc1MZ6hn2/1XH5TlyUo8OwfxceKjMQkMZcBnWi a3xBP/EoWiWN/V7kZIwOmYg2b8De0wZGoZ2fJBxVGdK3OkF2sJ7MqZ9etnM0zf9D3gU0 9T205pES/lYawki9X2NFE/9vNJ+9rL995GvuHNG9piyEaxwX70kFajBG4QRoNcLnjkPe f0TpLH/QStC7B1qBq+DtwtrUoJuJx9+Jj/Uuxdfe9uRnSWni6a5wuaq2Zqf3ohbP2aYg vC/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:user-agent:from:to:subject:date :message-id:mime-version; bh=+UkjCLdfUpm6CbRStGB8d7BBgx92OuDMErJBD+1uKpU=; b=V5VAJS/9pfRC2/tqrQ072gBKFcQle39UayFhwu2/5wQ4Jf3Wz6q/U9EPCHKVHLU754 Qfgd/7G9WDWBjzdHGpbpvyuWBTNUKjgeny06ZfGrhKedYlphF+04BC53NkzkM4QrLX0a VXbjNX9TFqO5Z3A60VlAZwWf7VZFsyuwLjwKyy9EwM6pe9mZvHIImurdYpLvjJyH/pKm MCwnr4oWp0ltihpJbNoC+JJlnTfHkAOzenfYwBGawUCpHj7C8rjr0Bt4WRRPZLP7c27j Y7ZajdJt/y0oXenulXwHS0jdk4b9z6C8dX5USxgypSBZx6DVcHQTVF4jetfGxF/AwGk4 gJwA== X-Gm-Message-State: AOAM5307LMkJXBkAHbVlG8nuJSyHUjR1jYryXf7wB6t25eIy5BFdEgsA 2NVJju4192JIhVeB7u5Q3fyw3R3vnGGFfQ== X-Google-Smtp-Source: ABdhPJwi+rOiqPgigDcRwkCYpJfTbV5dj/A0VCcFr1dSYR8RE6Vqy9rKpFYKpMte0Ga4OJN5WOaebg== X-Received: by 2002:adf:dd0b:: with SMTP id a11mr4840134wrm.422.1600951922608; Thu, 24 Sep 2020 05:52:02 -0700 (PDT) Received: from karnak (13-132.dsl.iskon.hr. [89.164.13.132]) by smtp.gmail.com with ESMTPSA id u8sm3205002wmj.45.2020.09.24.05.52.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Sep 2020 05:52:01 -0700 (PDT) User-agent: mu4e 1.2.0; emacs 27.1.50 From: Simon Pugnet To: bug-gnu-emacs@gnu.org Subject: 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 13:51:54 +0100 Message-ID: <878scz2v85.fsf@polaris64.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=simon.pugnet@gmail.com; helo=mail-wr1-x434.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.248, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) --=-=-= Content-Type: text/plain; format=flowed Emacs can be made to crash with a segmentation fault on Linux when navigating an Org mode buffer after hiding headlines with ~outline-hide-other~. This only happens when ~visual-line-mode~ and ~display-line-numbers-mode~ are active and ~display-line-numbers-type~ is set to ~'visual~. This bug can be replicated on a build from the current HEAD of emacs-27 (395f10cb98af122404bcdc2eb60d30decf297625) as well as the current HEAD of master (de54cd6f0edb3619777c17fe75560c5c84fed8a4). This bug report was produced from a version compiled from 395f10cb98af122404bcdc2eb60d30decf297625. Steps to reproduce: - 1. Launch ~emacs -Q~ 2. Enable "visual" line numbers (~(setq display-line-numbers-type 'visual)~) 3. Create an Org mode buffer with the following content: - * Heading 1 ** Heading 1a ** Heading 1b 4. Enable ~display-line-numbers-mode~ 5. Enable ~visual-line-mode~ 6. Move the point anywhere on the line with "Heading 1b" 7. Call ~outline-hide-other~ 8. Call ~previous-line~ (via keybinding or directly) Emacs then crashes with SIGSEGV. Debugging emacs in GDB while doing this seems to show a loop as follows: - Thread 1 "emacs" received signal SIGSEGV, Segmentation fault. 0x00005555555d1b39 in move_it_in_display_line_to (it=it@entry=0x7fffff6734e0, to_charpos=to_charpos@entry=171, to_x=to_x@entry=-1, op=op@entry=MOVE_TO_POS) at xdisp.c:9009 9009 { (gdb) bt #0 0x00005555555d1b39 in move_it_in_display_line_to (it=it@entry=0x7fffff6734e0, 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=0x7fffff6734e0, to_charpos=171, to_x=, to_y=, to_vpos=, op=8) at xdisp.c:9889 #2 0x00005555555d0e92 in start_display (it=it@entry=0x7fffff6734e0, w=0x555555eeffa0, pos=...) at xdisp.c:6866 #3 0x00005555555d1a50 in display_count_lines_visually (it=0x7fffff67bc70) at xdisp.c:22685 #4 maybe_produce_line_number (it=it@entry=0x7fffff67bc70) at xdisp.c:22729 #5 0x00005555555d2e11 in move_it_in_display_line_to (it=it@entry=0x7fffff67bc70, to_charpos=to_charpos@entry=171, to_x=to_x@entry=-1, op=op@entry=MOVE_TO_POS) at xdisp.c:9079 #6 0x00005555555d6bbd in move_it_to (it=0x7fffff67bc70, to_charpos=171, to_x=, to_y=, to_vpos=, op=8) at xdisp.c:9889 #7 0x00005555555d0e92 in start_display (it=it@entry=0x7fffff67bc70, w=0x555555eeffa0, pos=...) at xdisp.c:6866 #8 0x00005555555d1a50 in display_count_lines_visually (it=0x7fffff684400) at xdisp.c:22685 #9 maybe_produce_line_number (it=it@entry=0x7fffff684400) at xdisp.c:22729 (... sequence repeats ...) #1439 maybe_produce_line_number (it=it@entry=0x7fffffffb6a0) at xdisp.c:22729 #1440 0x00005555555d2e11 in move_it_in_display_line_to (it=it@entry=0x7fffffffb6a0, 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=0x7fffffffb6a0, to_charpos=171, to_x=, to_y=, to_vpos=, op=8) at xdisp.c:9889 #1442 0x00005555555d0e92 in start_display (it=it@entry=0x7fffffffb6a0, w=w@entry=0x555555eeffa0, pos=...) at xdisp.c:6866 #1443 0x00005555555d7af4 in Fline_pixel_height () at xdisp.c:1422 #1444 0x00005555556fdae3 in Ffuncall (nargs=1, args=args@entry=0x7fffffffca70) 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=0x7fffffffce48) 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=0x7fffffffd208) at eval.c:2809 #1449 0x00005555556fa295 in Ffuncall_interactively (nargs=3, args=0x7fffffffd208) at callint.c:254 #1450 0x00005555556fdae3 in Ffuncall (nargs=nargs@entry=4, args=args@entry=0x7fffffffd200) 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=0x7fffffffd438) 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=0x7fffffffd7e0) 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=2, argv=) at emacs.c:2066 In GNU Emacs 27.1.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0) of 2020-09-24 built on karnak Repository revision: 395f10cb98af122404bcdc2eb60d30decf297625 Repository branch: emacs-27 Windowing system distributor 'The X.Org Foundation', version 11.0.12008000 System Description: Ubuntu 20.04.1 LTS Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... Configured using: 'configure --with-cairo --with-mailutils --with-xwidgets --with-json' Configured features: XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS XWIDGETS LIBSYSTEMD JSON PDUMPER LCMS2 GMP Important settings: value of $LC_CTYPE: en_GB.UTF-8 value of $LANG: en_GB.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting xwidget-internal cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 45107 8742) (symbols 48 6009 1) (strings 32 15461 1341) (string-bytes 1 507002) (vectors 16 10094) (vector-slots 8 130013 7762) (floats 8 20 43) (intervals 56 236 0) (buffers 1000 12)) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJIBAEBCAAyFiEEO/eF3hYsAMj7Tab9uhNZqCwLPvkFAl9slmoUHHNpbW9uQHBv bGFyaXM2NC5uZXQACgkQuhNZqCwLPvlDnQ/+PWB8V5D9OYWK0GH0r56j+QTV23ZY mJo+0MnSYO8Kpf0mp/1IoS51eJl44OrqfN4o+kJN5TmpbBMBypy0/aCFuVBaQYH+ u/38ARMqfUPuoQNO6pk2ZITvpabmwV5rjRJs3/ZRffR6+LNCD55HMOyMv2ghfefW wq2n07b0xEnbruIaPQxxlnd/oVAFWFIWGPtTK7Ilw+6DHO01wMM/vc2i9bqyf0dd lZUauEFUJG1ZoiRG/tfURkaUSMUEYoKhrzsb4+wL3kztYdWRAkAvZxV282Ljcd8C yb/0V0Y++bbT3asSvNNcN1JZ0HsBwE7d7RK+C4QaMlXKq4MAd2O8oPUPJc0K8pUZ CILGrdfYTSCrKnu+mPkyhh9nYolgZV6Zif39LI9mosRLUj4xJtYHUgXxymrYE9U+ bEbnYXPl9gqKvFT7ws0b2xDzpA4qBeo0msf4Db57NyHMn9i/duiSELoP636jIetF INm5tv81unltDQavsJUm/czmbkuXMY6qKxELvZoKaRefwCjCIr/lwe/hm6noXuu+ PctPBypBvddZer6jKzOxGR07Cg92ZIl7Vds+KC4h1OLkYEsUQ82STy0b3LAVX7sj JNoeCXp7R46FJ6KgC0uDihouzZ3GnXextdvO2jeEsLehAm308J3hFSlXQMCcAJhc RjsiSCWuSHGpYTE= =+1lC -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 24 11:03:48 2020 Received: (at 43589) by debbugs.gnu.org; 24 Sep 2020 15:03:48 +0000 Received: from localhost ([127.0.0.1]:41240 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kLSmh-00055v-UB for submit@debbugs.gnu.org; Thu, 24 Sep 2020 11:03:48 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34136) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kLSmd-00055Y-W3 for 43589@debbugs.gnu.org; Thu, 24 Sep 2020 11:03:46 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34522) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kLSmW-00015V-2P; Thu, 24 Sep 2020 11:03:38 -0400 Received: from [176.228.60.248] (port=4174 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kLSmR-0002Rz-RK; Thu, 24 Sep 2020 11:03:34 -0400 Date: Thu, 24 Sep 2020 18:03:40 +0300 Message-Id: <83r1qrtdwz.fsf@gnu.org> From: Eli Zaretskii To: Simon Pugnet In-Reply-To: <878scz2v85.fsf@polaris64.net> (message from Simon Pugnet on Thu, 24 Sep 2020 13:51:54 +0100) Subject: Re: 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 References: <878scz2v85.fsf@polaris64.net> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 43589 Cc: 43589@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Simon Pugnet > Date: Thu, 24 Sep 2020 13:51:54 +0100 > > 1. Launch ~emacs -Q~ > 2. Enable "visual" line numbers (~(setq display-line-numbers-type > 'visual)~) > 3. Create an Org mode buffer with the following content: - > * Heading 1 > ** Heading 1a > ** Heading 1b > 4. Enable ~display-line-numbers-mode~ > 5. Enable ~visual-line-mode~ > 6. Move the point anywhere on the line with "Heading 1b" > 7. Call ~outline-hide-other~ > 8. Call ~previous-line~ (via keybinding or directly) > > Emacs then crashes with SIGSEGV. I couldn't reproduce this on my system. > Debugging emacs in GDB while doing this seems to show a loop as > follows: - > > Thread 1 "emacs" received signal SIGSEGV, Segmentation fault. > 0x00005555555d1b39 in move_it_in_display_line_to > (it=it@entry=0x7fffff6734e0, to_charpos=to_charpos@entry=171, > to_x=to_x@entry=-1, op=op@entry=MOVE_TO_POS) at xdisp.c:9009 > 9009 { 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.) From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 24 11:35:12 2020 Received: (at 43589) by debbugs.gnu.org; 24 Sep 2020 15:35:12 +0000 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 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 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) 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) References: <878scz2v85.fsf@polaris64.net> <83r1qrtdwz.fsf@gnu.org> User-agent: mu4e 1.2.0; emacs 27.1.50 From: Simon Pugnet To: Eli Zaretskii Subject: Re: 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 In-reply-to: <83r1qrtdwz.fsf@gnu.org> Date: Thu, 24 Sep 2020 16:35:01 +0100 Message-ID: <87d02bmbmi.fsf@polaris64.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 43589 Cc: 43589@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) --=-=-= 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----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 24 11:48:52 2020 Received: (at 43589) by debbugs.gnu.org; 24 Sep 2020 15:48:52 +0000 Received: from localhost ([127.0.0.1]:41400 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kLTUJ-0008RP-Pq for submit@debbugs.gnu.org; Thu, 24 Sep 2020 11:48:52 -0400 Received: from mail-wr1-f47.google.com ([209.85.221.47]:33995) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kLTUG-0008RB-M0 for 43589@debbugs.gnu.org; Thu, 24 Sep 2020 11:48:50 -0400 Received: by mail-wr1-f47.google.com with SMTP id t10so4406706wrv.1 for <43589@debbugs.gnu.org>; Thu, 24 Sep 2020 08:48:48 -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=un7DFwKWIJMoebT+gc6M1srbCGIl9xadAJVoT4bo+sU=; b=S3ocWqcN0PcX/wdoVxHhY8PFNpe7M/QN+feL+lYQ7RnFAMpEBlj2Tx3n/idx1rQ+BD gJOtEod/yk/a3/1uzItjHSiSdwqJPbaU5aqgUO79FTCKfDo5pfAZO/RZ634/wsHO/rc9 TWjWnMVcwForaTuZsPcl3eLCzixdYsYGv0iOPUU2DXM77LvRVfrlLgZ6Q3GMuMDFZnPS 0uSuaCGGvpCcSOIrhg2QcyzG/84IeiN4uiMRnv+rVxrgSYkA1zN0T1y6N6h1NVLLmGiT 5KgUz9ZFC4tCQ3Rvcpz7/AFBKgUKVa5yjkfAUMoCzAI2LXurs8vn4SwBNUzgHu7ye9Ps Rewg== 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=un7DFwKWIJMoebT+gc6M1srbCGIl9xadAJVoT4bo+sU=; b=J0otG8kY6EzROMs4C/91IEOKKCSkP4M8BE19c7Sj8KJvAoyf8xGLqd0aKSL70wCkXj Sk+2rLdLy+8XHr3pHjNFBI/dVTcITpdzVGUIBO1k4BYP0t2+P5+0GB0DNd6dgkDTbmqY fYMk0GdClna/krKh9ZtCPAITszLGlohQeC4K6Qvuwj/JfZBjdxbRSwyDbLKnq2+wcmmc db+t9PQP7AG9p2Pdx0olrb04PrHd20LIC/3iGRlmz67GSuHqfka9EpBNDbumdlXvitlq TBGHdHkBB+iQF3OLPFqI50qDVglCQqdw6mI2LhDxRXinTuZownZYFDkRoYc0VVW0hAJv ERdg== X-Gm-Message-State: AOAM530wCxNFBOriYADDOGcxQv9pKc2FCbs/p9qLXVfRIEZLMIUwfOUI aprPV7JlUwI766yQTla+xN/7UCC3C9Q= X-Google-Smtp-Source: ABdhPJxXbVMKtnR41LVcKnNzV/fc7zNjPMhKMUYLo5wZso2nz4YSKWR/r3A7JvyahOe4b9TfuJLwgg== X-Received: by 2002:a5d:6886:: with SMTP id h6mr445712wru.374.1600962522457; Thu, 24 Sep 2020 08:48:42 -0700 (PDT) Received: from karnak (13-132.dsl.iskon.hr. [89.164.13.132]) by smtp.gmail.com with ESMTPSA id i16sm4048889wrq.73.2020.09.24.08.48.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Sep 2020 08:48:41 -0700 (PDT) References: <878scz2v85.fsf@polaris64.net> <83r1qrtdwz.fsf@gnu.org> User-agent: mu4e 1.2.0; emacs 27.1.50 From: Simon Pugnet To: Eli Zaretskii Subject: Re: 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 In-reply-to: <83r1qrtdwz.fsf@gnu.org> Date: Thu, 24 Sep 2020 16:48:39 +0100 Message-ID: <87blhvmazs.fsf@polaris64.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 43589 Cc: 43589@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) --=-=-= Content-Type: text/plain; format=flowed Eli Zaretskii writes: > > I couldn't reproduce this on my system. > I've just tried this on Emacs 26.3 on my Android device under Termux (ARM build) and I also get a segmentation fault. Unfortunately I cannot do this in GDB under this environment so I cannot get a back-trace in this instance. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJIBAEBCAAyFiEEO/eF3hYsAMj7Tab9uhNZqCwLPvkFAl9sv9cUHHNpbW9uQHBv bGFyaXM2NC5uZXQACgkQuhNZqCwLPvnzRw//bCQbA5kDttyjxJisARmyLeAumPiF 5DoAtFttt3PZxHQQOfsYaoY/mF71Pp574J7OG00TwFAE8IWqXiFnsTWjz/2GjdtL 8QESHQ/DY7kiSPUreSDdyWK5VmwapbEjpCEBgw+KJMgsEHhdU/0ZyOZfVyBatNuy evkp25dVaAZYx/D5g9f+yj8Fl927UpwEvDHTD/kvEbgoD3aV8AYnBhgesdWqQGow IgM8aD/5BpAfTkveYAwl78DAjCdNBSAlMQTgt4+AZegkjYKy9OrQ2oPgC0pxEyUL JF4pX0BPWRU/Wdt9cW/bDOteeOAe+dEmQLGl0+6004WvYtadTzFGsk1Cg9rlkDA2 kf798mkN2sbNQgg+dBniwrl3ALnQUg9Iupeng0SUHhvd0/bQ0FO/LhSqF2mzenH2 VqvfM1b8J/xStS8kN5PKT1bYgl1Qr+Q0p59DVj1BYUzutFNvk8zV1/y5qVHp/rva pkmRtnyXQl9N76Mag8JyOgzJ05fc+zG75dtqqI/ukncgSuz6qW4fMyR0PuuL4jvh PzMMTlQU/ohRz7fD1+EfJFOecevRdShwtYYCYqbsQMbReR9oGL0ALS+qt5/TQ9Oo E9jrQceW37Ag3h6LUS7sPeNSrDpn3N8IRZFsXwJchOFA4QT8PFzpCcCr4dzWMi15 PjTUaU8/DpoiKAE= =PeWn -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 24 12:14:22 2020 Received: (at 43589) by debbugs.gnu.org; 24 Sep 2020 16:14:22 +0000 Received: from localhost ([127.0.0.1]:41449 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kLTsz-0000fv-OT for submit@debbugs.gnu.org; Thu, 24 Sep 2020 12:14:21 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52970) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kLTsx-0000fh-IQ for 43589@debbugs.gnu.org; Thu, 24 Sep 2020 12:14:21 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35804) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kLTss-0005eh-34; Thu, 24 Sep 2020 12:14:14 -0400 Received: from [176.228.60.248] (port=4775 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kLTsr-00066x-C1; Thu, 24 Sep 2020 12:14:13 -0400 Date: Thu, 24 Sep 2020 19:14:22 +0300 Message-Id: <83k0wjtan5.fsf@gnu.org> From: Eli Zaretskii To: Simon Pugnet In-Reply-To: <87d02bmbmi.fsf@polaris64.net> (message from Simon Pugnet on Thu, 24 Sep 2020 16:35:01 +0100) Subject: Re: 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 References: <878scz2v85.fsf@polaris64.net> <83r1qrtdwz.fsf@gnu.org> <87d02bmbmi.fsf@polaris64.net> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 43589 Cc: 43589@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Simon Pugnet > Cc: 43589@debbugs.gnu.org > Date: Thu, 24 Sep 2020 16:35:01 +0100 > > 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. This is very strange, since I don't get any problems like that. Are you sure you don't have any local changes wrt the current Git repository? Or maybe some other software installed on your system has this effect? Can anyone else reproduce this problem with the provided recipe? From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 24 14:12:10 2020 Received: (at 43589) by debbugs.gnu.org; 24 Sep 2020 18:12:10 +0000 Received: from localhost ([127.0.0.1]:41656 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kLViz-0003di-RN for submit@debbugs.gnu.org; Thu, 24 Sep 2020 14:12:10 -0400 Received: from sonic311-31.consmr.mail.ir2.yahoo.com ([77.238.176.163]:37412) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kLViv-0003d8-GD for 43589@debbugs.gnu.org; Thu, 24 Sep 2020 14:12:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1600971119; bh=Ak/91LzBEgqCI9A4OTLe+SJW61M0FNMKZSZqIKM2hH8=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject; b=KuXRNhDqh69Y3tUUtTV3MLVZjMdg5naFf4Jyg5awMNxMTovYlbQbYz9G7jlHpW9tzCceNjuoEr0ZSus8R1eo0Lxa+FIf/41YvxeOKtGCNMzf7M851ED0kuoqR0N40kKG4mbWCVxo4CJzsvdKAdtsolTenYpA9rBf5pEiEUXm/CpTUgS0m8SEDCAP4QJSH4X1ISWJbvPs7+icGeF55vjc9AapTzkJUMaieP7DCK1zzQZ5cqJ0BG/D8BSp5aZj0HLmT2adHOyzTSQNTgg/kZuuioTSPHwPGFwLvm11K3fMdXr/BRWjCCEnZbr1EVBcsHO9TZcmKfaNSX6Pu0VTYffY3g== X-YMail-OSG: wpN_K.wVM1m_Lfd.4DHw4hlaJPdj6o_6XWzEs5nTm0F_YlAaiDDHfb4roIrtdQI 1yo6p_V1H9FBGcZIxkhccmEyFipkPwpHUq4oG7eiz5NSfU_6XK3v5OPtRwx1uZuxBCiVhyJEsmuO NkNi95IxjZ1ZfAL25nFmhRESzjn0uA31xCW36aWmA9HEMrIDsM4H38zleCpRkGF6tBnm9BBJGU7N 0h1bVhejTbJysOEBLZTCA14QncxHenWqzC8ybB9yOMU.bElEeLNmBR6dU6c7ZiZxRdsOESxUFH9p A1MdnKSxYHlV_FKLIcMUKr0QgFXnx6l1XL._OCffroYZDLfEX8yyQwE041Uo92bajzyltunrkWuE F47xQEyhhu3hsjXGLVPdUO9jdn.a2GVH0c5GYzcpLyH7c3e0_AeD2HOOjGp20ySdAiNnG2P3EKj8 CacWFk6ms17z6m8C5s.BN72qF3CA3_zWTDwoHVibVP0Y4nRb7lZZUvSM1LL9bGqFOsqmLnKHts_W tOpiHkBedgUztpjb1DjA26Yea9L7qHQRhPo2NbaZmaW2QeEF0vsWmghTPmBPflAQ6bgY3SwB3hAl urWI7PTeTU7zxdz_RKpbYlgvuDcMPUkk._tvKoPdnCXWydovGoBdiAaGj203TUdCr20JtbgTALUP lOaT7FNOUKDd2gsyaNMQSLCD39sc6tgTelplO3XiMXNBJbJ3AFyQwKqoox32mfUXkZpOT1jwan5g J0riSUJNGfvXlQO9u83GBRjncXF..cyWHULuuLZXe6ZWr85_xQHJEbsDsh0I4XoqMmGX3.N1UzsA 2onJ8aLAq44lkruSidB4BomMvQBEZEd_EPQPey5D.DFMFMsxsJIELbckHPfLUcD.f02v_9KfawJj tXhckwMJk7cy6G6HvehHMOSPzUZ5cbVFh5s4k5AVZK9WEQyWUFTousBNZIQ5Vt4WIQ0vA48JD_x7 _0qSLJQW2_bAwCiQmhKsZ4LZdKYRjzAV6JzKPPPIox37Cj48iOG9yZuwRjS8LvMzHKg50h7JXrRn Xie1SPdQtd4NNjTCJsu9roHAT4RDVM3K_7dyVl.knIzU5WU4tWc7cwyc5_qJpooxsYlzxbyl.OvF iWFUp_9Vr_Mgb_8gnpq_v9AVBZOHoTFNEPATZU0gy2ci0OM6Z3fs6Ft0JvluM01A.qL6m98dxC2U bhmvey2hlL6BivpPaifTUkWzLQ60Nl8gy.IM48Bi8NV9E1F7trvQdFdAgWn.qGb.wRgOZeX9ql0x mt_WUXFUMrIPP3GT7SAY8ijZCQeq6YVy_ROmLhwJYvbAvwC.wEv.HSGUVvoyV56Jw8tGKwBTgvWW Bf_qCLKxT_Xx1nZ2Luy4s_.caU7js.NIt1KLpwd1bbgxFZJ7NB4pKQkS0Izkusef7zdqonLXjtVF bxMK9L4yUHZhuy0TEN49RN8oLIRdU79NX5fwtBdZcQHfNkTHqcvZ7rP.qGwGlC26dQPTy16n28BA Xc8M3GMhdA9.k9Yf8adYDfGcCVT7_56joeIbvTMtnTFUOSYTY7MKNnjg7.0b3rzbcUS1VSQ-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.ir2.yahoo.com with HTTP; Thu, 24 Sep 2020 18:11:59 +0000 Received: by smtp412.mail.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 06014444bb617fc2ec54947a0cc5dacd; Thu, 24 Sep 2020 18:11:54 +0000 (UTC) From: =?utf-8?Q?Daniel_Mart=C3=ADn?= To: Eli Zaretskii Subject: Re: 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 References: <878scz2v85.fsf@polaris64.net> <83r1qrtdwz.fsf@gnu.org> <87d02bmbmi.fsf@polaris64.net> <83k0wjtan5.fsf@gnu.org> Date: Thu, 24 Sep 2020 20:11:53 +0200 In-Reply-To: <83k0wjtan5.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 24 Sep 2020 19:14:22 +0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.16674 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Apache-HttpAsyncClient/4.1.4 (Java/11.0.7) Content-Length: 529 X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 43589 Cc: Simon Pugnet , 43589@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) Eli Zaretskii writes: > > Can anyone else reproduce this problem with the provided recipe? I could reproduce the crash only once on macOS and Emacs 27.1, but I can't reproduce the issue anymore. I'm not exactly sure if I did something differently. Simon, if you can reproduce the problem consistently, could you describe in more detail the position of point at each step? Are you copying and pasting the sample Org document? Perhaps those implicit assumptions are making the problem harder to reproduce. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 24 16:17:45 2020 Received: (at 43589) by debbugs.gnu.org; 24 Sep 2020 20:17:45 +0000 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 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 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) 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) References: <878scz2v85.fsf@polaris64.net> <83r1qrtdwz.fsf@gnu.org> <87d02bmbmi.fsf@polaris64.net> <83k0wjtan5.fsf@gnu.org> User-agent: mu4e 1.4.13; emacs 27.1 From: Simon Pugnet To: Daniel =?utf-8?Q?Mart=C3=ADn?= Subject: Re: 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 In-reply-to: Message-ID: <87y2kzx73e.fsf@polaris64.net> Date: Thu, 24 Sep 2020 22:17:26 +0200 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 43589 Cc: Eli Zaretskii , 43589@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --=-=-= 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----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 24 18:44:14 2020 Received: (at submit) by debbugs.gnu.org; 24 Sep 2020 22:44:14 +0000 Received: from localhost ([127.0.0.1]:41983 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kLZyH-00081M-HR for submit@debbugs.gnu.org; Thu, 24 Sep 2020 18:44:14 -0400 Received: from lists.gnu.org ([209.51.188.17]:45918) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kLZyE-00081D-Dn for submit@debbugs.gnu.org; Thu, 24 Sep 2020 18:44:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60440) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kLZyE-0001NV-6I for bug-gnu-emacs@gnu.org; Thu, 24 Sep 2020 18:44:10 -0400 Received: from static.214.254.202.116.clients.your-server.de ([116.202.254.214]:56190 helo=ciao.gmane.io) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kLZyB-0004t4-Kj for bug-gnu-emacs@gnu.org; Thu, 24 Sep 2020 18:44:09 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1kLZy7-000AID-GE for bug-gnu-emacs@gnu.org; Fri, 25 Sep 2020 00:44:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Andy Moreton Subject: Re: 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 23:43:57 +0100 Message-ID: <86blhueqxe.fsf@gmail.com> References: <878scz2v85.fsf@polaris64.net> <83r1qrtdwz.fsf@gnu.org> <87d02bmbmi.fsf@polaris64.net> <83k0wjtan5.fsf@gnu.org> <87y2kzx73e.fsf@polaris64.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (windows-nt) Cancel-Lock: sha1:H2svRInR7cMhyDb19MSEGn5eqtg= Received-SPF: pass client-ip=116.202.254.214; envelope-from=geb-bug-gnu-emacs@m.gmane-mx.org; helo=ciao.gmane.io X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/24 18:10:19 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: 3 X-Spam_score: 0.3 X-Spam_bar: / X-Spam_report: (0.3 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.248, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.1 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.1 (-) On Thu 24 Sep 2020, Simon Pugnet wrote: > Daniel Martín writes: > >> Simon, if you can reproduce the problem consistently, could you describe >> in more detail the position of point at each step? Are you copying and >> pasting the sample Org document? Perhaps those implicit 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 cause this > issue. > > 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: Re-entering top level after C stack overflow ... which confirms Eli's hunch about the cause. Running the same recipe under gdb, I get the following backtrace: (gdb) bt #0 0x000000006f8d0f25 in ?? () from C:\msys64\mingw64\bin\libharfbuzz-0.dll #1 0x000000006f85a24b in ?? () from C:\msys64\mingw64\bin\libharfbuzz-0.dll #2 0x000000006f8526cb in ?? () from C:\msys64\mingw64\bin\libharfbuzz-0.dll #3 0x00000004001c0367 in w32hb_encode_char (font=0x5698a90, c=0x5c) at C:/emacs/git/emacs/master/src/w32uniscribe.c:1359 #4 0x000000040004ba06 in get_char_glyph_code (char2b=0x4041cc, font=0x5698a90, c=) at C:/emacs/git/emacs/master/src/xdisp.c:27746 #5 gui_produce_glyphs (it=0x404270) at C:/emacs/git/emacs/master/src/xdisp.c:30173 #6 0x000000040001e204 in produce_special_glyphs (it=it@entry=0x405750, what=what@entry=IT_CONTINUATION) at C:/emacs/git/emacs/master/src/xdisp.c:29779 #7 0x000000040002ca1d in init_iterator (it=it@entry=0x405750, w=w@entry=0x5698320, charpos=0xab, bytepos=, row=0x578bc00, base_face_id=, base_face_id@entry=DEFAULT_FACE_ID) at C:/emacs/git/emacs/master/src/xdisp.c:3286 #8 0x000000040002e321 in start_display (it=it@entry=0x405750, w=0x5698320, pos=...) at C:/emacs/git/emacs/master/src/xdisp.c:3459 #9 0x000000040002f02c in display_count_lines_visually (it=0x40dfe0) at C:/emacs/git/emacs/master/src/xdisp.c:22824 #10 maybe_produce_line_number (it=it@entry=0x40dfe0) at C:/emacs/git/emacs/master/src/xdisp.c:22868 #11 0x0000000400030580 in move_it_in_display_line_to (it=it@entry=0x40dfe0, to_charpos=to_charpos@entry=0xab, to_x=to_x@entry=0xffffffff, op=op@entry=MOVE_TO_POS) at C:/emacs/git/emacs/master/src/xdisp.c:9184 #12 0x00000004000344af in move_it_to (it=, it@entry=0x40dfe0, to_charpos=to_charpos@entry=0xab, to_x=, to_x@entry=0xffffffff, to_y=, to_y@entry=0xffffffff, to_vpos=, to_vpos@entry=0xffffffff, op=, op@entry=0x8) at C:/emacs/git/emacs/master/src/xdisp.c:10006 #13 0x000000040002e3da in start_display (it=it@entry=0x40dfe0, w=0x5698320, pos=...) at C:/emacs/git/emacs/master/src/xdisp.c:6968 #14 0x000000040002f02c in display_count_lines_visually (it=0x416870) at C:/emacs/git/emacs/master/src/xdisp.c:22824 #15 maybe_produce_line_number (it=it@entry=0x416870) at C:/emacs/git/emacs/master/src/xdisp.c:22868 #16 0x0000000400030580 in move_it_in_display_line_to (it=it@entry=0x416870, to_charpos=to_charpos@entry=0xab, to_x=to_x@entry=0xffffffff, op=op@entry=MOVE_TO_POS) at C:/emacs/git/emacs/master/src/xdisp.c:9184 #17 0x00000004000344af in move_it_to (it=, it@entry=0x416870, to_charpos=to_charpos@entry=0xab, to_x=, to_x@entry=0xffffffff, to_y=, to_y@entry=0xffffffff, to_vpos=, to_vpos@entry=0xffffffff, op=, op@entry=0x8) at C:/emacs/git/emacs/master/src/xdisp.c:10006 #18 0x000000040002e3da in start_display (it=it@entry=0x416870, w=0x5698320, pos=...) at C:/emacs/git/emacs/master/src/xdisp.c:6968 #19 0x000000040002f02c in display_count_lines_visually (it=0x41f100) at C:/emacs/git/emacs/master/src/xdisp.c:22824 ... (truncated for brevity) ... #1200 maybe_produce_line_number (it=it@entry=0xbfd550) at C:/emacs/git/emacs/master/src/xdisp.c:22868 #1201 0x0000000400030580 in move_it_in_display_line_to (it=it@entry=0xbfd550, to_charpos=to_charpos@entry=0xab, to_x=to_x@entry=0xffffffff, op=op@entry=MOVE_TO_POS) at C:/emacs/git/emacs/master/src/xdisp.c:9184 #1202 0x00000004000344af in move_it_to (it=, it@entry=0xbfd550, to_charpos=to_charpos@entry=0xab, to_x=, to_x@entry=0xffffffff, to_y=, to_y@entry=0xffffffff, to_vpos=, to_vpos@entry=0xffffffff, op=, op@entry=0x8) at C:/emacs/git/emacs/master/src/xdisp.c:10006 #1203 0x000000040002e3da in start_display (it=it@entry=0xbfd550, w=w@entry=0x5698320, pos=...) at C:/emacs/git/emacs/master/src/xdisp.c:6968 #1204 0x000000040003556d in Fline_pixel_height () at C:/emacs/git/emacs/master/src/xdisp.c:1494 #1205 0x0000000400130347 in Ffuncall (nargs=, args=args@entry=0xbfe960) at C:/emacs/git/emacs/master/src/lisp.h:2080 #1206 0x000000040016b6f0 in exec_byte_code (bytestr=, vector=, maxdepth=, args_template=args_template@entry=make_fixnum(1025), nargs=nargs@entry=0x4, args=, args@entry=0xbfec70) at C:/emacs/git/emacs/master/src/bytecode.c:632 #1207 0x000000040013345b in fetch_and_exec_byte_code (args=0xbfec70, nargs=0x4, syms_left=make_fixnum(1025), fun=XIL(0x3fecff5)) at C:/emacs/git/emacs/master/src/lisp.h:1835 #1208 funcall_lambda (fun=XIL(0x3fecff5), nargs=nargs@entry=0x4, arg_vector=arg_vector@entry=0xbfec70) at C:/emacs/git/emacs/master/src/eval.c:3007 #1209 0x000000040013027b in Ffuncall (nargs=0x5, args=args@entry=0xbfec68) at C:/emacs/git/emacs/master/src/eval.c:2818 #1210 0x000000040016b6f0 in exec_byte_code (bytestr=, vector=, maxdepth=, args_template=args_template@entry=make_fixnum(512), nargs=nargs@entry=0x2, args=, args@entry=0xbfefc0) at C:/emacs/git/emacs/master/src/bytecode.c:632 #1211 0x000000040013345b in fetch_and_exec_byte_code (args=0xbfefc0, nargs=0x2, syms_left=make_fixnum(512), fun=XIL(0x3fed59d)) at C:/emacs/git/emacs/master/src/lisp.h:1835 #1212 funcall_lambda (fun=XIL(0x3fed59d), nargs=nargs@entry=0x2, arg_vector=arg_vector@entry=0xbfefc0) at C:/emacs/git/emacs/master/src/eval.c:3007 #1213 0x000000040013027b in Ffuncall (nargs=nargs@entry=0x3, args=args@entry=0xbfefb8) at C:/emacs/git/emacs/master/src/eval.c:2818 #1214 0x000000040012c979 in Ffuncall_interactively (nargs=0x3, args=0xbfefb8) at C:/emacs/git/emacs/master/src/callint.c:253 #1215 0x0000000400130347 in Ffuncall (nargs=nargs@entry=0x875c815, args=0xbfefb0, args@entry=0xbff260) at C:/emacs/git/emacs/master/src/lisp.h:2080 #1216 0x000000040012dcaf in Fcall_interactively (function=, record_flag=, keys=) at C:/emacs/git/emacs/master/src/callint.c:779 #1217 0x0000000400130347 in Ffuncall (nargs=, args=args@entry=0xbff228) at C:/emacs/git/emacs/master/src/lisp.h:2080 #1218 0x000000040016b6f0 in exec_byte_code (bytestr=, vector=, maxdepth=, args_template=args_template@entry=make_fixnum(1025), nargs=nargs@entry=0x1, args=, args@entry=0xbff4f8) at C:/emacs/git/emacs/master/src/bytecode.c:632 #1219 0x000000040013345b in fetch_and_exec_byte_code (args=0xbff4f8, nargs=0x1, syms_left=make_fixnum(1025), fun=XIL(0x40b4645)) at C:/emacs/git/emacs/master/src/lisp.h:1835 #1220 funcall_lambda (fun=XIL(0x40b4645), nargs=nargs@entry=0x1, arg_vector=arg_vector@entry=0xbff4f8) at C:/emacs/git/emacs/master/src/eval.c:3007 #1221 0x000000040013027b in Ffuncall (nargs=nargs@entry=0x2, args=args@entry=0xbff4f0) at C:/emacs/git/emacs/master/src/eval.c:2818 #1222 0x00000004001303fd in call1 (fn=fn@entry=XIL(0x3f30), arg1=) at C:/emacs/git/emacs/master/src/eval.c:2664 #1223 0x00000004000c339d in command_loop_1 () at C:/emacs/git/emacs/master/src/lisp.h:1007 #1224 0x000000040012f3fd in internal_condition_case (bfun=bfun@entry=0x4000c2fa0 , handlers=handlers@entry=XIL(0x90), hfun=hfun@entry=0x4000ba310 ) at C:/emacs/git/emacs/master/src/eval.c:1356 #1225 0x00000004000b3db8 in command_loop_2 (ignore=) at C:/emacs/git/emacs/master/src/lisp.h:1007 #1226 0x000000040012f36b in internal_catch (tag=tag@entry=XIL(0xe070), func=func@entry=0x4000b3d90 , arg=arg@entry=XIL(0)) at C:/emacs/git/emacs/master/src/eval.c:1117 #1227 0x00000004000b3d39 in command_loop () at C:/emacs/git/emacs/master/src/lisp.h:1007 #1228 0x0000000000000000 in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) Lisp Backtrace: "line-pixel-height" (0xbfe968) "line-move" (0xbfec70) "previous-line" (0xbfefc0) "funcall-interactively" (0xbfefb8) "call-interactively" (0xbff230) "command-execute" (0xbff4f8) Eli, shout if you need help in digging in to this further (and if a -O0 build would be more useful). AndyM From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 25 04:57:34 2020 Received: (at 43589) by debbugs.gnu.org; 25 Sep 2020 08:57:34 +0000 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 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 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 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 Date: Fri, 25 Sep 2020 11:57:36 +0300 Message-Id: <837dsiterj.fsf@gnu.org> From: Eli Zaretskii To: Andy Moreton In-Reply-To: <86blhueqxe.fsf@gmail.com> (message from Andy Moreton on Thu, 24 Sep 2020 23:43:57 +0100) Subject: Re: 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 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> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 43589 Cc: 43589@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > 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. From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 25 06:01:16 2020 Received: (at 43589) by debbugs.gnu.org; 25 Sep 2020 10:01:17 +0000 Received: from localhost ([127.0.0.1]:42727 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kLkXU-0000Ao-IK for submit@debbugs.gnu.org; Fri, 25 Sep 2020 06:01:16 -0400 Received: from mail-ed1-f43.google.com ([209.85.208.43]:38525) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kLkXS-0008W8-87 for 43589@debbugs.gnu.org; Fri, 25 Sep 2020 06:01:15 -0400 Received: by mail-ed1-f43.google.com with SMTP id c8so1889748edv.5 for <43589@debbugs.gnu.org>; Fri, 25 Sep 2020 03:01:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=5jp7KJJ4K0a1vXZHI8BH+m6vV2/pfCIgU6Ch313MNdU=; b=TbpHX/IWDLF68HGAql73IDLGS3hrFJ//+CbOM0nYdNGk7W+M64MTuVaad6Uf+6k4dc f/7q+gYUGr0da4Dwd2IXyuLUYhPUeX2SjCWg2AZ4OZuUAx5DPJVNVTT1tmo+fTG1kxY8 caJLfM+nm5npJMuZrPX2gfwNnpZzU9NZpREe6AO41pv6+uBxTA5AVf9+gYK1goa4OpEk 7fO2JaxAvuwlt90Nv6EHxnfWp1xIDRef4sxEv/185La1PSyJMtoupNPG9h//Ld3kJHzi Rtau4gULW8A9aU7AUxJpMOvdUkV3dFguYdvIomlgpcfm4oRQbTIy1sUBrOUrSry/SXIn bxRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=5jp7KJJ4K0a1vXZHI8BH+m6vV2/pfCIgU6Ch313MNdU=; b=alpYVlyd7OgWc2l0EThtrUJsxwRy46dCNqg1kcBJPzRu3P2Vg4dFZdRxc5Go8BDclg T3OJHNwz4JmtvUkAGXlC9VJH4yK//MfYUWT4yf3Rrbpf4M1u/U0LzPZ8FJqVtiKd6NoB qcbeUfgZjvh0b0tdPoZrkIwthPUdRFeFTp6p0klsEp52X/UM/tM3vGbIylcwqN+NZxVZ 9Ti/I9NjJrX2r0RzNz5F4pvgGBTMcSM8kMjJO6JwLGKo7Mk70ymw5VU1ZHmu0ycQc/VB shmAxW19vrY1P8nHzTH6Wa+tYblKyNUgGd6MxOVtkXSeLNNFY2XrNttGYnowgE+WOx8y K2HA== X-Gm-Message-State: AOAM5313MFxvTqomUwhAeSuYGdJbLHr2z6cNkCUNWo6JH3flofnp28Ys dqNPoAJO/b6UvPRZY7Y3InXebBZksRDYyg== X-Google-Smtp-Source: ABdhPJw9anwH+GD8nfh41z6z8HFjJMFjcwKoNButqtoXQsNpZDeMjKP3nCamR33UWsKY9PvppM+P2g== X-Received: by 2002:a05:6402:202a:: with SMTP id ay10mr442190edb.36.1601028067986; Fri, 25 Sep 2020 03:01:07 -0700 (PDT) Received: from karnak (58-54.dsl.iskon.hr. [89.164.58.54]) by smtp.gmail.com with ESMTPSA id lc25sm1552174ejb.35.2020.09.25.03.01.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Sep 2020 03:01:07 -0700 (PDT) From: Simon Pugnet To: Eli Zaretskii Subject: Re: 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 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> <837dsiterj.fsf@gnu.org> Date: Fri, 25 Sep 2020 11:00:29 +0100 In-Reply-To: <837dsiterj.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 25 Sep 2020 11:57:36 +0300") Message-ID: <877dsimb0i.fsf@polaris64.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 43589 Cc: 43589@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) --=-=-= Content-Type: text/plain Eli Zaretskii writes: > > Thanks, I installed a fix for this on the emacs-27 branch. Please try > it. I've just rebuilt from emacs-27 and the problem is now fixed for me. Thank you for the quick response and for all your work with Emacs! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJIBAEBCAAyFiEEO/eF3hYsAMj7Tab9uhNZqCwLPvkFAl9tv70UHHNpbW9uQHBv bGFyaXM2NC5uZXQACgkQuhNZqCwLPvkUUA//br9JX0ExergViqpwQYAAEZ5qNaHa htbsdFKu+vb4y0bn1LCBUqxQGpSbRmTtq1Yep1oqIF8sLF0Cy2hF9O1JrdTgmuof arYrU4jiE/9xwHdEH1Vzi8nXSaP5E7plUe7FDpuv//AjI7vJ+SjlhWZa+wuZ0owC XFdPUCb3v2TrnB9Ihqwmz0QrCwaIWRdeYMdkUO2jVcPo4xXXBUhfwLUsJ4IjdHrL TuFBN0QDY8KxP6V74jWd+6L3wVc2u9qyylHZkw66Jvf4ZRd/SCiBN+OTEwhHqGfL tTCCFbtVan/FJre5Esf4SVGV6zlqzlfTslOqQsbhUYQr4eIHcS3PaDxLoFwrwrXe oq3e/yvGg9X+YA5jzo90AOklf8m0UYa8k7Ff65MP98t6bVVjweHpNlCQAdUCIGzC OUrcO1LoINiyp2XuLjav1RuvMLdISJslPcJmUY3d1c81f1bgHHRNLZTiNDvELY6V W3iXTUgo/BC0KFiQ9+F6/OrDGUxbWWuQQyBFeUJg+uT1RAPBQ0su5DkeeNdcvZdr 0JTfG8+Z56ehc0mco/Qw3PX6kpzNSY/PLk1LC9zDjAQOwOoUNMrug0ndOucJbrww 9P3Jv0bXN4SIdtNNsqsh3Z8ajTt48k+QXoQKD9r+Jfo4cY7hqDZ8LEMig5zHDEVy nU9Ybv2KxDTBfpE= =V5tH -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 25 07:01:40 2020 Received: (at 43589-done) by debbugs.gnu.org; 25 Sep 2020 11:01:40 +0000 Received: from localhost ([127.0.0.1]:42818 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kLlTw-00006O-2U for submit@debbugs.gnu.org; Fri, 25 Sep 2020 07:01:40 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45892) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kLlTu-0008T1-Lh for 43589-done@debbugs.gnu.org; Fri, 25 Sep 2020 07:01:39 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58225) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kLlTo-0004b2-V4; Fri, 25 Sep 2020 07:01:32 -0400 Received: from [176.228.60.248] (port=2552 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kLlTi-0002QI-S5; Fri, 25 Sep 2020 07:01:29 -0400 Date: Fri, 25 Sep 2020 14:01:38 +0300 Message-Id: <83wo0irugd.fsf@gnu.org> From: Eli Zaretskii To: Simon Pugnet In-Reply-To: <877dsimb0i.fsf@polaris64.net> (message from Simon Pugnet on Fri, 25 Sep 2020 11:00:29 +0100) Subject: Re: 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 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> <837dsiterj.fsf@gnu.org> <877dsimb0i.fsf@polaris64.net> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 43589-done Cc: 43589-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Simon Pugnet > Cc: 43589@debbugs.gnu.org > Date: Fri, 25 Sep 2020 11:00:29 +0100 > > > Thanks, I installed a fix for this on the emacs-27 branch. Please try > > it. > > I've just rebuilt from emacs-27 and the problem is now fixed for me. > > Thank you for the quick response and for all your work with Emacs! Thanks for testing, I'm therefore closing this bug. From unknown Fri Aug 15 03:37:42 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 23 Oct 2020 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator