From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 12 15:21:10 2024 Received: (at submit) by debbugs.gnu.org; 12 Jun 2024 19:21:11 +0000 Received: from localhost ([127.0.0.1]:43444 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sHTWu-0006CU-Bh for submit@debbugs.gnu.org; Wed, 12 Jun 2024 15:21:10 -0400 Received: from lists.gnu.org ([209.51.188.17]:33236) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sHTWq-0006CE-RX for submit@debbugs.gnu.org; Wed, 12 Jun 2024 15:21:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sHTWr-0000nD-DU for bug-gnu-emacs@gnu.org; Wed, 12 Jun 2024 15:21:05 -0400 Received: from wfhigh2-smtp.messagingengine.com ([64.147.123.153]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sHTWn-0004XD-0p for bug-gnu-emacs@gnu.org; Wed, 12 Jun 2024 15:21:05 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailfhigh.west.internal (Postfix) with ESMTP id D76A618000D1 for ; Wed, 12 Jun 2024 15:20:51 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 12 Jun 2024 15:20:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stebalien.com; h=cc:content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to; s=fm3; t=1718220051; x=1718306451; bh=MJxFOPEda4RirY1XKhXG49IN/+e/C6nG fPR/0a9XTdw=; b=U4JxT7RljVMPTfmeBg4+2PAckIFLsZzD/ekBgQLKAJVXhhCJ /sUYGogcq0MN3r1qPyQ+btmDJ7O5G7SR2Ao3oXvW3F1NDLxz4yaQImNvuN4By58d 8JR701Sx8dQvwL58rSey68bVLwgKz8OIP6cjtFU/Y4U52MdSGFPmMeplbdBB12Q0 l77DPOksHziQuFUpwv4UY9gK4qxvpMh15JMqo0lrmfUIPW8f/PxN2mx7oWoyCxrn bquGKENcGhSOQPXtcofLFzDBx0fTL7WS5wOL9cc8LWBGaHVAwpM6ijbDvNSN6Ye3 REfxONdHKHqSz+pG1WueEQXo+E2omYJtpLwYWg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1718220051; x=1718306451; bh=MJxFOPEda4RirY1XKhXG49IN/+e/C6nGfPR /0a9XTdw=; b=NQw77rbh67gx5hIPMznT00RXP8KssoAOd2E731D30nwIy7vvy+W /6xkr3ms5KZ+6Gn4iQn2XN/BVEaQ0UgadHnjp/exyI4eVejYdBe65lswNuzgSbRU pWDhQVCWanq+NaxG1piHWVssyUYMb/+vHOgm+n+woQ/cspVnfSRb+VqUDmtNKJ4l YZwNIX+lFgR9dP2bFAiVTYxsnGxRv398FRXv6b24yilOEWKfo6JVQvCLg7DbgeE+ OyVS1Si75xnQISmKVMGEEIUV394a0x2yszjc1kepciZ95fKCSWT82h2tbBmzDFyc WPr4+pHkbvCyyDCEnbdHSa4vW64zquTdheg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfedugedgudeffecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfggtgesmhdtreertd dttdenucfhrhhomhepufhtvghvvghnucetlhhlvghnuceoshhtvghvvghnsehsthgvsggr lhhivghnrdgtohhmqeenucggtffrrghtthgvrhhnpeekffffgfevteehtdeiffelffegke dvieeigeehfedtteejkeefhfevtddtkeefffenucevlhhushhtvghrufhiiigvpedtnecu rfgrrhgrmhepmhgrihhlfhhrohhmpehsthgvvhgvnhesshhtvggsrghlihgvnhdrtghomh X-ME-Proxy: Feedback-ID: ie8a146a7:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Wed, 12 Jun 2024 15:20:50 -0400 (EDT) From: Steven Allen To: bug-gnu-emacs@gnu.org Subject: 30.0.50; Spin in delete-region/interval_deletion_adjustment X-Debbugs-Cc: Date: Wed, 12 Jun 2024 12:20:49 -0700 Message-ID: <87y17a55ny.fsf@stebalien.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=64.147.123.153; envelope-from=steven@stebalien.com; helo=wfhigh2-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.7 (-) 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.7 (--) --=-=-= Content-Type: text/plain After rebuilding today, enabling the eshell-tramp module and calling sudo is causing a `delete-region` subcall (presumably from within `tramp-wait-for-output`?) to spin within `interval_deletion_adjustment` (or it might be repeatedly calling it?). NOTE: this happens after authentication. To reproduce: 1. `emacs -Q` 2. `M-x eval-expression RET (require 'eshell) RET` 3. `M-x eval-expression RET (add-to-list 'eshell-modules-list 'eshell-tramp)`. 4. `M-x eshell` 5. `sudo /usr/bin/echo` 6. Authenticate, press enter, and watch Emacs lock up and go to 100% CPU usage. I've collected two backtraces: one with native compilation (with-native-comp.txt) and one after re-evaluating (with-eval.txt) the appropriate files (tramp-sh.el, tramp.el) to rule out compilation issues. See attached. In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, cairo version 1.18.0) of 2024-06-12 built on Laptop Repository revision: 6893c327e982528fdc93e3a956a4b6830a09ea3f Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101013 System Description: Arch Linux Configured using: 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --mandir=/usr/share/man --with-gameuser=:games --with-modules --without-m17n-flt --without-selinux --without-pop --without-gconf --enable-link-time-optimization --with-native-compilation=yes --with-xinput2 --with-x-toolkit=no --without-toolkit-scroll-bars --without-xft --without-xaw3d --without-gsettings --with-cairo-xcb --with-sound=no --with-tree-sitter --without-gpm --without-compress-install '--program-transform-name=s/\([ec]tags\)/\1.emacs/' 'CFLAGS=-march=native -mtune=native -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto=auto' 'LDFLAGS=-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -Wl,-z,noexecstack -flto=auto'' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS HARFBUZZ JPEG LCMS2 LIBOTF LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY OLDXMENU PDUMPER PNG RSVG SECCOMP SQLITE3 THREADS TIFF TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: ELisp/l Minor modes in effect: notmuch-bookmarks-mode: t rainbow-mode: t rainbow-delimiters-mode: t ligature-mode: t windmove-mode: t global-atomic-chrome-edit-mode: t i3bar-mode: t ednc-mode: t exwm-xsettings-mode: t exwm-background-mode: t exwm-systemtray-mode: t exwm-randr-mode: t ws-butler-mode: t auto-compile-on-load-mode: t auto-compile-on-save-mode: t auto-compile-mode: t save-place-mode: t savehist-mode: t openwith-mode: t org-super-agenda-mode: t global-org-modern-mode: t goto-address-prog-mode: t eat-eshell-mode: t magit-todos-mode: t global-git-commit-mode: t dired-async-mode: t magit-auto-revert-mode: t server-mode: t recentf-mode: t global-treesit-auto-mode: t yas-global-mode: t yas-minor-mode: t async-bytecomp-package-mode: t sudo-edit-indicator-mode: t global-auto-revert-mode: t vertico-mode: t corfu-popupinfo-mode: t global-corfu-mode: t corfu-mode: t isearch-mb-mode: t pixel-scroll-precision-mode: t global-hl-todo-mode: t hl-todo-mode: t all-the-icons-completion-mode: t marginalia-mode: t global-page-break-lines-mode: t page-break-lines-mode: t global-anzu-mode: t anzu-mode: t global-jinx-mode: t evil-goggles-mode: t global-evil-surround-mode: t evil-surround-mode: t global-evil-collection-unimpaired-mode: t evil-collection-unimpaired-mode: t evil-mode: t evil-local-mode: t desktop-environment-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t prettify-symbols-mode: t tab-bar-history-mode: t tab-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t window-divider-mode: t minibuffer-regexp-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: /home/steb/.cache/emacs/elpa/notmuch-20240529.1054/notmuch hides /usr/share/emacs/site-lisp/notmuch /home/steb/.cache/emacs/elpa/notmuch-20240529.1054/notmuch-wash hides /usr/share/emacs/site-lisp/notmuch-wash /home/steb/.cache/emacs/elpa/notmuch-20240529.1054/notmuch-tree hides /usr/share/emacs/site-lisp/notmuch-tree /home/steb/.cache/emacs/elpa/notmuch-20240529.1054/notmuch-tag hides /usr/share/emacs/site-lisp/notmuch-tag /home/steb/.cache/emacs/elpa/notmuch-20240529.1054/notmuch-show hides /usr/share/emacs/site-lisp/notmuch-show /home/steb/.cache/emacs/elpa/notmuch-20240529.1054/notmuch-query hides /usr/share/emacs/site-lisp/notmuch-query /home/steb/.cache/emacs/elpa/notmuch-20240529.1054/notmuch-print hides /usr/share/emacs/site-lisp/notmuch-print /home/steb/.cache/emacs/elpa/notmuch-20240529.1054/notmuch-parser hides /usr/share/emacs/site-lisp/notmuch-parser /home/steb/.cache/emacs/elpa/notmuch-20240529.1054/notmuch-mua hides /usr/share/emacs/site-lisp/notmuch-mua /home/steb/.cache/emacs/elpa/notmuch-20240529.1054/notmuch-message hides /usr/share/emacs/site-lisp/notmuch-message /home/steb/.cache/emacs/elpa/notmuch-20240529.1054/notmuch-maildir-fcc hides /usr/share/emacs/site-lisp/notmuch-maildir-fcc /home/steb/.cache/emacs/elpa/notmuch-20240529.1054/notmuch-lib hides /usr/share/emacs/site-lisp/notmuch-lib /home/steb/.cache/emacs/elpa/notmuch-20240529.1054/notmuch-jump hides /usr/share/emacs/site-lisp/notmuch-jump /home/steb/.cache/emacs/elpa/notmuch-20240529.1054/notmuch-hello hides /usr/share/emacs/site-lisp/notmuch-hello /home/steb/.cache/emacs/elpa/notmuch-20240529.1054/notmuch-draft hides /usr/share/emacs/site-lisp/notmuch-draft /home/steb/.cache/emacs/elpa/notmuch-20240529.1054/notmuch-crypto hides /usr/share/emacs/site-lisp/notmuch-crypto /home/steb/.cache/emacs/elpa/notmuch-20240529.1054/notmuch-compat hides /usr/share/emacs/site-lisp/notmuch-compat /home/steb/.cache/emacs/elpa/notmuch-20240529.1054/notmuch-company hides /usr/share/emacs/site-lisp/notmuch-company /home/steb/.cache/emacs/elpa/notmuch-20240529.1054/notmuch-address hides /usr/share/emacs/site-lisp/notmuch-address /home/steb/.cache/emacs/elpa/notmuch-20240529.1054/coolj hides /usr/share/emacs/site-lisp/coolj /home/steb/.cache/emacs/elpa/protobuf-mode-20240222.1652/protobuf-mode hides /usr/share/emacs/site-lisp/protobuf-mode /home/steb/.cache/emacs/elpa/transient-20240609.2020/transient hides /usr/share/emacs/30.0.50/lisp/transient /home/steb/.cache/emacs/elpa/modus-themes-20240227.715/theme-loaddefs hides /usr/share/emacs/30.0.50/lisp/theme-loaddefs Features: (shadow sort mail-extr semantic/symref/grep semantic/symref semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw cedet emacsbug consult-xref flymake-cc vc evil-collection-eglot eglot external-completion jsonrpc evil-collection-ert ert ewoc evil-collection-flymake flymake cc-mode cc-fonts cc-guess cc-menus cc-cmds tramp-rclone evil-collection-vterm vterm vterm-module term/xterm xterm eshell-syntax-highlighting em-elecslash em-tramp em-extpipe em-glob em-basic em-alias tramp-cmds tramp-cache time-stamp tramp-sshfs tramp-fuse evil-collection-vc-git vc-git vc-dispatcher evil-collection-consult consult magit-bookmark org-bookmark-heading notmuch-bookmarks evil-collection-bookmark bookmark buffer-move info-colors ffap misearch multi-isearch rainbow-mode rainbow-delimiters ligature mule-util evil-collection-helpful helpful cc-langs trace cl-print evil-collection-edebug edebug evil-collection-debug debug backtrace info-look help-fns radix-tree evil-collection-elisp-refs elisp-refs vertico-repeat app-launcher windmove pinentry evil-collection-atomic-chrome atomic-chrome websocket bindat i3bar ednc filechooser dbus exwm-xsettings xcb-xsettings exwm-background exwm-systemtray xcb-systemtray xcb-xembed exwm-randr xcb-randr exwm exwm-input xcb-keysyms xcb-xkb exwm-manage exwm-floating xcb-cursor xcb-render exwm-layout exwm-workspace exwm-core xcb-ewmh xcb-icccm xcb xcb-xproto xcb-types xcb-debug cus-start posframe visual-wrap face-remap visual-fill-column evil-org ws-butler oc-basic bibtex ol-man ol-info ol-docview evil-collection-doc-view doc-view jka-compr evil-collection-image image-mode exif auto-compile saveplace tramp-sh savehist openwith org-super-agenda ts ht org-habit org-crypt org-protocol ob-http ob-http-mode org-modern ob-dot ob-latex ob-python evil-collection-python python ob-gnuplot ox-odt rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex ox-icalendar evil-org-agenda org-agenda ox-html table ox-ascii ox-publish ox org-element org-persist org-id org-refile org-element-ast inline avl-tree ob-calc calc-store calc-trail calc-ext evil-collection-calc calc calc-loaddefs calc-macs ob-shell evil-collection-org org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro evil-collection-xref xref org-src evil-collection-sh-script sh-script smie executable ob-comint org-pcomplete org-list org-footnote org-faces org-entities ob-emacs-lisp ob-core ob-eval org-cycle org-table ol org-fold org-fold-core org-keys oc org-loaddefs org-compat org-version org-macs evil-collection-notmuch notmuch notmuch-tree notmuch-jump notmuch-hello notmuch-show notmuch-print notmuch-crypto notmuch-mua notmuch-message notmuch-draft notmuch-maildir-fcc notmuch-address notmuch-company notmuch-parser notmuch-wash coolj goto-addr icalendar diary-lib diary-loaddefs evil-collection-calendar cal-menu calendar cal-loaddefs notmuch-tag notmuch-lib notmuch-compat mm-view mml-smime smime dig eshell-prompt-extras em-dirs em-ls em-prompt em-hist em-unix em-pred esh-mode esh-var evil-collection-eat eat evil-collection-term term disp-table ehelp eshell esh-cmd generator esh-ext esh-opt esh-proc esh-io esh-arg esh-module esh-module-loaddefs esh-util evil-collection-forge forge-repos forge-topics forge-tablist hl-line forge-commands forge-semi forge-bitbucket buck forge-gogs gogs forge-gitea gtea forge-gitlab glab forge-github ghub-graphql treepy gsexp ghub url-http url-gw nsm url-auth let-alist gnutls forge-notify forge-revnote forge-pullreq forge-issue forge-topic yaml bug-reference forge-post evil-collection-markdown-mode markdown-mode edit-indirect evil-collection-outline noutline outline forge-repo forge forge-core forge-db closql emacsql-sqlite-common emacsql emacsql-compiler eieio-base evil-collection-magit-todos magit-todos pcre2el rxt re-builder f s evil-collection-grep grep evil-collection-compile compile evil-collection-magit magit-submodule magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit evil-collection-magit-repos magit-repos magit-apply magit-wip magit-log which-func evil-collection-imenu imenu magit-diff smerge-mode diff diff-mode track-changes easy-mmode git-commit evil-collection-log-edit log-edit message sendmail yank-media puny dired-async dired-aux evil-collection-dired dired dired-loaddefs rfc822 mml mml-sec evil-collection-epa epa derived epg rfc6068 epg-config gnus-util text-property-search mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log magit-core magit-autorevert magit-margin magit-transient magit-process with-editor server magit-mode transient magit-git magit-base evil-collection-magit-section magit-section cursor-sensor crm recentf tree-widget treesit-auto yasnippet async-bytecomp async sudo-edit tramp trampver tramp-integration files-x tramp-message tramp-compat shell pcomplete evil-collection-comint comint ansi-osc parse-time iso8601 time-date format-spec ansi-color tramp-loaddefs autorevert filenotify project vertico corfu-popupinfo evil-collection-corfu corfu orderless isearch-mb pixel-scroll cua-base hl-todo all-the-icons-completion all-the-icons all-the-icons-faces all-the-icons-data-material-icons all-the-icons-data-fluentui-system-icons all-the-icons-data-fontawesome-4 all-the-icons-data-weather-icons all-the-icons-data-vscode-codicons all-the-icons-data-octicons all-the-icons-data-mfixx all-the-icons-data-file-icons all-the-icons-data-devopicons all-the-icons-data-alltheicons svg dom xml marginalia page-break-lines anzu modus-vivendi-theme modus-themes jinx evil-goggles pulse color evil-textobj-tree-sitter evil-textobj-tree-sitter-thing-at-point evil-textobj-tree-sitter-core treesit evil-args evil-surround evil-collection-unimpaired evil-collection-tabulated-list evil-collection-tab-bar evil-collection-simple evil-collection-replace evil-collection-process-menu evil-collection-package-menu evil-collection-kmacro evil-collection-info evil-collection-indent evil-collection-help evil-collection-elisp-mode evil-collection-eldoc evil-collection-custom evil-collection-buff-menu evil-collection annalist evil evil-integration evil-maps evil-commands evil-digraphs pcase reveal evil-jumps evil-command-window evil-types evil-search evil-ex evil-macros evil-repeat evil-states evil-core comp-run advice evil-common thingatpt rect evil-vars ring edmacro kmacro general dash mode-local find-func no-littering compat finder-inf notmuch-version info all-the-icons-completion-autoloads all-the-icons-dired-autoloads all-the-icons-ibuffer-autoloads all-the-icons-autoloads app-launcher-autoloads aria2-autoloads atomic-chrome-autoloads auto-compile-autoloads bash-completion-autoloads bluetooth-autoloads buffer-move-autoloads calibre-autoloads cape-autoloads casual-autoloads casual-dired-autoloads casual-info-autoloads clojure-mode-autoloads consult-eglot-autoloads consult-project-extra-autoloads consult-autoloads corfu-autoloads coverage-autoloads csv-mode-autoloads dape-autoloads devdocs-autoloads dired-filter-autoloads dired-hacks-utils-autoloads dired-k-autoloads discomfort-autoloads debase-autoloads disk-usage-autoloads eat-autoloads edit-indirect-autoloads ednc-autoloads eff-autoloads ellama-autoloads ement-autoloads eshell-prompt-extras-autoloads eshell-syntax-highlighting-autoloads eshell-vterm-autoloads evil-anzu-autoloads anzu-autoloads evil-args-autoloads evil-collection-autoloads annalist-autoloads evil-goggles-autoloads evil-nerd-commenter-autoloads evil-org-autoloads evil-surround-autoloads evil-autoloads evil-textobj-tree-sitter-autoloads evm-mode-autoloads expand-region-autoloads exwm-autoloads filechooser-autoloads flymake-ruff-autoloads general-autoloads git-link-autoloads git-modes-autoloads gnuplot-autoloads goto-chg-autoloads graphviz-dot-mode-autoloads helpful-autoloads elisp-refs-autoloads htmlize-autoloads i3bar-autoloads igist-autoloads info-colors-autoloads isearch-mb-autoloads iwindow-autoloads jinx-autoloads journalctl-autoloads kotlin-mode-autoloads ligature-autoloads link-hint-autoloads avy-autoloads llm-autoloads magit-todos-autoloads hl-todo-autoloads f-autoloads marginalia-autoloads mastodon-autoloads microdata-autoloads modus-themes-autoloads named-pipe-autoloads nftables-mode-autoloads no-littering-autoloads notmuch-transient-autoloads nov-autoloads esxml-autoloads kv-autoloads ob-async-autoloads ob-http-autoloads ol-notmuch-autoloads notmuch-autoloads openwith-autoloads orderless-autoloads org-bookmark-heading-autoloads org-download-autoloads async-autoloads org-margin-autoloads org-modern-autoloads org-super-agenda-autoloads orgit-forge-autoloads orgit-autoloads forge-autoloads markdown-mode-autoloads magit-autoloads git-commit-autoloads ghub-autoloads closql-autoloads emacsql-autoloads ox-pandoc-autoloads ht-autoloads package-lint-flymake-autoloads package-lint-autoloads page-break-lines-autoloads password-store-autoloads pcre2el-autoloads pdf-tools-autoloads persist-autoloads pinentry-autoloads pkgbuild-mode-autoloads playerctl-autoloads plz-autoloads posframe-autoloads proced-narrow-autoloads protobuf-mode-autoloads pulseaudio-control-autoloads qrencode-autoloads rainbow-delimiters-autoloads rainbow-mode-autoloads request-autoloads rg-autoloads rmsbolt-autoloads rust-playground-autoloads solidity-mode-autoloads spinner-autoloads ssh-config-mode-autoloads sudo-edit-autoloads svg-lib-autoloads systemctl-autoloads systemd-autoloads tablist-autoloads taxy-magit-section-autoloads taxy-autoloads magit-section-autoloads tmr-autoloads transient-autoloads treepy-autoloads treesit-auto-autoloads ts-autoloads s-autoloads dash-autoloads tzc-autoloads udev-mode-autoloads vala-mode-autoloads cc-styles cc-align cc-engine cc-vars cc-defs vertico-autoloads vimrc-mode-autoloads visual-fill-column-autoloads vterm-autoloads vundo-autoloads wat-ts-mode-autoloads watch-autoloads web-mode-autoloads websocket-autoloads wgrep-autoloads whisper-autoloads with-editor-autoloads wordnut-autoloads ws-butler-autoloads xelb-autoloads yaml-autoloads yasnippet-autoloads comp comp-cstr cl-extra help-mode comp-common warnings rx xdg package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs password-cache json subr-x map byte-opt gv bytecomp byte-compile url-vars cus-edit pp cus-load icons wid-edit cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd touch-screen tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine 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 emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting font-render-setting cairo xinput2 x multi-tty move-toolbar make-network-process native-compile emacs) Memory information: ((conses 16 1393955 1049946) (symbols 48 74675 2) (strings 32 379763 68125) (string-bytes 1 12693577) (vectors 16 139684) (vector-slots 8 1625666 443250) (floats 8 715 7279) (intervals 56 21960 9365) (buffers 992 46)) --=-=-= Content-Type: text/plain Content-Disposition: inline; filename=with-eval.txt Content-Description: with-eval.txt #0 0x000059ee4b16dd06 in interval_deletion_adjustment () #1 0x000059ee4b1718ab in offset_intervals () #2 0x000059ee4b08a4ae in del_range_2 () #3 0x000059ee4b08b922 in del_range_1 () #4 0x000059ee4b0e43ec in Fdelete_region () #5 0x000059ee4b0f1730 in eval_sub () #6 0x000059ee4b0f2650 in Flet () #7 0x000059ee4b0f15ae in eval_sub () #8 0x000059ee4b0dc0c0 in Fsave_current_buffer () #9 0x000059ee4b0f15ae in eval_sub () #10 0x000059ee4b0f2200 in FletX () #11 0x000059ee4b0f15ae in eval_sub () #12 0x000059ee4b0f3290 in funcall_lambda () #13 0x000059ee4b0f7489 in apply_lambda () #14 0x000059ee4b0f0f79 in eval_sub () #15 0x000059ee4b0f2650 in Flet () #16 0x000059ee4b0f15ae in eval_sub () #17 0x000059ee4b0f3290 in funcall_lambda () #18 0x000059ee4b0f7489 in apply_lambda () #19 0x000059ee4b0f0f79 in eval_sub () #20 0x000059ee4b0f2650 in Flet () #21 0x000059ee4b0f15ae in eval_sub () #22 0x000059ee4b0f1b76 in Fprog1 () #23 0x000059ee4b0f15ae in eval_sub () #24 0x000059ee4b0f29eb in Funwind_protect () #25 0x000059ee4b0f15ae in eval_sub () #26 0x000059ee4b0f2650 in Flet () #27 0x000059ee4b0f15ae in eval_sub () #28 0x000059ee4b0f1a20 in Fif () #29 0x000059ee4b0f15ae in eval_sub () #30 0x000059ee4b0f3290 in funcall_lambda () #31 0x000059ee4b0f7489 in apply_lambda () #32 0x000059ee4b0f0f79 in eval_sub () #33 0x000059ee4b0f2650 in Flet () #34 0x000059ee4b0f15ae in eval_sub () #35 0x000059ee4b0f3290 in funcall_lambda () #36 0x000059ee4b0f7489 in apply_lambda () #37 0x000059ee4b0f0f79 in eval_sub () #38 0x000059ee4b0f2650 in Flet () #39 0x000059ee4b0f15ae in eval_sub () #40 0x000059ee4b0f1b76 in Fprog1 () #41 0x000059ee4b0f15ae in eval_sub () #42 0x000059ee4b0f29eb in Funwind_protect () #43 0x000059ee4b0f15ae in eval_sub () #44 0x000059ee4b0f2650 in Flet () #45 0x000059ee4b0f15ae in eval_sub () #46 0x000059ee4b0f1a20 in Fif () #47 0x000059ee4b0f15ae in eval_sub () #48 0x000059ee4b0f2200 in FletX () #49 0x000059ee4b0f15ae in eval_sub () #50 0x000059ee4b0f1970 in Fprogn () #51 0x000059ee4b0eef7a in internal_catch () #52 0x000059ee4b0f15ae in eval_sub () #53 0x000059ee4b0f1a20 in Fif () #54 0x000059ee4b0f15ae in eval_sub () #55 0x000059ee4b0f2de9 in internal_lisp_condition_case () #56 0x000059ee4b0f15ae in eval_sub () #57 0x000059ee4b0f2650 in Flet () #58 0x000059ee4b0f15ae in eval_sub () #59 0x000059ee4b0f1a20 in Fif () #60 0x000059ee4b0f15ae in eval_sub () #61 0x000059ee4b0f3290 in funcall_lambda () #62 0x000059ee4b0f7489 in apply_lambda () #63 0x000059ee4b0f0f79 in eval_sub () #64 0x000059ee4b0f1a20 in Fif () #65 0x000059ee4b0f15ae in eval_sub () #66 0x000059ee4b0f3290 in funcall_lambda () #67 0x000059ee4b0f7489 in apply_lambda () #68 0x000059ee4b0f0f79 in eval_sub () #69 0x000059ee4b0f2650 in Flet () #70 0x000059ee4b0f15ae in eval_sub () #71 0x000059ee4b0f3290 in funcall_lambda () #72 0x000059ee4b0f7489 in apply_lambda () #73 0x000059ee4b0f0f79 in eval_sub () #74 0x000059ee4b0f1900 in For () #75 0x000059ee4b0f15ae in eval_sub () #76 0x000059ee4b0f3290 in funcall_lambda () #77 0x000059ee4b0f7489 in apply_lambda () #78 0x000059ee4b0f0f79 in eval_sub () #79 0x000059ee4b0f1a20 in Fif () #80 0x000059ee4b0f15ae in eval_sub () #81 0x000059ee4b0f19a5 in Fif () #82 0x000059ee4b0f15ae in eval_sub () #83 0x000059ee4b0f3290 in funcall_lambda () #84 0x000059ee4b0f7489 in apply_lambda () #85 0x000059ee4b0f0f79 in eval_sub () #86 0x000059ee4b0f274e in Flet () #87 0x000059ee4b0f15ae in eval_sub () #88 0x000059ee4b0f1970 in Fprogn () #89 0x000059ee4b0eef7a in internal_catch () #90 0x000059ee4b0f15ae in eval_sub () #91 0x000059ee4b0f2650 in Flet () #92 0x000059ee4b0f15ae in eval_sub () #93 0x000059ee4b0e6020 in Fsave_restriction () #94 0x000059ee4b0f15ae in eval_sub () #95 0x000059ee4b0dc4c0 in Fsave_excursion () #96 0x000059ee4b0f15ae in eval_sub () #97 0x000059ee4b0f29eb in Funwind_protect () #98 0x000059ee4b0f15ae in eval_sub () #99 0x000059ee4b0dc0c0 in Fsave_current_buffer () #100 0x000059ee4b0f15ae in eval_sub () #101 0x000059ee4b0f1970 in Fprogn () #102 0x000059ee4b0f15ae in eval_sub () #103 0x000059ee4b0f29eb in Funwind_protect () #104 0x000059ee4b0f15ae in eval_sub () #105 0x000059ee4b0f2200 in FletX () #106 0x000059ee4b0f15ae in eval_sub () #107 0x000059ee4b0f2200 in FletX () #108 0x000059ee4b0f15ae in eval_sub () #109 0x000059ee4b0f2650 in Flet () #110 0x000059ee4b0f15ae in eval_sub () #111 0x000059ee4b0f2650 in Flet () #112 0x000059ee4b0f15ae in eval_sub () #113 0x000059ee4b0f2200 in FletX () #114 0x000059ee4b0f15ae in eval_sub () #115 0x000059ee4b0f1970 in Fprogn () #116 0x000059ee4b0f15ae in eval_sub () #117 0x000059ee4b0f15ae in eval_sub () #118 0x000059ee4b0f1a20 in Fif () #119 0x000059ee4b0f15ae in eval_sub () #120 0x000059ee4b0f3290 in funcall_lambda () #121 0x000059ee4b0f3aca in Ffuncall () #122 0x000059ee4b0f4be0 in Fapply () #123 0x000059ee4b0f17e3 in eval_sub () #124 0x000059ee4b0f1970 in Fprogn () #125 0x000059ee4b0f15ae in eval_sub () #126 0x000059ee4b0f29eb in Funwind_protect () #127 0x000059ee4b0f15ae in eval_sub () #128 0x000059ee4b0f2650 in Flet () #129 0x000059ee4b0f15ae in eval_sub () #130 0x000059ee4b0f1b76 in Fprog1 () #131 0x000059ee4b0f15ae in eval_sub () #132 0x000059ee4b0f15ae in eval_sub () #133 0x000059ee4b0f2200 in FletX () #134 0x000059ee4b0f15ae in eval_sub () #135 0x000059ee4b0f3290 in funcall_lambda () #136 0x000059ee4b0f3aca in Ffuncall () #137 0x000059ee4b0f4be0 in Fapply () #138 0x000059ee4b0f17e3 in eval_sub () #139 0x000059ee4b0f1970 in Fprogn () #140 0x000059ee4b0eef7a in internal_catch () #141 0x000059ee4b0f15ae in eval_sub () #142 0x000059ee4b0f1970 in Fprogn () #143 0x000059ee4b0eef7a in internal_catch () #144 0x000059ee4b0f15ae in eval_sub () #145 0x000059ee4b0f1c5b in Fsetq () #146 0x000059ee4b0f15ae in eval_sub () #147 0x000059ee4b0f1a20 in Fif () #148 0x000059ee4b0f15ae in eval_sub () #149 0x000059ee4b0f2650 in Flet () #150 0x000059ee4b0f15ae in eval_sub () #151 0x000059ee4b0f15ae in eval_sub () #152 0x000059ee4b0f29eb in Funwind_protect () #153 0x000059ee4b0f15ae in eval_sub () #154 0x000059ee4b0f2650 in Flet () #155 0x000059ee4b0f15ae in eval_sub () #156 0x000059ee4b0f2200 in FletX () #157 0x000059ee4b0f15ae in eval_sub () #158 0x000059ee4b0f1970 in Fprogn () #159 0x000059ee4b0f15ae in eval_sub () #160 0x000059ee4b0f29eb in Funwind_protect () #161 0x000059ee4b0f15ae in eval_sub () #162 0x000059ee4b0f2650 in Flet () #163 0x000059ee4b0f15ae in eval_sub () #164 0x000059ee4b0f15ae in eval_sub () #165 0x000059ee4b0f2650 in Flet () #166 0x000059ee4b0f15ae in eval_sub () #167 0x000059ee4b0f3290 in funcall_lambda () #168 0x000059ee4b0f3aca in Ffuncall () #169 0x000059ee4b0f4be0 in Fapply () #170 0x000059ee4b155efa in Fmake_process () #171 0x00007021d12a2dd3 in F657368656c6c2d6761746865722d70726f636573732d6f7574707574_eshell_gather_process_output_0 () at /home/steb/.config/emacs/eln-cache/30.0.50-227e13ca/esh-proc-276ac638-b9009414.eln #172 0x000059ee4b0f3aca in Ffuncall () #173 0x00007021d123ea1d in F657368656c6c2d636f6e6e656374696f6e2d6c6f63616c2d636f6d6d616e64_eshell_connection_local_command_0 () at /home/steb/.config/emacs/eln-cache/30.0.50-227e13ca/esh-ext-9adf61a7-391dc0d5.eln #174 0x000059ee4b0f3aca in Ffuncall () #175 0x00007021d123eca0 in F657368656c6c2d65787465726e616c2d636f6d6d616e64_eshell_external_command_0 () at /home/steb/.config/emacs/eln-cache/30.0.50-227e13ca/esh-ext-9adf61a7-391dc0d5.eln #176 0x000059ee4b0f3aca in Ffuncall () #177 0x00007021d125bf16 in F657368656c6c2d706c61696e2d636f6d6d616e64_eshell_plain_command_0 () at /home/steb/.config/emacs/eln-cache/30.0.50-227e13ca/esh-cmd-40a07574-cc16f19e.eln #178 0x000059ee4b0f3aca in Ffuncall () #179 0x00007021d125b96d in F657368656c6c2d6e616d65642d636f6d6d616e64_eshell_named_command_0 () at /home/steb/.config/emacs/eln-cache/30.0.50-227e13ca/esh-cmd-40a07574-cc16f19e.eln #180 0x000059ee4b0f1730 in eval_sub () #181 0x000059ee4b0f3073 in Feval () #182 0x000059ee4b0f3aca in Ffuncall () #183 0x00007021d125acdc in F657368656c6c2d646f2d6576616c_eshell_do_eval_0 () at /home/steb/.config/emacs/eln-cache/30.0.50-227e13ca/esh-cmd-40a07574-cc16f19e.eln #184 0x000059ee4b14a039 in exec_byte_code () #185 0x000059ee4b0f3aca in Ffuncall () #186 0x000059ee4b0f17e3 in eval_sub () #187 0x000059ee4b0f2650 in Flet () #188 0x000059ee4b0f15ae in eval_sub () #189 0x000059ee4b0f3073 in Feval () #190 0x000059ee4b0f3aca in Ffuncall () #191 0x00007021d125939c in F657368656c6c2d646f2d6576616c_eshell_do_eval_0 () at /home/steb/.config/emacs/eln-cache/30.0.50-227e13ca/esh-cmd-40a07574-cc16f19e.eln #192 0x000059ee4b0f3aca in Ffuncall () #193 0x00007021d125ac92 in F657368656c6c2d646f2d6576616c_eshell_do_eval_0 () at /home/steb/.config/emacs/eln-cache/30.0.50-227e13ca/esh-cmd-40a07574-cc16f19e.eln #194 0x000059ee4b0f3aca in Ffuncall () #195 0x00007021d125a155 in F657368656c6c2d646f2d6576616c_eshell_do_eval_0 () at /home/steb/.config/emacs/eln-cache/30.0.50-227e13ca/esh-cmd-40a07574-cc16f19e.eln #196 0x000059ee4b14a039 in exec_byte_code () #197 0x000059ee4b0f3aca in Ffuncall () #198 0x000059ee4b0f17e3 in eval_sub () #199 0x000059ee4b0f2650 in Flet () #200 0x000059ee4b0f15ae in eval_sub () #201 0x000059ee4b0f3073 in Feval () #202 0x000059ee4b0f3aca in Ffuncall () #203 0x00007021d125939c in F657368656c6c2d646f2d6576616c_eshell_do_eval_0 () at /home/steb/.config/emacs/eln-cache/30.0.50-227e13ca/esh-cmd-40a07574-cc16f19e.eln #204 0x000059ee4b0f1730 in eval_sub () #205 0x000059ee4b0f2de9 in internal_lisp_condition_case () #206 0x000059ee4b0f15ae in eval_sub () #207 0x000059ee4b0f3073 in Feval () #208 0x000059ee4b0f3aca in Ffuncall () #209 0x00007021d1258650 in F657368656c6c2d646f2d6576616c_eshell_do_eval_0 () at /home/steb/.config/emacs/eln-cache/30.0.50-227e13ca/esh-cmd-40a07574-cc16f19e.eln #210 0x000059ee4b0f3aca in Ffuncall () #211 0x00007021d12583bf in F657368656c6c2d646f2d6576616c_eshell_do_eval_0 () at /home/steb/.config/emacs/eln-cache/30.0.50-227e13ca/esh-cmd-40a07574-cc16f19e.eln #212 0x000059ee4b14a039 in exec_byte_code () #213 0x000059ee4b0f3aca in Ffuncall () #214 0x000059ee4b0f17e3 in eval_sub () #215 0x000059ee4b0f2650 in Flet () #216 0x000059ee4b0f15ae in eval_sub () #217 0x000059ee4b0f3073 in Feval () #218 0x000059ee4b0f3aca in Ffuncall () #219 0x00007021d125939c in F657368656c6c2d646f2d6576616c_eshell_do_eval_0 () at /home/steb/.config/emacs/eln-cache/30.0.50-227e13ca/esh-cmd-40a07574-cc16f19e.eln #220 0x000059ee4b0f3aca in Ffuncall () #221 0x00007021d125a9b1 in F657368656c6c2d646f2d6576616c_eshell_do_eval_0 () at /home/steb/.config/emacs/eln-cache/30.0.50-227e13ca/esh-cmd-40a07574-cc16f19e.eln #222 0x000059ee4b0f3aca in Ffuncall () #223 0x00007021d125a155 in F657368656c6c2d646f2d6576616c_eshell_do_eval_0 () at /home/steb/.config/emacs/eln-cache/30.0.50-227e13ca/esh-cmd-40a07574-cc16f19e.eln #224 0x000059ee4b0f3aca in Ffuncall () #225 0x00007021d125a9b1 in F657368656c6c2d646f2d6576616c_eshell_do_eval_0 () at /home/steb/.config/emacs/eln-cache/30.0.50-227e13ca/esh-cmd-40a07574-cc16f19e.eln #226 0x000059ee4b14a039 in exec_byte_code () #227 0x000059ee4b0f3aca in Ffuncall () #228 0x000059ee4b0f17e3 in eval_sub () #229 0x000059ee4b0f2650 in Flet () #230 0x000059ee4b0f15ae in eval_sub () #231 0x000059ee4b0f3073 in Feval () #232 0x000059ee4b0f3aca in Ffuncall () #233 0x00007021d125939c in F657368656c6c2d646f2d6576616c_eshell_do_eval_0 () at /home/steb/.config/emacs/eln-cache/30.0.50-227e13ca/esh-cmd-40a07574-cc16f19e.eln #234 0x000059ee4b0f3aca in Ffuncall () #235 0x00007021d1256027 in F657368656c6c2d726573756d652d6576616c_eshell_resume_eval_0 () at /home/steb/.config/emacs/eln-cache/30.0.50-227e13ca/esh-cmd-40a07574-cc16f19e.eln #236 0x000059ee4b0f3aca in Ffuncall () #237 0x00007021d12557b5 in F657368656c6c2d6576616c2d636f6d6d616e64_eshell_eval_command_0 () at /home/steb/.config/emacs/eln-cache/30.0.50-227e13ca/esh-cmd-40a07574-cc16f19e.eln #238 0x000059ee4b0f3aca in Ffuncall () #239 0x00007021d117ef81 in F657368656c6c2d73656e642d696e707574_eshell_send_input_0 () at /home/steb/.config/emacs/eln-cache/30.0.50-227e13ca/esh-mode-29140b27-601e69ac.eln #240 0x000059ee4b0f3aca in Ffuncall () #241 0x000059ee4b0e5a22 in Ffuncall_interactively () #242 0x000059ee4b0f3aca in Ffuncall () #243 0x000059ee4b0f69e3 in Fcall_interactively () #244 0x00007021d30ba8a5 in F636f6d6d616e642d65786563757465_command_execute_0 () at /usr/bin/../lib/emacs/30.0.50/native-lisp/30.0.50-227e13ca/preloaded/simple-fab5b0cf-c39c6ea4.eln #245 0x000059ee4b0f3aca in Ffuncall () #246 0x000059ee4b0560c1 in command_loop_1.lto_priv () #247 0x000059ee4b0ef037 in internal_condition_case () #248 0x000059ee4b053eae in command_loop_2 () #249 0x000059ee4b0eef7a in internal_catch () #250 0x000059ee4b055c03 in command_loop.lto_priv () #251 0x000059ee4b1d71eb in recursive_edit_1.isra () #252 0x000059ee4b057980 in Frecursive_edit () #253 0x000059ee4af251ea in main () --=-=-= Content-Type: text/plain Content-Disposition: inline; filename=with-native-comp.txt Content-Description: with-native-comp.txt #0 0x00005e3281ce5ce7 in interval_deletion_adjustment () #1 0x00005e3281ce98ab in offset_intervals () #2 0x00005e3281c024ae in del_range_2 () #3 0x00005e3281c03922 in del_range_1 () #4 0x00005e3281cc2ac5 in exec_byte_code () #5 0x00005e3281c6baca in Ffuncall () #6 0x00007b975f9204b8 in F7472616d702d73656e642d636f6d6d616e64_tramp_send_command_0 () at /home/steb/.config/emacs/eln-cache/30.0.50-227e13ca/tramp-sh-c6a0d036-f0745ec2.eln #7 0x00005e3281c6baca in Ffuncall () #8 0x00007b975f90efca in F7472616d702d6f70656e2d7368656c6c_tramp_open_shell_0 () at /home/steb/.config/emacs/eln-cache/30.0.50-227e13ca/tramp-sh-c6a0d036-f0745ec2.eln #9 0x00005e3281c6baca in Ffuncall () #10 0x00007b975f9100e3 in F7472616d702d6f70656e2d636f6e6e656374696f6e2d73657475702d696e7465726163746976652d7368656c6c_tramp_open_connection_setup_interactive_shell_0 () at /home/steb/.config/emacs/eln-cache/30.0.50-227e13ca/tramp-sh-c6a0d036-f0745ec2.eln #11 0x00005e3281c6baca in Ffuncall () #12 0x00007b975f91f63d in F7472616d702d6d617962652d6f70656e2d636f6e6e656374696f6e_tramp_maybe_open_connection_0 () at /home/steb/.config/emacs/eln-cache/30.0.50-227e13ca/tramp-sh-c6a0d036-f0745ec2.eln #13 0x00005e3281c6baca in Ffuncall () #14 0x00007b975f920585 in F7472616d702d73656e642d636f6d6d616e64_tramp_send_command_0 () at /home/steb/.config/emacs/eln-cache/30.0.50-227e13ca/tramp-sh-c6a0d036-f0745ec2.eln #15 0x00005e3281c6baca in Ffuncall () #16 0x00007b975f921239 in F7472616d702d73656e642d636f6d6d616e642d616e642d636865636b_tramp_send_command_and_check_0 () at /home/steb/.config/emacs/eln-cache/30.0.50-227e13ca/tramp-sh-c6a0d036-f0745ec2.eln #17 0x00005e3281c6baca in Ffuncall () #18 0x00007b975f9217e0 in F7472616d702d626172662d756e6c6573732d6f6b6179_tramp_barf_unless_okay_0 () at /home/steb/.config/emacs/eln-cache/30.0.50-227e13ca/tramp-sh-c6a0d036-f0745ec2.eln #19 0x00005e3281c6baca in Ffuncall () #20 0x00007b975f922006 in F7472616d702d73656e642d636f6d6d616e642d616e642d72656164_tramp_send_command_and_read_0 () at /home/steb/.config/emacs/eln-cache/30.0.50-227e13ca/tramp-sh-c6a0d036-f0745ec2.eln #21 0x00005e3281c6baca in Ffuncall () #22 0x00007b975f8f4f7e in F7472616d702d73682d68616e646c652d6d616b652d70726f63657373_tramp_sh_handle_make_process_0 () at /home/steb/.config/emacs/eln-cache/30.0.50-227e13ca/tramp-sh-c6a0d036-f0745ec2.eln #23 0x00005e3281c6baca in Ffuncall () #24 0x00005e3281c6cbe0 in Fapply () #25 0x00007b975f90720a in F7472616d702d73682d66696c652d6e616d652d68616e646c6572_tramp_sh_file_name_handler_0 () at /home/steb/.config/emacs/eln-cache/30.0.50-227e13ca/tramp-sh-c6a0d036-f0745ec2.eln #26 0x00005e3281c6baca in Ffuncall () #27 0x00005e3281c6cbe0 in Fapply () #28 0x00005e3281cc2039 in exec_byte_code () #29 0x00005e3281c6baca in Ffuncall () #30 0x00005e3281c6cbe0 in Fapply () #31 0x00005e3281ccdefa in Fmake_process () #32 0x00007b975ffc1dd3 in F657368656c6c2d6761746865722d70726f636573732d6f7574707574_eshell_gather_process_output_0 () at /home/steb/.config/emacs/eln-cache/30.0.50-227e13ca/esh-proc-276ac638-b9009414.eln #33 0x00005e3281c6baca in Ffuncall () #34 0x00007b975fd68a1d in F657368656c6c2d636f6e6e656374696f6e2d6c6f63616c2d636f6d6d616e64_eshell_connection_local_command_0 () at /home/steb/.config/emacs/eln-cache/30.0.50-227e13ca/esh-ext-9adf61a7-391dc0d5.eln #35 0x00005e3281c6baca in Ffuncall () #36 0x00007b975fd68ca0 in F657368656c6c2d65787465726e616c2d636f6d6d616e64_eshell_external_command_0 () at /home/steb/.config/emacs/eln-cache/30.0.50-227e13ca/esh-ext-9adf61a7-391dc0d5.eln #37 0x00005e3281c6baca in Ffuncall () #38 0x00007b975fd85f16 in F657368656c6c2d706c61696e2d636f6d6d616e64_eshell_plain_command_0 () at /home/steb/.config/emacs/eln-cache/30.0.50-227e13ca/esh-cmd-40a07574-cc16f19e.eln #39 0x00005e3281c6baca in Ffuncall () #40 0x00007b975fd8596d in F657368656c6c2d6e616d65642d636f6d6d616e64_eshell_named_command_0 () at /home/steb/.config/emacs/eln-cache/30.0.50-227e13ca/esh-cmd-40a07574-cc16f19e.eln #41 0x00005e3281c69730 in eval_sub () #42 0x00005e3281c6b073 in Feval () #43 0x00005e3281c6baca in Ffuncall () #44 0x00007b975fd84cdc in F657368656c6c2d646f2d6576616c_eshell_do_eval_0 () at /home/steb/.config/emacs/eln-cache/30.0.50-227e13ca/esh-cmd-40a07574-cc16f19e.eln #45 0x00005e3281cc2039 in exec_byte_code () #46 0x00005e3281c6baca in Ffuncall () #47 0x00005e3281c697e3 in eval_sub () #48 0x00005e3281c6a650 in Flet () #49 0x00005e3281c695ae in eval_sub () #50 0x00005e3281c6b073 in Feval () #51 0x00005e3281c6baca in Ffuncall () #52 0x00007b975fd8339c in F657368656c6c2d646f2d6576616c_eshell_do_eval_0 () at /home/steb/.config/emacs/eln-cache/30.0.50-227e13ca/esh-cmd-40a07574-cc16f19e.eln #53 0x00005e3281c6baca in Ffuncall () #54 0x00007b975fd84c92 in F657368656c6c2d646f2d6576616c_eshell_do_eval_0 () at /home/steb/.config/emacs/eln-cache/30.0.50-227e13ca/esh-cmd-40a07574-cc16f19e.eln #55 0x00005e3281c6baca in Ffuncall () #56 0x00007b975fd84155 in F657368656c6c2d646f2d6576616c_eshell_do_eval_0 () at /home/steb/.config/emacs/eln-cache/30.0.50-227e13ca/esh-cmd-40a07574-cc16f19e.eln #57 0x00005e3281cc2039 in exec_byte_code () #58 0x00005e3281c6baca in Ffuncall () #59 0x00005e3281c697e3 in eval_sub () #60 0x00005e3281c6a650 in Flet () #61 0x00005e3281c695ae in eval_sub () #62 0x00005e3281c6b073 in Feval () #63 0x00005e3281c6baca in Ffuncall () #64 0x00007b975fd8339c in F657368656c6c2d646f2d6576616c_eshell_do_eval_0 () at /home/steb/.config/emacs/eln-cache/30.0.50-227e13ca/esh-cmd-40a07574-cc16f19e.eln #65 0x00005e3281c69730 in eval_sub () #66 0x00005e3281c6ade9 in internal_lisp_condition_case () #67 0x00005e3281c695ae in eval_sub () #68 0x00005e3281c6b073 in Feval () #69 0x00005e3281c6baca in Ffuncall () #70 0x00007b975fd82650 in F657368656c6c2d646f2d6576616c_eshell_do_eval_0 () at /home/steb/.config/emacs/eln-cache/30.0.50-227e13ca/esh-cmd-40a07574-cc16f19e.eln #71 0x00005e3281c6baca in Ffuncall () #72 0x00007b975fd823bf in F657368656c6c2d646f2d6576616c_eshell_do_eval_0 () at /home/steb/.config/emacs/eln-cache/30.0.50-227e13ca/esh-cmd-40a07574-cc16f19e.eln #73 0x00005e3281cc2039 in exec_byte_code () #74 0x00005e3281c6baca in Ffuncall () #75 0x00005e3281c697e3 in eval_sub () #76 0x00005e3281c6a650 in Flet () #77 0x00005e3281c695ae in eval_sub () #78 0x00005e3281c6b073 in Feval () #79 0x00005e3281c6baca in Ffuncall () #80 0x00007b975fd8339c in F657368656c6c2d646f2d6576616c_eshell_do_eval_0 () at /home/steb/.config/emacs/eln-cache/30.0.50-227e13ca/esh-cmd-40a07574-cc16f19e.eln #81 0x00005e3281c6baca in Ffuncall () #82 0x00007b975fd849b1 in F657368656c6c2d646f2d6576616c_eshell_do_eval_0 () at /home/steb/.config/emacs/eln-cache/30.0.50-227e13ca/esh-cmd-40a07574-cc16f19e.eln #83 0x00005e3281c6baca in Ffuncall () #84 0x00007b975fd84155 in F657368656c6c2d646f2d6576616c_eshell_do_eval_0 () at /home/steb/.config/emacs/eln-cache/30.0.50-227e13ca/esh-cmd-40a07574-cc16f19e.eln #85 0x00005e3281c6baca in Ffuncall () #86 0x00007b975fd849b1 in F657368656c6c2d646f2d6576616c_eshell_do_eval_0 () at /home/steb/.config/emacs/eln-cache/30.0.50-227e13ca/esh-cmd-40a07574-cc16f19e.eln #87 0x00005e3281cc2039 in exec_byte_code () #88 0x00005e3281c6baca in Ffuncall () #89 0x00005e3281c697e3 in eval_sub () #90 0x00005e3281c6a650 in Flet () #91 0x00005e3281c695ae in eval_sub () #92 0x00005e3281c6b073 in Feval () #93 0x00005e3281c6baca in Ffuncall () #94 0x00007b975fd8339c in F657368656c6c2d646f2d6576616c_eshell_do_eval_0 () at /home/steb/.config/emacs/eln-cache/30.0.50-227e13ca/esh-cmd-40a07574-cc16f19e.eln #95 0x00005e3281c6baca in Ffuncall () #96 0x00007b975fd80027 in F657368656c6c2d726573756d652d6576616c_eshell_resume_eval_0 () at /home/steb/.config/emacs/eln-cache/30.0.50-227e13ca/esh-cmd-40a07574-cc16f19e.eln #97 0x00005e3281c6baca in Ffuncall () #98 0x00007b975fd7f7b5 in F657368656c6c2d6576616c2d636f6d6d616e64_eshell_eval_command_0 () at /home/steb/.config/emacs/eln-cache/30.0.50-227e13ca/esh-cmd-40a07574-cc16f19e.eln #99 0x00005e3281c6baca in Ffuncall () #100 0x00007b975fd24f81 in F657368656c6c2d73656e642d696e707574_eshell_send_input_0 () at /home/steb/.config/emacs/eln-cache/30.0.50-227e13ca/esh-mode-29140b27-601e69ac.eln #101 0x00005e3281c6baca in Ffuncall () #102 0x00005e3281c5da22 in Ffuncall_interactively () #103 0x00005e3281c6baca in Ffuncall () #104 0x00005e3281c6e9e3 in Fcall_interactively () #105 0x00007b976156c8a5 in F636f6d6d616e642d65786563757465_command_execute_0 () at /usr/bin/../lib/emacs/30.0.50/native-lisp/30.0.50-227e13ca/preloaded/simple-fab5b0cf-c39c6ea4.eln #106 0x00005e3281c6baca in Ffuncall () #107 0x00005e3281bce0c1 in command_loop_1.lto_priv () #108 0x00005e3281c67037 in internal_condition_case () #109 0x00005e3281bcbeae in command_loop_2 () #110 0x00005e3281c66f7a in internal_catch () #111 0x00005e3281bcdc03 in command_loop.lto_priv () #112 0x00005e3281d4f1eb in recursive_edit_1.isra () #113 0x00005e3281bcf980 in Frecursive_edit () #114 0x00005e3281a9d1ea in main () --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 13 01:15:01 2024 Received: (at 71525) by debbugs.gnu.org; 13 Jun 2024 05:15:01 +0000 Received: from localhost ([127.0.0.1]:51117 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sHcnd-0006sD-6A for submit@debbugs.gnu.org; Thu, 13 Jun 2024 01:15:01 -0400 Received: from fhigh8-smtp.messagingengine.com ([103.168.172.159]:46875) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sHcna-0006rl-7m for 71525@debbugs.gnu.org; Thu, 13 Jun 2024 01:14:59 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 8F9EE1140221 for <71525@debbugs.gnu.org>; Thu, 13 Jun 2024 01:14:53 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Thu, 13 Jun 2024 01:14:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stebalien.com; h=cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1718255693; x=1718342093; bh=MnsgW34wQ7 cz4YRfoW7NYgHTLBvfv+/dv0Ea8psSj2E=; b=MhynQfDk/noUeSQB3R6fRcnyIt ttYvs2ECkYYbNwfUJXMTrxixdoMp+NDcT/JD/vRuOKivw9rh3taRPVFFEMbsf/Dy BblfVD62ne4GSmJwJvyNuAZSwgqINu0xjOlxh2HhzwWuDQL33L3Bx+J9i0asdvjF XZAmdR0FsyCporwEZ3YHyB1xNstS30CxRMJaoX/lr8BYQUUBuLC+Wb8I/gjWGieC DL7II+HdgjvwpHqCJFt2WdKjwWIjT0yZEUCbfAFBgSVhz2ZPDjlwVPQzf+Oz5YC6 7lQdLmDi3VvvvCdf/Cj+LJYvd8FTvTZLw71p6DkEnXSE6Qrpm6FAm5sHbCsA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1718255693; x=1718342093; bh=MnsgW34wQ7cz4YRfoW7NYgHTLBvf v+/dv0Ea8psSj2E=; b=g/WRI9c84oRans5woeTZ/Rw44ByUKzooMYiwK2lrayDV wtZBBSi8amIemHMWESasWbNvcdInmQF81jNDmKBTGbHa28P64rNU6RUYrz2EUE6a xC8o5Ce5jTX5idAvOoIdp+vOag5sLFHzIobGre+h6d6O3iqzfzZmpUX9q4Ku+Fby bH+Mz8Zywe6BGVDvJ80Mje3SKiC2rPwKpo4X7HFiiRmEFrTpy9Zzg7qF7ZEVXu+S H3XH8bHUQMV5pxMq7lu4wScohPJ8TMJCq2rM0musMIyWL8oVpPyGIwsgGzwN2x4V 2e/AQFODCh86iqjwUgP2zOa1MGgVK2DDBJJlEhyhDA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfeduiedgieeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffujghffffkgggtsehttdertd dttddtnecuhfhrohhmpefuthgvvhgvnhcutehllhgvnhcuoehsthgvvhgvnhesshhtvggs rghlihgvnhdrtghomheqnecuggftrfgrthhtvghrnhephffgkedvteeivdeuhffhjeetke ejueefgeelffeiffffudeuveeivdejieelvdegnecuvehluhhsthgvrhfuihiivgeptden ucfrrghrrghmpehmrghilhhfrhhomhepshhtvghvvghnsehsthgvsggrlhhivghnrdgtoh hm X-ME-Proxy: Feedback-ID: ie8a146a7:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for <71525@debbugs.gnu.org>; Thu, 13 Jun 2024 01:14:52 -0400 (EDT) From: Steven Allen To: 71525@debbugs.gnu.org Subject: Re: bug#71525: Acknowledgement (30.0.50; Spin in delete-region/interval_deletion_adjustment) In-Reply-To: References: <87y17a55ny.fsf@stebalien.com> Date: Wed, 12 Jun 2024 22:14:49 -0700 Message-ID: <87ikydo246.fsf@stebalien.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 71525 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.7 (-) I just ran into this bug with jinx calling `next-single-char-property-change` and hanging forever. NOTE: I last compiled Emacs on the 8th, so the issue must have been introduced some time between now and then. From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 13 01:49:45 2024 Received: (at 71525) by debbugs.gnu.org; 13 Jun 2024 05:49:45 +0000 Received: from localhost ([127.0.0.1]:53152 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sHdLE-0008RD-Uf for submit@debbugs.gnu.org; Thu, 13 Jun 2024 01:49:45 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47354) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sHdLC-0008Qu-Ny for 71525@debbugs.gnu.org; Thu, 13 Jun 2024 01:49:44 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sHdL8-0000tG-09; Thu, 13 Jun 2024 01:49:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=KeGrMu8exub8Nqd8f0iG4dirF6sgAX6nu4Zwklb/bq4=; b=MlnD7nAE0Dyh Kg/nJMwdT0VRnhfxwEjlsRHGQR/ryuxq0tIaDOWjg1SzlTRwi6h+3BB4fiM0QQntcamJitMO0yfla nnb2aPeLSnu1i0tDZQgbkOGi+/VBud7icdjwKIFwoTjGS4k1yzvtcVeEP3af3++WacpZvRZT/gCdI EhwqSuw5QpXuesmMNvD0oUC4g68thgoz+Y8S8Cmf5Q46/+xgGdVmes6URLWMB9tgBHwqpR9Yaj2hG R1CnnrUPgwtqiD3fFB5Jzbv/TLxZCtAc+Er4L05E+OIJzjNMyVMxAKua65ZbK/xt1WGVFLbetFUIl ctYi1dr96Mx/fXucBuBAfQ==; Date: Thu, 13 Jun 2024 08:49:35 +0300 Message-Id: <86plslz91s.fsf@gnu.org> From: Eli Zaretskii To: Steven Allen In-Reply-To: <87y17a55ny.fsf@stebalien.com> (bug-gnu-emacs@gnu.org) Subject: Re: bug#71525: 30.0.50; Spin in delete-region/interval_deletion_adjustment References: <87y17a55ny.fsf@stebalien.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 71525 Cc: 71525@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 (---) > Date: Wed, 12 Jun 2024 12:20:49 -0700 > From: Steven Allen via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > After rebuilding today, enabling the eshell-tramp module and calling > sudo is causing a `delete-region` subcall (presumably from within > `tramp-wait-for-output`?) to spin within `interval_deletion_adjustment` > (or it might be repeatedly calling it?). > > NOTE: this happens after authentication. > > To reproduce: > > 1. `emacs -Q` > 2. `M-x eval-expression RET (require 'eshell) RET` > 3. `M-x eval-expression RET (add-to-list 'eshell-modules-list 'eshell-tramp)`. > 4. `M-x eshell` > 5. `sudo /usr/bin/echo` > 6. Authenticate, press enter, and watch Emacs lock up and go to 100% CPU usage. > > > I've collected two backtraces: one with native compilation > (with-native-comp.txt) and one after re-evaluating (with-eval.txt) the > appropriate files (tramp-sh.el, tramp.el) to rule out compilation > issues. See attached. Thanks, but please also start GDB from the Emacs src directory (or type "source /path/to/emacs/src/.gdbinit" after starting GDB), and show Lisp backtrace produced together with the C backtrace. This will make it easier to analyze the relevant Lisp code -- all those Ffuncall and Fapply calls will show the Lisp symbols they call. From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 13 01:52:51 2024 Received: (at 71525) by debbugs.gnu.org; 13 Jun 2024 05:52:51 +0000 Received: from localhost ([127.0.0.1]:53380 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sHdOE-00008Y-G7 for submit@debbugs.gnu.org; Thu, 13 Jun 2024 01:52:51 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33132) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sHdOC-00008E-HY for 71525@debbugs.gnu.org; Thu, 13 Jun 2024 01:52:49 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sHdO7-0001XU-UF; Thu, 13 Jun 2024 01:52:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=65YU//pMpELYeKPYrW3uh1zhzFsr00kQwoBbBcckmDg=; b=Os3AV9HWFw1+ MYgp/XDyXrS5o/p7EUnYSW9usu7Ccdr/lAaq9JP5niWpAdWjjn89NDDF9kFGgR1+PO4RH/5iwS+Se AHxA5IQdNMxPP0pN2iMaf39QoioXniqvXSpnnLIPNvhDMDxMeQxx7W/k+HJ8AwK65fXJJtnWhx2xR pAFwEuFJln6l0pyNdP0+0H6VZzW7QtBelItj7YZ8rNxbkr0Bs6PpTyYzhTpHZaDZHGeTQ02SMvfX5 j6GTMLdtzom38Cab5EP/M+z9YTFd/pUnPLHH2X+dy0lfMDWBUTfpHFgNorjkFMrilPARKWfwb8mPU V/+OMfYRm4makzDjhI9w7w==; Date: Thu, 13 Jun 2024 08:52:42 +0300 Message-Id: <86o785z8wl.fsf@gnu.org> From: Eli Zaretskii To: Steven Allen In-Reply-To: <87ikydo246.fsf@stebalien.com> (bug-gnu-emacs@gnu.org) Subject: Re: bug#71525: 30.0.50; Spin in delete-region/interval_deletion_adjustment Spin in delete-region/interval_deletion_adjustment) References: <87y17a55ny.fsf@stebalien.com> <87ikydo246.fsf@stebalien.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 71525 Cc: 71525@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 (---) > Date: Wed, 12 Jun 2024 22:14:49 -0700 > From: Steven Allen via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > > I just ran into this bug with jinx calling > `next-single-char-property-change` and hanging forever. > > NOTE: I last compiled Emacs on the 8th, so the issue must have been > introduced some time between now and then. Yes, please update from Git and try again. There were a couple of bugs fixed meanwhile which could explain what you see. From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 13 11:32:25 2024 Received: (at 71525) by debbugs.gnu.org; 13 Jun 2024 15:32:25 +0000 Received: from localhost ([127.0.0.1]:33299 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sHmR7-0006P2-Ii for submit@debbugs.gnu.org; Thu, 13 Jun 2024 11:32:25 -0400 Received: from fhigh6-smtp.messagingengine.com ([103.168.172.157]:47229) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sHmR4-0006OS-VL for 71525@debbugs.gnu.org; Thu, 13 Jun 2024 11:32:24 -0400 Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 4034C1140122; Thu, 13 Jun 2024 11:32:18 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Thu, 13 Jun 2024 11:32:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stebalien.com; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm3; t=1718292738; x= 1718379138; bh=30ECZ194ETsZTv5Q+5EwmOm7wcxja4fy73qgjkh6y40=; b=Z cioI6FDCQwaiJTkZ/5tb6sscqir6szYHMWZrw6KZw3dV+Xnbv+FnBD5d8SKcgfos +rnCyLYvZj1SkiSYtEies1xIbgyaoa8XgW8zEWNEbeb6LQd6rAiGOfZ4RxeVw3qY RcD7cjwXyQKmGoIcdCeFtlenzAB7iAvid7xB4v2Mm3lcaMyvyZI71CeMMZMc3ODU pQ2kfeq8zmEQQWnHvI+V2CVcOb3cHizJkmDhnW/8WAZ+h+pl57VBPymu4OfnmIt4 sLfwvuifWMrCNnxmKnVkEQxt18ZOD9wAkXbEXDRoXY07fwRmt3jJDxx7KzMFWPhz QplhQgoG2dOor4qQ6K+ZA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1718292738; x=1718379138; bh=30ECZ194ETsZTv5Q+5EwmOm7wcxj a4fy73qgjkh6y40=; b=WO+Gy1SLdNIZZZAJNOI+H7fTk1WpzEMj+BLPjdDWajCq 1aXAQm587KOqA9NQnh1+vMPIpj9JsxNbgx6gUaBvtsgtfqUGM0QDfCdw/7+cNENG DMBzvq/f/hh0ceKXGQZ5FbmK+KZew4SXcQqT+ndZSc9+3JOD8C54hOQvzbkG2ofY vhP++FvASzL7t5FtWtjGHX7rJJWxEzI/jbHJOoWraIO6Ygxa9cfDa26UThGvO0aZ mYLZZsNC8d6kYMizmmlHzpj6HKABC1OwqlWZ8iSFLRaIzxWbWSYu2ouroPxp4eMU gGubbmNKVo/R6l5L/nspD6fEOzURVmpLfsUY5WAIjw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfedujedgkeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefujghffffkgggtsehttdertddttddtnecuhfhrohhmpefuthgvvhgv nhcutehllhgvnhcuoehsthgvvhgvnhesshhtvggsrghlihgvnhdrtghomheqnecuggftrf grthhtvghrnhepvdekheekgeelheehgefgudelkeethffhgfeuffetkeegtddvfeduuddt tdejjedvnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epshhtvghvvghnsehsthgvsggrlhhivghnrdgtohhm X-ME-Proxy: Feedback-ID: ie8a146a7:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 13 Jun 2024 11:32:17 -0400 (EDT) From: Steven Allen To: Eli Zaretskii Subject: Re: bug#71525: 30.0.50; Spin in delete-region/interval_deletion_adjustment Spin in delete-region/interval_deletion_adjustment) In-Reply-To: <86o785z8wl.fsf@gnu.org> References: <87y17a55ny.fsf@stebalien.com> <87ikydo246.fsf@stebalien.com> <86o785z8wl.fsf@gnu.org> Date: Thu, 13 Jun 2024 08:32:14 -0700 Message-ID: <87tthwrh8h.fsf@stebalien.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 71525 Cc: 71525@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: -1.7 (-) > Yes, please update from Git and try again. There were a couple of > bugs fixed meanwhile which could explain what you see. Ah, no, I mean the bug was introduced between the 8th and the 12th. Between: - e2527dd9fd376b15d2f59ae440858b442b069577 (8th) - 6893c327e982528fdc93e3a956a4b6830a09ea3f (12th) From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 13 11:53:01 2024 Received: (at 71525) by debbugs.gnu.org; 13 Jun 2024 15:53:01 +0000 Received: from localhost ([127.0.0.1]:34984 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sHml3-0007QY-Dj for submit@debbugs.gnu.org; Thu, 13 Jun 2024 11:53:01 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37282) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sHml0-0007Py-RZ for 71525@debbugs.gnu.org; Thu, 13 Jun 2024 11:53:00 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sHmkv-0005Ey-Ok; Thu, 13 Jun 2024 11:52:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=w8Z6jjt791v/zMn5KXbedikuqBvkiqFSl8U2dZAos5s=; b=IZGx/+fEMZtp WLk75FrerXfB2dWf7acc92w5zphPurpYRbXhS26Qa0JutdvndrM6ogzB56PXsd9eSKH9xCEsi9DW4 bDzm80qj98TNOavtA6/UiAFpZVVpPK3UHxy02CaIjIGhkluOA5Wt6idS/O6g+07cSRtS0YAcYxogl lfRm2NMlIteerIn5kCzcNOtAE11bzUCBYkHAFm5EmOQlBTlb3plaNWlazQyaV4k7p8BsTALLrhmKd /qVk2xuvOZ8cGXRC4ygKNUEf6KcdP0U+rE/xAsvnbEd4398Q5E7e1Y7heL7P/vZ05wH/zvwdmS0U/ us27hsEnmlorFAGg6V5bSg==; Date: Thu, 13 Jun 2024 18:52:42 +0300 Message-Id: <867ceszvp1.fsf@gnu.org> From: Eli Zaretskii To: Steven Allen , Jim Porter In-Reply-To: <87tthwrh8h.fsf@stebalien.com> (message from Steven Allen on Thu, 13 Jun 2024 08:32:14 -0700) Subject: Re: bug#71525: 30.0.50; Spin in delete-region/interval_deletion_adjustment Spin in delete-region/interval_deletion_adjustment) References: <87y17a55ny.fsf@stebalien.com> <87ikydo246.fsf@stebalien.com> <86o785z8wl.fsf@gnu.org> <87tthwrh8h.fsf@stebalien.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 71525 Cc: 71525@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: Steven Allen > Cc: 71525@debbugs.gnu.org > Date: Thu, 13 Jun 2024 08:32:14 -0700 > > > > Yes, please update from Git and try again. There were a couple of > > bugs fixed meanwhile which could explain what you see. > > Ah, no, I mean the bug was introduced between the 8th and the 12th. > Between: > > - e2527dd9fd376b15d2f59ae440858b442b069577 (8th) > - 6893c327e982528fdc93e3a956a4b6830a09ea3f (12th) I see a couple of Eshell-related changes, but no obvious suspects. Can someone please reproduce this and post a detailed backtrace, including Lisp backtrace? Jim, are you looking into this? From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 13 12:00:45 2024 Received: (at 71525) by debbugs.gnu.org; 13 Jun 2024 16:00:45 +0000 Received: from localhost ([127.0.0.1]:35575 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sHmsW-0007oU-FG for submit@debbugs.gnu.org; Thu, 13 Jun 2024 12:00:45 -0400 Received: from fhigh6-smtp.messagingengine.com ([103.168.172.157]:55261) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sHmsS-0007o7-S2 for 71525@debbugs.gnu.org; Thu, 13 Jun 2024 12:00:43 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 21EBC11401D7; Thu, 13 Jun 2024 12:00:36 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Thu, 13 Jun 2024 12:00:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stebalien.com; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm3; t=1718294436; x= 1718380836; bh=d/nu6XvsLO+mY3qel8tR1/2Y6tQmvSlUhnjSP413cYE=; b=K gEQaX/BLNZhhvGkm2JmaAVKexAQwVGvzThIeKusUxtWPXViy/4DE+51tGf7jrViu Z7kQBj9mnwUfaIFOCT9ue4pRbyTxZImbYWksE0uFExE1svfpv5CnWP10H1tQvUTC frtrt3UwadjkKMUsTYUSmvQrCjtjusy7t06MGLJSgV6SCFmYb2jxpJShrlYMS3t1 BzEZAJnv2yHKzKNlUgue5YmoaJXJdK33HIa25XSE2qvF/2g8XhWva64JuuwgD4HL 55Hprnf+TuYBm5BnHOPMfEoOCR7urwhyR7GXjwzi6cViat3rfLfV1baj8a8BFTLx r5ZR2L1h3XPNWXS3JuRCw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1718294436; x=1718380836; bh=d/nu6XvsLO+mY3qel8tR1/2Y6tQm vSlUhnjSP413cYE=; b=q3gIU4Ihk7N7erQ9ZYkCQ0oIkWG1eep5ZQCmx4AHuXCd 1GOVbMYLJZ4kLngFLpHINk2ijCu51w+8yIx32rehTan6An6gkypHqrg1+TthMKvs gh7HidllyqOKZoWFNYvEX+2bBQ9PCjG6oiQbiBvt9VAuis7SePEwHa86iOW7HwWD 425E3sVtnFhm9qyW0IUM9Vse4nCg+teGaOTSNUmS92EO7lPGsGCfDWxHGhXwFVOr 7n9u8zK6Qi/tkFCz6fmWnALYIba1QVSUj+PZN7awPN6jJwZTqaz9kio1CavPXIHN w/dUd7nZVVoqLZXpfCNajepsLiHzaFLgYscj61IW5Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfedujedgleefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefujghffffkgggtsehttdertddttddtnecuhfhrohhmpefuthgvvhgv nhcutehllhgvnhcuoehsthgvvhgvnhesshhtvggsrghlihgvnhdrtghomheqnecuggftrf grthhtvghrnhepjefffeduvdeifeegveekgefgleehhfffgeelteffteeutdetgfegffeh ueefkedtnecuffhomhgrihhnpehgnhhurdhorhhgnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomhepshhtvghvvghnsehsthgvsggrlhhivghnrdgt ohhm X-ME-Proxy: Feedback-ID: ie8a146a7:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 13 Jun 2024 12:00:35 -0400 (EDT) From: Steven Allen To: Eli Zaretskii , Jim Porter Subject: Re: bug#71525: 30.0.50; Spin in delete-region/interval_deletion_adjustment Spin in delete-region/interval_deletion_adjustment) In-Reply-To: <867ceszvp1.fsf@gnu.org> References: <87y17a55ny.fsf@stebalien.com> <87ikydo246.fsf@stebalien.com> <86o785z8wl.fsf@gnu.org> <87tthwrh8h.fsf@stebalien.com> <867ceszvp1.fsf@gnu.org> Date: Thu, 13 Jun 2024 09:00:33 -0700 Message-ID: <87r0d0rfxa.fsf@stebalien.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 71525 Cc: 71525@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: -1.7 (-) Eli Zaretskii writes: > I see a couple of Eshell-related changes, but no obvious suspects. > > Can someone please reproduce this and post a detailed backtrace, > including Lisp backtrace? Jim, are you looking into this? It's hanging in the C code, not lisp. I believe the issue is: https://lists.gnu.org/archive/html/emacs-devel/2024-06/msg00241.html So I'm trying that patch now. If that doesn't work, I'll produce a backtrace sometime later today. From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 13 12:06:17 2024 Received: (at 71525) by debbugs.gnu.org; 13 Jun 2024 16:06:17 +0000 Received: from localhost ([127.0.0.1]:36029 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sHmxt-00085p-DC for submit@debbugs.gnu.org; Thu, 13 Jun 2024 12:06:17 -0400 Received: from fout8-smtp.messagingengine.com ([103.168.172.151]:35487) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sHmxq-00085P-V8 for 71525@debbugs.gnu.org; Thu, 13 Jun 2024 12:06:16 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailfout.nyi.internal (Postfix) with ESMTP id D94651380096; Thu, 13 Jun 2024 12:06:09 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Thu, 13 Jun 2024 12:06:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stebalien.com; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm3; t=1718294769; x= 1718381169; bh=SF+ifcpQeWQ7VcXRwXxegUbbyyNcOE/2b8lefY/ns4E=; b=g nPl9HgsSgL1eGb+pHZ4xgvn6v3oeX8DGPRLy7Dz6IwB1EC5a/SOuNJGSrwPHDq2b 4d7flhk+DIZpek0AAVA48gyGjD8VUMzCGGrBoiRyTY3kyTO3oSImrAKBPceQu2RU 08vIinZPh11+mJhNdS9bz2x44ZwhxPOwOCBPipQaokqYiAqj9lzdYfIWsA1XghcB JGJM8y0kYDipBhZXLQ+j2OzTmuzviZ2G3gNqZ1epZzbYvIV2wvGeYT9V8nmzH1FX ZKRKQViZ0dIruErV7NawR7C2QGOdQGHuL8ZgsYKqCccIJckqLPmrFVRvCI73pnCQ 8p4pwhMGwA4a3PRk7pl0w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1718294769; x=1718381169; bh=SF+ifcpQeWQ7VcXRwXxegUbbyyNc OE/2b8lefY/ns4E=; b=p/5b4aJrihvUKHxTq3B0Hx73jpYpHMtlZRHnubh2dMkO SfgG+H2Dqgb9VocbEu0SkKArmR2VxSuHEJvDGYrapyuLdsVyA+03GM43F3uyQbYs YjMIeOFXqXQ5M0sH3MOr44mE9mBel2RAuOwOMAG1OH4R9fyT2PTzuj3w6uysoZIE Xx99kJSUFWC5cGsIarY3Oyjs0SugcnuaOqpkWz++JscoESFFSw4eqceku/8obLYH xpGeJwJqP78LqcHocDXKCivWMO5dzlXtuRuI8ZSZL2VjPMSz4T3zFhXdSHPHvm3u kY8Mk9EOqWBsvCS6UxAdAx61FqwBgLkBezwlmeTwww== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfedujedgleegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefujghffffkgggtsehttdertddttddtnecuhfhrohhmpefuthgvvhgv nhcutehllhgvnhcuoehsthgvvhgvnhesshhtvggsrghlihgvnhdrtghomheqnecuggftrf grthhtvghrnhepjefffeduvdeifeegveekgefgleehhfffgeelteffteeutdetgfegffeh ueefkedtnecuffhomhgrihhnpehgnhhurdhorhhgnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomhepshhtvghvvghnsehsthgvsggrlhhivghnrdgt ohhm X-ME-Proxy: Feedback-ID: ie8a146a7:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 13 Jun 2024 12:06:09 -0400 (EDT) From: Steven Allen To: Eli Zaretskii , Jim Porter Subject: Re: bug#71525: 30.0.50; Spin in delete-region/interval_deletion_adjustment Spin in delete-region/interval_deletion_adjustment) In-Reply-To: <87r0d0rfxa.fsf@stebalien.com> References: <87y17a55ny.fsf@stebalien.com> <87ikydo246.fsf@stebalien.com> <86o785z8wl.fsf@gnu.org> <87tthwrh8h.fsf@stebalien.com> <867ceszvp1.fsf@gnu.org> <87r0d0rfxa.fsf@stebalien.com> Date: Thu, 13 Jun 2024 09:06:07 -0700 Message-ID: <87bk44bzf4.fsf@stebalien.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 71525 Cc: 71525@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: -1.7 (-) Steven Allen writes: > Eli Zaretskii writes: >> I see a couple of Eshell-related changes, but no obvious suspects. >> >> Can someone please reproduce this and post a detailed backtrace, >> including Lisp backtrace? Jim, are you looking into this? > > It's hanging in the C code, not lisp. I believe the issue is: > > https://lists.gnu.org/archive/html/emacs-devel/2024-06/msg00241.html > > So I'm trying that patch now. > > If that doesn't work, I'll produce a backtrace sometime later today. I can confirm that the linked patch fixes the issue. Would you still like me to produce a backtrace? From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 13 12:31:19 2024 Received: (at 71525) by debbugs.gnu.org; 13 Jun 2024 16:31:20 +0000 Received: from localhost ([127.0.0.1]:36785 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sHnM7-0000Zw-Le for submit@debbugs.gnu.org; Thu, 13 Jun 2024 12:31:19 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34962) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sHnM5-0000Zi-OK for 71525@debbugs.gnu.org; Thu, 13 Jun 2024 12:31:18 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sHnM0-000521-C8; Thu, 13 Jun 2024 12:31:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=hhgFlusSAniu6ut+kd+JrPDWXEpFttOvd3YW17oL6rs=; b=F24DAvfv6Ewm ruv7SvKZeUxkKr+nQYcrdE2go2Cer6Z1CV+BvLWFeqxdi0vs4ZQlRo19MwaNzWQb+JIetvwObI/rv uG8bTN26P/nxPj5haQTAyxhRVhVDjKrBe5BkgSQwnNesHhEpDGIM+4fYbGg0WjIyc/E+Q8C+p4hEI 8EhUls8Kob6f8efsSTtghfeePP/TjhM/1jm+XNihVdXjildEOcKv9+bTgGc1C5SlF3Os8ODbUoKiF 9UzTQGHdx97W09Oaz7IHJkC6hfVWvoXDutUXEvLmuclfwxxxfaSdP8c9aRAcvyD/+epg78OufGJSt x0yhaDo+EM/qs8L8DVjtBQ==; Date: Thu, 13 Jun 2024 19:31:07 +0300 Message-Id: <8634pgztx0.fsf@gnu.org> From: Eli Zaretskii To: Steven Allen In-Reply-To: <87bk44bzf4.fsf@stebalien.com> (message from Steven Allen on Thu, 13 Jun 2024 09:06:07 -0700) Subject: Re: bug#71525: 30.0.50; Spin in delete-region/interval_deletion_adjustment Spin in delete-region/interval_deletion_adjustment) References: <87y17a55ny.fsf@stebalien.com> <87ikydo246.fsf@stebalien.com> <86o785z8wl.fsf@gnu.org> <87tthwrh8h.fsf@stebalien.com> <867ceszvp1.fsf@gnu.org> <87r0d0rfxa.fsf@stebalien.com> <87bk44bzf4.fsf@stebalien.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 71525 Cc: jporterbugs@gmail.com, 71525@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: Steven Allen > Cc: 71525@debbugs.gnu.org > Date: Thu, 13 Jun 2024 09:06:07 -0700 > > > Steven Allen writes: > > Eli Zaretskii writes: > >> I see a couple of Eshell-related changes, but no obvious suspects. > >> > >> Can someone please reproduce this and post a detailed backtrace, > >> including Lisp backtrace? Jim, are you looking into this? > > > > It's hanging in the C code, not lisp. I believe the issue is: > > > > https://lists.gnu.org/archive/html/emacs-devel/2024-06/msg00241.html > > > > So I'm trying that patch now. > > > > If that doesn't work, I'll produce a backtrace sometime later today. > > I can confirm that the linked patch fixes the issue. Would you still > like me to produce a backtrace? No need, thanks. That issue is already on someone's table. From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 13 15:19:15 2024 Received: (at 71525) by debbugs.gnu.org; 13 Jun 2024 19:19:15 +0000 Received: from localhost ([127.0.0.1]:39240 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sHpyd-0005PD-3w for submit@debbugs.gnu.org; Thu, 13 Jun 2024 15:19:15 -0400 Received: from mail-pf1-f182.google.com ([209.85.210.182]:59852) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sHpya-0005Ow-1Y for 71525@debbugs.gnu.org; Thu, 13 Jun 2024 15:19:13 -0400 Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-705cffc5bcfso903540b3a.3 for <71525@debbugs.gnu.org>; Thu, 13 Jun 2024 12:19:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718306286; x=1718911086; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=k2QdlesjHMM9o09KrCa6yEokG8J+aU7bHpeK3wNlIwg=; b=Ry9wrljFN8N4ca/CpN0axf0Z+bQu5Xpz4Pua58IBGTIKDSnSBlDmic+xmSxELPenyo oM28UmF8zlu2u2fz7XzQhY+1hbFncPIlx2F1NvIgdUxu5G1tGYtpKgKVpwI/JjYmGFdU zt3GhIQkxAIHQDrchH7YOJkqWYegmg6S/NFUwsRbsCwz0A9rDyHHEXlmdY73aazMdJ9M /fHKYhE1+DLxYsZUWfK/cqRDw/X1alx4mtD0hEC4yec4OsACANVrdNb4GACeSlZWGQpa Nc4/u9WfZG7FQttWMdOSrZL1lYsUExzkkxscUN9unW6OhRf02cWFYlXYcDdYPQScYZlF wH/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718306286; x=1718911086; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=k2QdlesjHMM9o09KrCa6yEokG8J+aU7bHpeK3wNlIwg=; b=AxlNMb7TGCmJZzo0RjyWkacibFbfQjtEK/pl/66taUT3kSGrvx5w9LAppjp4/GmEjC 0UYCxwcMlWgxqVyetI7b5Zg60TV4iuNk9+pEfpEJKbFbR4yxD01LaalFAj+1kvgNMOfM EjiRuaIOBjKGptiUMX++OpZkPsq95D/j8wHQSVfdyv7Z/bHY824dQPw4lU1B7JghDyCt MjPRTWx68bNI5syDSYXJ6NX61dhgSgW1WS8fZng3UdkISe8F+XbgKUTuR9fv6ynUBIZy QNKZHQ+nUszghGhEnpM5EvE7dB+Mu2PsUu83BW/MX3wO60fQLc0xWUAIQLHJit3FW1UH x/lA== X-Gm-Message-State: AOJu0Yxi7Z7KvT4WogEmwgr6+8NTpscQD//N73y86jv0F43UNPcJxS8i iXkOL0qDMZOrAXg1QBLjoKZwWpMh7HPCuNvgZ0i/eg1jT3bxjwJd X-Google-Smtp-Source: AGHT+IEa40LHQdyG1i3/JpvOo3t4wTwYQ8EsjA6OsURUn+ZZnaEyOc+FSfj7dVQwR32ZdJLQEZP9Bg== X-Received: by 2002:aa7:8a47:0:b0:6ed:d8d2:5040 with SMTP id d2e1a72fcca58-705d71bd78dmr679717b3a.21.1718306286287; Thu, 13 Jun 2024 12:18:06 -0700 (PDT) Received: from [192.168.1.2] (syn-023-240-098-037.res.spectrum.com. [23.240.98.37]) by smtp.googlemail.com with ESMTPSA id d2e1a72fcca58-705ccb3c2bbsm1727347b3a.98.2024.06.13.12.18.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 13 Jun 2024 12:18:05 -0700 (PDT) Message-ID: <08b9b04d-7c6e-20ed-89ec-4d74f345704d@gmail.com> Date: Thu, 13 Jun 2024 12:18:03 -0700 MIME-Version: 1.0 Subject: Re: bug#71525: 30.0.50; Spin in delete-region/interval_deletion_adjustment Spin in delete-region/interval_deletion_adjustment) To: Eli Zaretskii , Steven Allen References: <87y17a55ny.fsf@stebalien.com> <87ikydo246.fsf@stebalien.com> <86o785z8wl.fsf@gnu.org> <87tthwrh8h.fsf@stebalien.com> <867ceszvp1.fsf@gnu.org> Content-Language: en-US From: Jim Porter In-Reply-To: <867ceszvp1.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 71525 Cc: 71525@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: -1.0 (-) On 6/13/2024 8:52 AM, Eli Zaretskii wrote: > Can someone please reproduce this and post a detailed backtrace, > including Lisp backtrace? Jim, are you looking into this? It sounds like we've found the culprit, but I am tracking this and can help fix/update Eshell if that's the way we decide to go. (I haven't read through all of bug#66020 yet so I don't fully understand all of the changes there, and can't yet say where the fix should be.) From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 13 15:42:17 2024 Received: (at 71525) by debbugs.gnu.org; 13 Jun 2024 19:42:17 +0000 Received: from localhost ([127.0.0.1]:39283 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sHqKs-000642-HU for submit@debbugs.gnu.org; Thu, 13 Jun 2024 15:42:17 -0400 Received: from fhigh1-smtp.messagingengine.com ([103.168.172.152]:49699) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sHqKp-00063k-59 for 71525@debbugs.gnu.org; Thu, 13 Jun 2024 15:42:13 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailfhigh.nyi.internal (Postfix) with ESMTP id B3AE111401D8; Thu, 13 Jun 2024 15:42:05 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Thu, 13 Jun 2024 15:42:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stebalien.com; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm3; t=1718307725; x= 1718394125; bh=JNnHNpACPSZ4Of0IRhOvUuXFOyixnbtd2t+AEwAnsB4=; b=g fB+RacpE7WydPWjlVPJ8IExYFio99Immth82OiXJGIMFYXaeOqSX+j9C1BdvCaE9 aUpJgC+mR8J0FQVzk67Y+enofiymakiyN9bl4lv0iuJWoios+h8p/d30SViqeJo1 Bz88fQ2C4QA98PXOO18xSGymimvaw5PONZFupnF1AYGonjuGSaPFWagH6K9U2+Me /gtgEVNQbqiISaWy8pY+ymbEUSBRTSoTatvRWz/QqtnOJUEXQn4Odzjx4Lxh2qL0 SvrSWPzv6+xBn64Ji23luVRV714kDczESAK7MGx1nI4rTJWJilYgMI8F7UTYG97B bcbP3G9Ob4FF3gmZMjrPw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1718307725; x=1718394125; bh=JNnHNpACPSZ4Of0IRhOvUuXFOyix nbtd2t+AEwAnsB4=; b=AyK5pADg8Lq6QzQCrZ92YKFsrUI3mFs6M5FZlNSoZXin 2hzK5DH7C/fvsf4YwmRVMGuY8epUlZHta9xJjPk0icbo6pLPLLIsOGW6uWfAygmr dKQBNVIyEiDMt/uTspLRTr7lTV70YWF6pevahhbGKFptgSDcd/nt69SWoY4nmG14 tx5pm0+98tum29OCxRDO8gnAlz6SzFbwjxUs5YMbH5oyV1yj1C7oTaXJQuAWdobh DUn4t+tlX9eVWaHInrDcduBAgVv7ORp61IybnopEJxAxwe5T/kzyT4Ndm5nAev0l 337oOGt42ZcdoJLili8dKLlkoMswKEJbFTmWFVnv1g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfedujedgudefiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvfevufgjfhffkfggtgesthdtredttddttdenucfhrhhomhepufhtvghv vghnucetlhhlvghnuceoshhtvghvvghnsehsthgvsggrlhhivghnrdgtohhmqeenucggtf frrghtthgvrhhnpedvkeehkeegleehheeggfduleektefhhffgueffteekgedtvdefuddu tddtjeejvdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehsthgvvhgvnhesshhtvggsrghlihgvnhdrtghomh X-ME-Proxy: Feedback-ID: ie8a146a7:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 13 Jun 2024 15:42:05 -0400 (EDT) From: Steven Allen To: Jim Porter , Eli Zaretskii Subject: Re: bug#71525: 30.0.50; Spin in delete-region/interval_deletion_adjustment Spin in delete-region/interval_deletion_adjustment) In-Reply-To: <08b9b04d-7c6e-20ed-89ec-4d74f345704d@gmail.com> References: <87y17a55ny.fsf@stebalien.com> <87ikydo246.fsf@stebalien.com> <86o785z8wl.fsf@gnu.org> <87tthwrh8h.fsf@stebalien.com> <867ceszvp1.fsf@gnu.org> <08b9b04d-7c6e-20ed-89ec-4d74f345704d@gmail.com> Date: Thu, 13 Jun 2024 12:42:02 -0700 Message-ID: <87sexgd3zp.fsf@stebalien.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 71525 Cc: 71525@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: -1.7 (-) Jim Porter writes: > It sounds like we've found the culprit, but I am tracking this and can > help fix/update Eshell if that's the way we decide to go. (I haven't > read through all of bug#66020 yet so I don't fully understand all of the > changes there, and can't yet say where the fix should be.) >From what I can tell, it's not Eshell, just triggered by Eshell. It appears that Emacs locks up _inside_ the C code and never leaves (not even `C-g` works). I believe I reproduced this once with `jinx` calling `next-single-char-property-change` in a non-eshell buffer. At the very least, it locked up in the same way (right after I tried to delete a buffer). But I'm not sure how that would have interacted with the process output code. From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 13 17:47:52 2024 Received: (at 71525) by debbugs.gnu.org; 13 Jun 2024 21:47:52 +0000 Received: from localhost ([127.0.0.1]:39370 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sHsIS-0000lH-D7 for submit@debbugs.gnu.org; Thu, 13 Jun 2024 17:47:52 -0400 Received: from fhigh2-smtp.messagingengine.com ([103.168.172.153]:56781) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sHsIP-0000l1-Mf for 71525@debbugs.gnu.org; Thu, 13 Jun 2024 17:47:50 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 8502911400A3; Thu, 13 Jun 2024 17:47:44 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Thu, 13 Jun 2024 17:47:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1718315264; x=1718401664; bh=kMRnByZZSS/sZ3N9rFEEcBCw87BnJJf7S5LahK95wfc=; b= O+pHXOOHRW86EsoIfPxo9TI9ZziAiaVtYQbGs5FwySwZnC1vmxV37cCJXRbFKBj7 +I30sb25aun17sqGUutxOh7wyWAjF1nQvBplb1iUHWJGJgMbhOz7rEmw7hmr8sik q6Mtx4xjBQUSi7avzvaGuCS6A86Fhg9w/YzCoz/mrPJyqT6GrCmWGJCp6UFKqBBV /lMwrY/dstjZlH2m+arE2DZkzjhBUhGxo5j5xr57OMwuNTw2fngB21YVFCgk51p4 2tQMd4eSKSViNdCi9P2RsDXX3YDChtzAYbmtTPzESxIvRqMKXbhEkreGN9MbP9TZ M+bmh+ShjVXuxzZ0KcQdfg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1718315264; x= 1718401664; bh=kMRnByZZSS/sZ3N9rFEEcBCw87BnJJf7S5LahK95wfc=; b=U hYGZfGIOLLm6jw8HMbIAtwJ1O/RQ+6/F7/NY4Wq1irtEPJjoSKP3SdC3Yoww5qY+ Z9hFPv3lEViEDE1KZKUoO0oCY7lo+X6Siv4FvqMq+s6V6sSh5NjsjP6gqpypycXj IKB1PBvKw/xmHZhGdcAmGpkqdvEpCT1yhrRdbG3PLhk+n5Iz0m4FB3rocCCAZEDY r26CHD9oO3XXE91w8HKH8oQbYCzuZyg7UgMwmM+FtkKYM3uf2+veRFtXvSOOSO+H ptgwsmp10nCOORRaMKLII/JqhdOLc3Bvt5BWR8kbdxBSsH2uzp8EeHrBNGkKCPN2 TAq/lS3igndAOm6nqliAg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfedukedgtdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpeffmhhi thhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrth htvghrnhepffeifedvleeukedtgfelieegudfgveekfeejveejffetffeuueeugefhveei uddvnecuffhomhgrihhnpehgnhhurdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepughmihhtrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 13 Jun 2024 17:47:42 -0400 (EDT) Message-ID: Date: Fri, 14 Jun 2024 00:47:40 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bug#71525: 30.0.50; Spin in delete-region/interval_deletion_adjustment Spin in delete-region/interval_deletion_adjustment) To: Eli Zaretskii , Steven Allen References: <87y17a55ny.fsf@stebalien.com> <87ikydo246.fsf@stebalien.com> <86o785z8wl.fsf@gnu.org> <87tthwrh8h.fsf@stebalien.com> <867ceszvp1.fsf@gnu.org> <87r0d0rfxa.fsf@stebalien.com> <87bk44bzf4.fsf@stebalien.com> <8634pgztx0.fsf@gnu.org> Content-Language: en-US From: Dmitry Gutov In-Reply-To: <8634pgztx0.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 71525 Cc: jporterbugs@gmail.com, 71525@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: -1.7 (-) On 13/06/2024 19:31, Eli Zaretskii wrote: >> From: Steven Allen >> Cc:71525@debbugs.gnu.org >> Date: Thu, 13 Jun 2024 09:06:07 -0700 >> >> >> Steven Allen writes: >>> Eli Zaretskii writes: >>>> I see a couple of Eshell-related changes, but no obvious suspects. >>>> >>>> Can someone please reproduce this and post a detailed backtrace, >>>> including Lisp backtrace? Jim, are you looking into this? >>> It's hanging in the C code, not lisp. I believe the issue is: >>> >>> https://lists.gnu.org/archive/html/emacs-devel/2024-06/msg00241.html >>> >>> So I'm trying that patch now. >>> >>> If that doesn't work, I'll produce a backtrace sometime later today. >> I can confirm that the linked patch fixes the issue. Would you still >> like me to produce a backtrace? > No need, thanks. That issue is already on someone's table. I think I see it now. The thing is, decode_coding_c_string already calls adjust_markers_for_insert through decode_coding_object->decode_coding->produce_chars->insert_from_gap And the extra call moves the markers too far. Unfortunately, it's called with BEFORE_MARKERS=nil, and the above call chain makes it difficult to pass through the extra argument. Perhaps we should do this? diff --git a/src/process.c b/src/process.c index eb526311c53..3c6cbe9b188 100644 --- a/src/process.c +++ b/src/process.c @@ -6423,9 +6423,17 @@ read_and_insert_process_output (struct Lisp_Process *p, char *buf, specbind (Qinhibit_modification_hooks, Qt); decode_coding_c_string (process_coding, (unsigned char *) buf, nread, curbuf); - adjust_markers_for_insert (PT, PT_BYTE, - PT + process_coding->produced_char, - PT_BYTE + process_coding->produced, true); + /* The previous call adjusts the markers, except for those + exactly at PT (it inserts with BEFORE_MARKERS=nil). */ + struct Lisp_Marker *m; + for (m = BUF_MARKERS (current_buffer); m; m = m->next) + { + if (m->bytepos == PT_BYTE) + { + m->bytepos = PT_BYTE + process_coding->produced; + m->charpos = PT + process_coding->produced_char; + } + } unbind_to (count1, Qnil); read_process_output_set_last_coding_system (p, process_coding); That doesn't adjust the overlays, however (the adjust_overlays_for_insert call inside adjust_markers_for_insert). And doing the same trick with them seems more difficult. From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 13 19:41:26 2024 Received: (at 71525) by debbugs.gnu.org; 13 Jun 2024 23:41:26 +0000 Received: from localhost ([127.0.0.1]:39421 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sHu4M-0003Y5-59 for submit@debbugs.gnu.org; Thu, 13 Jun 2024 19:41:26 -0400 Received: from fhigh3-smtp.messagingengine.com ([103.168.172.154]:50585) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sHu4J-0003Xq-VD for 71525@debbugs.gnu.org; Thu, 13 Jun 2024 19:41:24 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 0B45C11401D2; Thu, 13 Jun 2024 19:41:19 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Thu, 13 Jun 2024 19:41:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1718322079; x=1718408479; bh=hvZCwgT5wb p2GGyCe9iNuo0Rlw1wCSYlXb7qSkrM56c=; b=KZ3gD5VY7W9m4JzJqxe4Oe8Cgm Cc+PDQyUm1YppAAz4mC1gynPxs3V+ResdF6K56PLt1B+Lq/OtiIjseMYEIR0qqWe DmsyAUBkaiZa9k4zMu9WANB+8mQEOdR7rqwQQBMzINJydmyXLyU3WDu5YiZUglBe T9v05WPKpB1PxxXsMOg3mOB8y5gL0f3K47HkyShE0EyyVX1hnyPSRPMX8FW4ZScc 8BQuKg1HK1GOmaQP+eg+C8HDYabjFS6+Vv1WDBMw8iWwaSjmJFmXOW4TunywkMLA +dTvMspav8Z+2sI/vL6ZSL5nSrLt5Yhqxr4eXGKd0r5B3XHDeYWLOCLJuYHw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1718322079; x=1718408479; bh=hvZCwgT5wbp2GGyCe9iNuo0Rlw1w CSYlXb7qSkrM56c=; b=f7sEHDEngjac5QPVJpofchERLVHZnRO5vSYtpLjVnvCi XHWVRLQkujpeinD9+PoyWbpLlH44rPCs6vGDmK3adeed/pd7VZrztBibmLj5X00p tkv4VGrN9aFPo0plm3KJMNKISQyVlQT6+EQ+QA/54gQ3/xgHOjP08bFZQmqGbVLF /27UZLSilsxc3Em8Bi8tkmXBFVmhbvD2fKj9UuJEOULL9EjF/ITKq97U33zAwZz+ WdA7tk9tBNL0jHBcdo1F2D5nKdSUDZXEYd7kbGUvz9xPOZqC5/adqSdg9Fmqaoha 9jHcthad5iVq0JEBlBqqZzG3+PIJd42uEhNxa3mAKg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfedukedgvdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurheptgfkffggfgfuhffvvehfjgesmhdtreertddvjeenucfhrhhomhepffhmihht rhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrdguvghvqeenucggtffrrghtth gvrhhnpedtvdeugedvteelvdegvefguedtgfethefggeffkedtkeegveeifeeiudejueff ffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegumh hithhrhiesghhuthhovhdruggvvh X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 13 Jun 2024 19:41:17 -0400 (EDT) Content-Type: multipart/mixed; boundary="------------j06g2iyqR4HwhjqSSwTQAkIw" Message-ID: Date: Fri, 14 Jun 2024 02:41:15 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bug#71525: 30.0.50; Spin in delete-region/interval_deletion_adjustment Spin in delete-region/interval_deletion_adjustment) From: Dmitry Gutov To: Eli Zaretskii , Steven Allen References: <87y17a55ny.fsf@stebalien.com> <87ikydo246.fsf@stebalien.com> <86o785z8wl.fsf@gnu.org> <87tthwrh8h.fsf@stebalien.com> <867ceszvp1.fsf@gnu.org> <87r0d0rfxa.fsf@stebalien.com> <87bk44bzf4.fsf@stebalien.com> <8634pgztx0.fsf@gnu.org> Content-Language: en-US In-Reply-To: X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 71525 Cc: jporterbugs@gmail.com, 71525@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: -1.7 (-) This is a multi-part message in MIME format. --------------j06g2iyqR4HwhjqSSwTQAkIw Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 14/06/2024 00:47, Dmitry Gutov wrote: > The thing is, decode_coding_c_string already calls > adjust_markers_for_insert through > >   decode_coding_object->decode_coding->produce_chars->insert_from_gap > > And the extra call moves the markers too far. > > Unfortunately, it's called with BEFORE_MARKERS=nil, and the above call > chain makes it difficult to pass through the extra argument. We can do it through the coding_system structure, though. See attached. It fixes the freezes in my testing. It seems like the least invasive possible fix, but better suggestions welcome. --------------j06g2iyqR4HwhjqSSwTQAkIw Content-Type: text/x-patch; charset=UTF-8; name="dst_before_markers.diff" Content-Disposition: attachment; filename="dst_before_markers.diff" Content-Transfer-Encoding: base64 ZGlmZiAtLWdpdCBhL3NyYy9jb2RpbmcuYyBiL3NyYy9jb2RpbmcuYwppbmRleCA1ZTRlOTJl YTZlMi4uMTM4YWFhMjJlNmEgMTAwNjQ0Ci0tLSBhL3NyYy9jb2RpbmcuYworKysgYi9zcmMv Y29kaW5nLmMKQEAgLTU2OTgsNiArNTY5OCw3IEBAIHNldHVwX2NvZGluZ19zeXN0ZW0gKExp c3BfT2JqZWN0IGNvZGluZ19zeXN0ZW0sIHN0cnVjdCBjb2Rpbmdfc3lzdGVtICpjb2Rpbmcp CiAgIGNvZGluZy0+ZGVmYXVsdF9jaGFyID0gWEZJWE5VTSAoQ09ESU5HX0FUVFJfREVGQVVM VF9DSEFSIChhdHRycykpOwogICBjb2RpbmctPmNhcnJ5b3Zlcl9ieXRlcyA9IDA7CiAgIGNv ZGluZy0+cmF3X2Rlc3RpbmF0aW9uID0gMDsKKyAgY29kaW5nLT5kc3RfYmVmb3JlX21hcmtl cnMgPSAwOwogCiAgIGNvZGluZ190eXBlID0gQ09ESU5HX0FUVFJfVFlQRSAoYXR0cnMpOwog ICBpZiAoRVEgKGNvZGluZ190eXBlLCBRdW5kZWNpZGVkKSkKQEAgLTcyMDksNyArNzIxMCw3 IEBAIHByb2R1Y2VfY2hhcnMgKHN0cnVjdCBjb2Rpbmdfc3lzdGVtICpjb2RpbmcsIExpc3Bf T2JqZWN0IHRyYW5zbGF0aW9uX3RhYmxlLAogCiAgIHByb2R1Y2VkID0gZHN0IC0gKGNvZGlu Zy0+ZGVzdGluYXRpb24gKyBjb2RpbmctPnByb2R1Y2VkKTsKICAgaWYgKEJVRkZFUlAgKGNv ZGluZy0+ZHN0X29iamVjdCkgJiYgcHJvZHVjZWRfY2hhcnMgPiAwKQotICAgIGluc2VydF9m cm9tX2dhcCAocHJvZHVjZWRfY2hhcnMsIHByb2R1Y2VkLCAwKTsKKyAgICBpbnNlcnRfZnJv bV9nYXAgKHByb2R1Y2VkX2NoYXJzLCBwcm9kdWNlZCwgMCwgY29kaW5nLT5kc3RfYmVmb3Jl X21hcmtlcnMpOwogICBjb2RpbmctPnByb2R1Y2VkICs9IHByb2R1Y2VkOwogICBjb2Rpbmct PnByb2R1Y2VkX2NoYXIgKz0gcHJvZHVjZWRfY2hhcnM7CiAgIHJldHVybiBjYXJyeW92ZXI7 CkBAIC03ODE0LDcgKzc4MTUsNyBAQCBlbmNvZGVfY29kaW5nIChzdHJ1Y3QgY29kaW5nX3N5 c3RlbSAqY29kaW5nKQogICB9IHdoaWxlIChjb2RpbmctPmNvbnN1bWVkX2NoYXIgPCBjb2Rp bmctPnNyY19jaGFycyk7CiAKICAgaWYgKEJVRkZFUlAgKGNvZGluZy0+ZHN0X29iamVjdCkg JiYgY29kaW5nLT5wcm9kdWNlZF9jaGFyID4gMCkKLSAgICBpbnNlcnRfZnJvbV9nYXAgKGNv ZGluZy0+cHJvZHVjZWRfY2hhciwgY29kaW5nLT5wcm9kdWNlZCwgMCk7CisgICAgaW5zZXJ0 X2Zyb21fZ2FwIChjb2RpbmctPnByb2R1Y2VkX2NoYXIsIGNvZGluZy0+cHJvZHVjZWQsIDAs IGNvZGluZy0+ZHN0X2JlZm9yZV9tYXJrZXJzKTsKIAogICBTQUZFX0ZSRUUgKCk7CiB9CkBA IC04MDA4LDcgKzgwMDksNyBAQCBkZWNvZGVfY29kaW5nX2dhcCAoc3RydWN0IGNvZGluZ19z eXN0ZW0gKmNvZGluZywgcHRyZGlmZl90IGJ5dGVzKQogCSAgICB9CiAJICBjb2RpbmctPnBy b2R1Y2VkID0gYnl0ZXM7CiAJICBjb2RpbmctPnByb2R1Y2VkX2NoYXIgPSBjaGFyczsKLQkg IGluc2VydF9mcm9tX2dhcCAoY2hhcnMsIGJ5dGVzLCAxKTsKKwkgIGluc2VydF9mcm9tX2dh cCAoY2hhcnMsIGJ5dGVzLCAxLCBjb2RpbmctPmRzdF9iZWZvcmVfbWFya2Vycyk7CiAJICBy ZXR1cm47CiAJfQogICAgIH0KQEAgLTk5ODAsNyArOTk4MSw3IEBAIGVuY29kZV9zdHJpbmdf dXRmXzggKExpc3BfT2JqZWN0IHN0cmluZywgTGlzcF9PYmplY3QgYnVmZmVyLAogICAgICAg c3RydWN0IGJ1ZmZlciAqb2xkYiA9IGN1cnJlbnRfYnVmZmVyOwogCiAgICAgICBjdXJyZW50 X2J1ZmZlciA9IFhCVUZGRVIgKGJ1ZmZlcik7Ci0gICAgICBpbnNlcnRfZnJvbV9nYXAgKG91 dGJ5dGVzLCBvdXRieXRlcywgZmFsc2UpOworICAgICAgaW5zZXJ0X2Zyb21fZ2FwIChvdXRi eXRlcywgb3V0Ynl0ZXMsIGZhbHNlLCBmYWxzZSk7CiAgICAgICBjdXJyZW50X2J1ZmZlciA9 IG9sZGI7CiAgICAgfQogICByZXR1cm4gdmFsOwpAQCAtMTAyOTAsNyArMTAyOTEsNyBAQCAj ZGVmaW5lIFVURl84X1NFUVVFTkNFX0xFTkdUSChjKQlcCiAgICAgICBzdHJ1Y3QgYnVmZmVy ICpvbGRiID0gY3VycmVudF9idWZmZXI7CiAKICAgICAgIGN1cnJlbnRfYnVmZmVyID0gWEJV RkZFUiAoYnVmZmVyKTsKLSAgICAgIGluc2VydF9mcm9tX2dhcCAob3V0Y2hhcnMsIG91dGJ5 dGVzLCBmYWxzZSk7CisgICAgICBpbnNlcnRfZnJvbV9nYXAgKG91dGNoYXJzLCBvdXRieXRl cywgZmFsc2UsIGZhbHNlKTsKICAgICAgIGN1cnJlbnRfYnVmZmVyID0gb2xkYjsKICAgICB9 CiAgIHJldHVybiB2YWw7CmRpZmYgLS1naXQgYS9zcmMvY29kaW5nLmggYi9zcmMvY29kaW5n LmgKaW5kZXggODkwNWUzNjgzOGQuLjJlMDMxZDhjYzU1IDEwMDY0NAotLS0gYS9zcmMvY29k aW5nLmgKKysrIGIvc3JjL2NvZGluZy5oCkBAIC00MjgsNiArNDI4LDkgQEAgI2RlZmluZSBD T0RJTkdfTU9ERV9TQUZFX0VOQ09ESU5HCQkweDEwCiAgIC8qIFNldCB0byB0cnVlIGlmIGNo YXJidWYgY29udGFpbnMgYW4gYW5ub3RhdGlvbi4gICovCiAgIGJvb2xfYmYgYW5ub3RhdGVk IDogMTsKIAorICAvKiBUcnVlIHRvIGluc2VydCBiZWZvcmUgbWFya2VycyBpbiB0aGUgRFNU X09CSkVDVCBidWZmZXIuICAqLworICBib29sX2JmIGRzdF9iZWZvcmVfbWFya2VycyA6IDE7 CisKICAgLyogVXNlZCBpbnRlcm5hbGx5IGluIGNvZGluZy5jLiAgU2VlIHRoZSBjb21tZW50 IG9mIGRldGVjdF9hc2NpaS4gICovCiAgIHVuc2lnbmVkIGVvbF9zZWVuIDogMzsKIApkaWZm IC0tZ2l0IGEvc3JjL2RlY29tcHJlc3MuYyBiL3NyYy9kZWNvbXByZXNzLmMKaW5kZXggZmNk YmI0MGZjOTAuLjZjMzQyZTU0MzU1IDEwMDY0NAotLS0gYS9zcmMvZGVjb21wcmVzcy5jCisr KyBiL3NyYy9kZWNvbXByZXNzLmMKQEAgLTMxMCw3ICszMTAsNyBAQCBERUZVTiAoInpsaWIt ZGVjb21wcmVzcy1yZWdpb24iLCBGemxpYl9kZWNvbXByZXNzX3JlZ2lvbiwKICAgICAgIGlu ZmxhdGVfc3RhdHVzID0gaW5mbGF0ZSAoJnN0cmVhbSwgWl9OT19GTFVTSCk7CiAgICAgICBw b3NfYnl0ZSArPSBhdmFpbF9pbiAtIHN0cmVhbS5hdmFpbF9pbjsKICAgICAgIGRlY29tcHJl c3NlZCA9IGF2YWlsX291dCAtIHN0cmVhbS5hdmFpbF9vdXQ7Ci0gICAgICBpbnNlcnRfZnJv bV9nYXAgKGRlY29tcHJlc3NlZCwgZGVjb21wcmVzc2VkLCAwKTsKKyAgICAgIGluc2VydF9m cm9tX2dhcCAoZGVjb21wcmVzc2VkLCBkZWNvbXByZXNzZWQsIDAsIGZhbHNlKTsKICAgICAg IHVud2luZF9kYXRhLm5ieXRlcyArPSBkZWNvbXByZXNzZWQ7CiAgICAgICBtYXliZV9xdWl0 ICgpOwogICAgIH0KZGlmZiAtLWdpdCBhL3NyYy9pbnNkZWwuYyBiL3NyYy9pbnNkZWwuYwpp bmRleCBmYmY3MWUxZTU5NS4uOGY4ZTdiN2Q3MWQgMTAwNjQ0Ci0tLSBhL3NyYy9pbnNkZWwu YworKysgYi9zcmMvaW5zZGVsLmMKQEAgLTExMjksMTAgKzExMjksMTIgQEAgaW5zZXJ0X2Zy b21fZ2FwXzEgKHB0cmRpZmZfdCBuY2hhcnMsIHB0cmRpZmZfdCBuYnl0ZXMsIGJvb2wgdGV4 dF9hdF9nYXBfdGFpbCkKIAogLyogSW5zZXJ0IGEgc2VxdWVuY2Ugb2YgTkNIQVJTIGNoYXJz IHdoaWNoIG9jY3VweSBOQllURVMgYnl0ZXMKICAgIHN0YXJ0aW5nIGF0IEdBUF9FTkRfQURE UiAtIE5CWVRFUyAoaWYgdGV4dF9hdF9nYXBfdGFpbCkgYW5kIGF0Ci0gICBHUFRfQUREUiAo aWYgbm90IHRleHRfYXRfZ2FwX3RhaWwpLiAgKi8KKyAgIEdQVF9BRERSIChpZiBub3QgdGV4 dF9hdF9nYXBfdGFpbCkuCisKKyAgSWYgQkVGT1JFX01BUktFUlMgaXMgdHJ1ZSwgaW5zZXJ0 IGJlZm9yZSBtYXJrZXJzLiAqLwogCiB2b2lkCi1pbnNlcnRfZnJvbV9nYXAgKHB0cmRpZmZf dCBuY2hhcnMsIHB0cmRpZmZfdCBuYnl0ZXMsIGJvb2wgdGV4dF9hdF9nYXBfdGFpbCkKK2lu c2VydF9mcm9tX2dhcCAocHRyZGlmZl90IG5jaGFycywgcHRyZGlmZl90IG5ieXRlcywgYm9v bCB0ZXh0X2F0X2dhcF90YWlsLCBib29sIGJlZm9yZV9tYXJrZXJzKQogewogICBwdHJkaWZm X3QgaW5zX2NoYXJwb3MgPSBHUFQsIGluc19ieXRlcG9zID0gR1BUX0JZVEU7CiAKQEAgLTEx NTEsNyArMTE1Myw3IEBAIGluc2VydF9mcm9tX2dhcCAocHRyZGlmZl90IG5jaGFycywgcHRy ZGlmZl90IG5ieXRlcywgYm9vbCB0ZXh0X2F0X2dhcF90YWlsKQogICBpbnNlcnRfZnJvbV9n YXBfMSAobmNoYXJzLCBuYnl0ZXMsIHRleHRfYXRfZ2FwX3RhaWwpOwogCiAgIGFkanVzdF9t YXJrZXJzX2Zvcl9pbnNlcnQgKGluc19jaGFycG9zLCBpbnNfYnl0ZXBvcywKLQkJCSAgICAg aW5zX2NoYXJwb3MgKyBuY2hhcnMsIGluc19ieXRlcG9zICsgbmJ5dGVzLCBmYWxzZSk7CisJ CQkgICAgIGluc19jaGFycG9zICsgbmNoYXJzLCBpbnNfYnl0ZXBvcyArIG5ieXRlcywgYmVm b3JlX21hcmtlcnMpOwogCiAgIGlmIChidWZmZXJfaW50ZXJ2YWxzIChjdXJyZW50X2J1ZmZl cikpCiAgICAgewpkaWZmIC0tZ2l0IGEvc3JjL2xpc3AuaCBiL3NyYy9saXNwLmgKaW5kZXgg MjFkYWRhNTkxMzIuLjJjM2M0ZTBiYTg3IDEwMDY0NAotLS0gYS9zcmMvbGlzcC5oCisrKyBi L3NyYy9saXNwLmgKQEAgLTQzNzIsNyArNDM3Miw4IEBAIHZlcmlmeSAoRkxUX1JBRElYID09 IDIgfHwgRkxUX1JBRElYID09IDE2KTsKIGV4dGVybiB2b2lkIGluc2VydF8xX2JvdGggKGNv bnN0IGNoYXIgKiwgcHRyZGlmZl90LCBwdHJkaWZmX3QsCiAJCQkgICBib29sLCBib29sLCBi b29sKTsKIGV4dGVybiB2b2lkIGluc2VydF9mcm9tX2dhcF8xIChwdHJkaWZmX3QsIHB0cmRp ZmZfdCwgYm9vbCB0ZXh0X2F0X2dhcF90YWlsKTsKLWV4dGVybiB2b2lkIGluc2VydF9mcm9t X2dhcCAocHRyZGlmZl90LCBwdHJkaWZmX3QsIGJvb2wgdGV4dF9hdF9nYXBfdGFpbCk7Citl eHRlcm4gdm9pZCBpbnNlcnRfZnJvbV9nYXAgKHB0cmRpZmZfdCwgcHRyZGlmZl90LCBib29s IHRleHRfYXRfZ2FwX3RhaWwsCisJCQkgICAgIGJvb2wgYmVmb3JlX21hcmtlcnMpOwogZXh0 ZXJuIHZvaWQgaW5zZXJ0X2Zyb21fc3RyaW5nIChMaXNwX09iamVjdCwgcHRyZGlmZl90LCBw dHJkaWZmX3QsCiAJCQkJcHRyZGlmZl90LCBwdHJkaWZmX3QsIGJvb2wpOwogZXh0ZXJuIHZv aWQgaW5zZXJ0X2Zyb21fYnVmZmVyIChzdHJ1Y3QgYnVmZmVyICosIHB0cmRpZmZfdCwgcHRy ZGlmZl90LCBib29sKTsKZGlmZiAtLWdpdCBhL3NyYy9wcm9jZXNzLmMgYi9zcmMvcHJvY2Vz cy5jCmluZGV4IGViNTI2MzExYzUzLi43MDAwYjUxNzc1YyAxMDA2NDQKLS0tIGEvc3JjL3By b2Nlc3MuYworKysgYi9zcmMvcHJvY2Vzcy5jCkBAIC02NDE1LDYgKzY0MTUsNyBAQCByZWFk X2FuZF9pbnNlcnRfcHJvY2Vzc19vdXRwdXQgKHN0cnVjdCBMaXNwX1Byb2Nlc3MgKnAsIGNo YXIgKmJ1ZiwKICAgICAgIHNwZWNwZGxfcmVmIGNvdW50MSA9IFNQRUNQRExfSU5ERVggKCk7 CiAKICAgICAgIFhTRVRCVUZGRVIgKGN1cmJ1ZiwgY3VycmVudF9idWZmZXIpOworICAgICAg cHJvY2Vzc19jb2RpbmctPmRzdF9iZWZvcmVfbWFya2VycyA9IHRydWU7CiAgICAgICAvKiBX ZSBjYW5ub3QgYWxsb3cgYWZ0ZXItY2hhbmdlLWZ1bmN0aW9ucyBiZSBydW4KIAkgZHVyaW5n IGRlY29kaW5nLCBiZWNhdXNlIHRoYXQgbWlnaHQgbW9kaWZ5IHRoZQogCSBidWZmZXIsIHdo aWxlIHdlIHJlbHkgb24gcHJvY2Vzc19jb2RpbmcucHJvZHVjZWQgdG8KQEAgLTY0MjMsOSAr NjQyNCw2IEBAIHJlYWRfYW5kX2luc2VydF9wcm9jZXNzX291dHB1dCAoc3RydWN0IExpc3Bf UHJvY2VzcyAqcCwgY2hhciAqYnVmLAogICAgICAgc3BlY2JpbmQgKFFpbmhpYml0X21vZGlm aWNhdGlvbl9ob29rcywgUXQpOwogICAgICAgZGVjb2RlX2NvZGluZ19jX3N0cmluZyAocHJv Y2Vzc19jb2RpbmcsCiAJCQkgICAgICAodW5zaWduZWQgY2hhciAqKSBidWYsIG5yZWFkLCBj dXJidWYpOwotICAgICAgYWRqdXN0X21hcmtlcnNfZm9yX2luc2VydCAoUFQsIFBUX0JZVEUs Ci0JCQkJIFBUICsgcHJvY2Vzc19jb2RpbmctPnByb2R1Y2VkX2NoYXIsCi0JCQkJIFBUX0JZ VEUgKyBwcm9jZXNzX2NvZGluZy0+cHJvZHVjZWQsIHRydWUpOwogICAgICAgdW5iaW5kX3Rv IChjb3VudDEsIFFuaWwpOwogCiAgICAgICByZWFkX3Byb2Nlc3Nfb3V0cHV0X3NldF9sYXN0 X2NvZGluZ19zeXN0ZW0gKHAsIHByb2Nlc3NfY29kaW5nKTsK --------------j06g2iyqR4HwhjqSSwTQAkIw-- From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 14 03:13:43 2024 Received: (at 71525) by debbugs.gnu.org; 14 Jun 2024 07:13:43 +0000 Received: from localhost ([127.0.0.1]:39835 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sI183-0001NT-0n for submit@debbugs.gnu.org; Fri, 14 Jun 2024 03:13:43 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34100) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sI180-0001NA-0c for 71525@debbugs.gnu.org; Fri, 14 Jun 2024 03:13:41 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sI17t-0006k7-VP; Fri, 14 Jun 2024 03:13:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=tbK6XGY1NPSW8J6cSlXrrI6yB0GHV0k+6uA/LYRgGAo=; b=h+U7454MDW+lXE1qscQg LYpkXdRNVzDM3/7CdHvo8NvodlBRugFU+1s08lQbDjTJAAjLqKkgl9My2BOkKsQ0fhDkge83UC6Lj foNx8+kQAI1MQZWiKEd+ZGHk2bzsopHG3jbcWtH2ryz/p4NHdzxBhtVO1QmPCiAbdwSrS3tTx3Uid VDm+WR6TjRLajQDFUO9NViaco+VN+b1sp3yZKUoBz1l8yx1H0GbGKVi521YgtXpkYim5bUFMTMrFu QM7NCTKZ8h4ZwsrWXuc/zvl6jTDlpjhAuwsfn50O/5JFuQGTQIB7GBqVlTs4+me2JPB2rughe62g9 FY5Us4oGi8Y0pQ==; Date: Fri, 14 Jun 2024 10:13:30 +0300 Message-Id: <86v82cxahx.fsf@gnu.org> From: Eli Zaretskii To: Dmitry Gutov In-Reply-To: (message from Dmitry Gutov on Fri, 14 Jun 2024 02:41:15 +0300) Subject: Re: bug#71525: 30.0.50; Spin in delete-region/interval_deletion_adjustment Spin in delete-region/interval_deletion_adjustment) References: <87y17a55ny.fsf@stebalien.com> <87ikydo246.fsf@stebalien.com> <86o785z8wl.fsf@gnu.org> <87tthwrh8h.fsf@stebalien.com> <867ceszvp1.fsf@gnu.org> <87r0d0rfxa.fsf@stebalien.com> <87bk44bzf4.fsf@stebalien.com> <8634pgztx0.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 71525 Cc: jporterbugs@gmail.com, steven@stebalien.com, 71525@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 (---) > Date: Fri, 14 Jun 2024 02:41:15 +0300 > From: Dmitry Gutov > Cc: jporterbugs@gmail.com, 71525@debbugs.gnu.org > > On 14/06/2024 00:47, Dmitry Gutov wrote: > > The thing is, decode_coding_c_string already calls > > adjust_markers_for_insert through > > > >   decode_coding_object->decode_coding->produce_chars->insert_from_gap > > > > And the extra call moves the markers too far. > > > > Unfortunately, it's called with BEFORE_MARKERS=nil, and the above call > > chain makes it difficult to pass through the extra argument. > > We can do it through the coding_system structure, though. > > See attached. It fixes the freezes in my testing. > > It seems like the least invasive possible fix, but better suggestions > welcome. This is the correct approach, IMO. But see some minor comments below. > @@ -7814,7 +7815,7 @@ encode_coding (struct coding_system *coding) > } while (coding->consumed_char < coding->src_chars); > > if (BUFFERP (coding->dst_object) && coding->produced_char > 0) > - insert_from_gap (coding->produced_char, coding->produced, 0); > + insert_from_gap (coding->produced_char, coding->produced, 0, coding->dst_before_markers); Here (and elsewhere in the patch) too-long lines should be broken in two. > + /* True to insert before markers in the DST_OBJECT buffer. */ > + bool_bf dst_before_markers : 1; I'd call this 'insert_before_markers' instead. Please also add a detailed comment here explaining what this flag is for and where and why used. > /* Insert a sequence of NCHARS chars which occupy NBYTES bytes > starting at GAP_END_ADDR - NBYTES (if text_at_gap_tail) and at > - GPT_ADDR (if not text_at_gap_tail). */ > + GPT_ADDR (if not text_at_gap_tail). > + > + If BEFORE_MARKERS is true, insert before markers. */ This commentary should also mention process.c as the single caller using this facility in unconventional ways. > extern void insert_from_gap_1 (ptrdiff_t, ptrdiff_t, bool text_at_gap_tail); > -extern void insert_from_gap (ptrdiff_t, ptrdiff_t, bool text_at_gap_tail); > +extern void insert_from_gap (ptrdiff_t, ptrdiff_t, bool text_at_gap_tail, > + bool before_markers); We don't have names of arguments in prototypes, only their types. (Yes, it means the original prototype, and the ones around it, were also wrong.) > --- a/src/process.c > +++ b/src/process.c > @@ -6415,6 +6415,7 @@ read_and_insert_process_output (struct Lisp_Process *p, char *buf, > specpdl_ref count1 = SPECPDL_INDEX (); > > XSETBUFFER (curbuf, current_buffer); > + process_coding->dst_before_markers = true; Please also add a comment here explaining why this is done. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 14 12:51:56 2024 Received: (at 71525) by debbugs.gnu.org; 14 Jun 2024 16:51:56 +0000 Received: from localhost ([127.0.0.1]:40841 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sIA9b-0002gR-LL for submit@debbugs.gnu.org; Fri, 14 Jun 2024 12:51:56 -0400 Received: from fhigh6-smtp.messagingengine.com ([103.168.172.157]:52425) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sIA9Z-0002gC-OP for 71525@debbugs.gnu.org; Fri, 14 Jun 2024 12:51:54 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 59B80114014B; Fri, 14 Jun 2024 12:51:48 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Fri, 14 Jun 2024 12:51:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1718383908; x=1718470308; bh=BSdRWm9/GDZsBrOwUoFeH2tZWqEpIbdf0+ULeUu6/gA=; b= UMaqcMvSLvYrYmoSMMorhtvqk5XKpzOXvjMeuc9DP2Ad0g2hQD3r92T/otpgW6dr VM0H12/YW/0KEelbMd3cfbWOHKybB/suEfRnepiGygVCfEcgvUrTNrMKNL5vjPSR 41tDJDtQZ5ar4bxKQeGQQ31U0ZavfGAs2UBTl503f5a7cwmJffxmWhEexOs95V+q 9tStgJePlEO1dooUitgZrI0Rt1UYkYpgvNcWgkcxLFqbWZ/UHAdvKO9zuQhH5+I5 yS8sPYAVAKPqkjY800Q4VRZT0+XDL+hsfGOTt5SNpNi1IJRi579PUabYI+49gvEa OZj8gdtWqo0i3h8YzKtO5Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1718383908; x= 1718470308; bh=BSdRWm9/GDZsBrOwUoFeH2tZWqEpIbdf0+ULeUu6/gA=; b=B va1c0rhQmpl0FpUvY4pdpw6iaiBaN7GlD5YsvB1Q5fgGKT9PY/9SsozvN23paGs+ Vf7UDaoWOhRkqKfNNVor3J1cpch3pVkZ85EsvvawseUQqrgWp4S5LF9jobLkybHj 7FeqgVrx+7NazSwOYJypVt7ilUSXsDt3BX/1QaOBZLblNZE3rmGLvCTXWgZkRFRM SnvpuF1NbjhlhV8eOuqEr1E2vo7DIU1ew39ltxKWNe3ftbEUlzLcjrHrGPkR7Wq8 JTZDaZu2gZItXqIFqVbXgn68akYtHFCq14Li61sfi9jpaoMrwhQgCi7LFotfGYzf 0izclny7wbWamieZwKaFA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfeduledguddthecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefkffggfgfuvfevfhfhjggtgfesthejredttddvjeenucfhrhhomhepffhm ihhtrhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrdguvghvqeenucggtffrrg htthgvrhhnpeetudeljeegheetgfehgeejkeeuhedvveeikeeufedtvddtveefhfdvveeg udejheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe gumhhithhrhiesghhuthhovhdruggvvh X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 14 Jun 2024 12:51:46 -0400 (EDT) Message-ID: <259d7b05-f1af-4498-9f88-471be8dffc34@gutov.dev> Date: Fri, 14 Jun 2024 19:51:44 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bug#71525: 30.0.50; Spin in delete-region/interval_deletion_adjustment Spin in delete-region/interval_deletion_adjustment) To: Eli Zaretskii References: <87y17a55ny.fsf@stebalien.com> <87ikydo246.fsf@stebalien.com> <86o785z8wl.fsf@gnu.org> <87tthwrh8h.fsf@stebalien.com> <867ceszvp1.fsf@gnu.org> <87r0d0rfxa.fsf@stebalien.com> <87bk44bzf4.fsf@stebalien.com> <8634pgztx0.fsf@gnu.org> <86v82cxahx.fsf@gnu.org> Content-Language: en-US From: Dmitry Gutov In-Reply-To: <86v82cxahx.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 71525 Cc: jporterbugs@gmail.com, steven@stebalien.com, 71525@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: -1.7 (-) On 14/06/2024 10:13, Eli Zaretskii wrote: > This is the correct approach, IMO. But see some minor comments below. > >> @@ -7814,7 +7815,7 @@ encode_coding (struct coding_system *coding) >> } while (coding->consumed_char < coding->src_chars); >> >> if (BUFFERP (coding->dst_object) && coding->produced_char > 0) >> - insert_from_gap (coding->produced_char, coding->produced, 0); >> + insert_from_gap (coding->produced_char, coding->produced, 0, coding->dst_before_markers); > Here (and elsewhere in the patch) too-long lines should be broken in > two. > >> + /* True to insert before markers in the DST_OBJECT buffer. */ >> + bool_bf dst_before_markers : 1; > I'd call this 'insert_before_markers' instead. Please also add a > detailed comment here explaining what this flag is for and where and > why used. > >> /* Insert a sequence of NCHARS chars which occupy NBYTES bytes >> starting at GAP_END_ADDR - NBYTES (if text_at_gap_tail) and at >> - GPT_ADDR (if not text_at_gap_tail). */ >> + GPT_ADDR (if not text_at_gap_tail). >> + >> + If BEFORE_MARKERS is true, insert before markers. */ > This commentary should also mention process.c as the single caller > using this facility in unconventional ways. > >> extern void insert_from_gap_1 (ptrdiff_t, ptrdiff_t, bool text_at_gap_tail); >> -extern void insert_from_gap (ptrdiff_t, ptrdiff_t, bool text_at_gap_tail); >> +extern void insert_from_gap (ptrdiff_t, ptrdiff_t, bool text_at_gap_tail, >> + bool before_markers); > We don't have names of arguments in prototypes, only their types. > (Yes, it means the original prototype, and the ones around it, were > also wrong.) > >> --- a/src/process.c >> +++ b/src/process.c >> @@ -6415,6 +6415,7 @@ read_and_insert_process_output (struct Lisp_Process *p, char *buf, >> specpdl_ref count1 = SPECPDL_INDEX (); >> >> XSETBUFFER (curbuf, current_buffer); >> + process_coding->dst_before_markers = true; > Please also add a comment here explaining why this is done. Thanks! I've pushed the amended patch to master, please see how you like the result. From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 14 14:15:09 2024 Received: (at 71525) by debbugs.gnu.org; 14 Jun 2024 18:15:09 +0000 Received: from localhost ([127.0.0.1]:40909 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sIBS8-0004vU-Pt for submit@debbugs.gnu.org; Fri, 14 Jun 2024 14:15:09 -0400 Received: from fhigh7-smtp.messagingengine.com ([103.168.172.158]:52803) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sIBS4-0004ud-Rs for 71525@debbugs.gnu.org; Fri, 14 Jun 2024 14:15:07 -0400 Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 68FDF11401C3; Fri, 14 Jun 2024 14:14:59 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Fri, 14 Jun 2024 14:14:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stebalien.com; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm3; t=1718388899; x= 1718475299; bh=R8Q/k0DaUlCme06P+qMLYnLbMo9vX2TZOBZZ7GM2wME=; b=b j5f+lTgtWrFEYsfnflEN0ZfC2K9LGTGEwIR3DGx+qdT9eHjUjweKHMPvEVcoa4gp S28D4sCksGDRKFQio3AcXIHCsQ+ydjzDMtkeY8sBlVGJqIg+TYf6sLMRd0rUy8Lt hi4oOqPaZWUL/YczBGGG2NJG3bKlJbO0GZLTS3WmV57VZyHeIR3LybgFFCKoT85p OLzc5EjHEhtrntidMO4XsrYpfNaUmAe01Hpp9LqNfmb6DfeMfAlC9PM/qxpeYsyr M3iztt4X1kQoVslkhmXv/wK9zoN+SAaS6yT3iFH/k2xnWbLwTAcMA4CsFbsZs0xV /a8WD8qnuNy4+/Miwn/rA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1718388899; x=1718475299; bh=R8Q/k0DaUlCme06P+qMLYnLbMo9v X2TZOBZZ7GM2wME=; b=n2XoRiPunjDI95/P3zmTyK+Y/Aa8yboyjk2Xdet6elMR Am4ULYAJG2zjIEvkWDR91cW8foH6Ke5xDNfggkO29XpacR3gIf0j7Yz2hlN/pbNQ 6L6VFXNgOMCTvonMt/DZACqOJV933EdRO8aMBmOFG/TSmT5xDUxvG5Hak/BsKExM dH0ZgjVf1GB9GFI+qI5LFb96Vx1zdkBggY2+QCpuFYR+9BSDYNG86g/SGiCAQvS/ CzEwuWBzvWvgL2i8Y6PXWJKOUGsJKfSjh9BivLYoeLGG9ikys2CTALL2yqoh0p4v IK0Dm8nNkOB+obyiMnaRu3TYOXAcw3TK/op7hyqy6w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfeduledguddvvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvfevufgjfhffkfggtgesthdtredttddttdenucfhrhhomhepufhtvghv vghnucetlhhlvghnuceoshhtvghvvghnsehsthgvsggrlhhivghnrdgtohhmqeenucggtf frrghtthgvrhhnpedvkeehkeegleehheeggfduleektefhhffgueffteekgedtvdefuddu tddtjeejvdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehsthgvvhgvnhesshhtvggsrghlihgvnhdrtghomh X-ME-Proxy: Feedback-ID: ie8a146a7:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 14 Jun 2024 14:14:58 -0400 (EDT) From: Steven Allen To: Dmitry Gutov , Eli Zaretskii Subject: Re: bug#71525: 30.0.50; Spin in delete-region/interval_deletion_adjustment Spin in delete-region/interval_deletion_adjustment) In-Reply-To: <259d7b05-f1af-4498-9f88-471be8dffc34@gutov.dev> References: <87y17a55ny.fsf@stebalien.com> <87ikydo246.fsf@stebalien.com> <86o785z8wl.fsf@gnu.org> <87tthwrh8h.fsf@stebalien.com> <867ceszvp1.fsf@gnu.org> <87r0d0rfxa.fsf@stebalien.com> <87bk44bzf4.fsf@stebalien.com> <8634pgztx0.fsf@gnu.org> <86v82cxahx.fsf@gnu.org> <259d7b05-f1af-4498-9f88-471be8dffc34@gutov.dev> Date: Fri, 14 Jun 2024 11:14:55 -0700 Message-ID: <87v82bfl28.fsf@stebalien.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 71525 Cc: jporterbugs@gmail.com, 71525@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: -1.7 (-) Dmitry Gutov writes: > Thanks! I've pushed the amended patch to master, please see how you like > the result. I can't comment on the patch but I can confirm that it fixes the bug (or, at least, the one I observed). From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 14 14:17:35 2024 Received: (at 71525) by debbugs.gnu.org; 14 Jun 2024 18:17:35 +0000 Received: from localhost ([127.0.0.1]:40914 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sIBUV-00050M-BE for submit@debbugs.gnu.org; Fri, 14 Jun 2024 14:17:35 -0400 Received: from wfhigh7-smtp.messagingengine.com ([64.147.123.158]:39071) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sIBUS-000504-7v for 71525@debbugs.gnu.org; Fri, 14 Jun 2024 14:17:33 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfhigh.west.internal (Postfix) with ESMTP id D7D1D18000B4; Fri, 14 Jun 2024 14:17:25 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Fri, 14 Jun 2024 14:17:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1718389045; x=1718475445; bh=GZaprirR5K8yTymapw89a3Y9uCuYf2aiOjChv+j27Bw=; b= ZrTmUlilWUl45M6DwdqECnDfZi6CKEd70OgLipICsctYft1GOL7he4vjnbAz0MHm KX18GIabE+uDa94ScromxKx+uGApSbt+g4lCpuHpOTVYcliubX4MSqBAKP/VMbPl QQXt9HgWRdcK8i9uCBdawvNoYxxNFqhAx46ytq50qn6wbKZcveMPJBRpXwiYQaA1 MnAuLT0BpoCRULFrwsIyAqvDiS94KQC2nuZjWNelIN726rl1lCR35n5g/mQ9k39s W8B3EY14wp+53VoUV18Q4H/UwAaMQaVcPRcoSQosbAH7HPyPRXksw0RQVaQmCKW9 cI6JiuQKMurY4EohTYMksQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1718389045; x= 1718475445; bh=GZaprirR5K8yTymapw89a3Y9uCuYf2aiOjChv+j27Bw=; b=T MaVCZhHShPzS2ZttNTPvVlPRcluR8glnpaRdzL1HzkYUYKX25+N8NrB51NEMItO/ mgbvpW/XjEqr2/VfffsgAfGROlN+a+8wzcJ2oviYjjEwH8t9mNcvtBUcqX3pF1rI +y62FbG9WotX7BSRfuUqOXZ0h3wFHo67H/Z4EqZZpgBYIt9Y8Uc5kBG+j4ExRvnr zw2hcfnoLkUE4ktrmXegj+yRkGfyQOUFaC2qHJv3LbgC3+fU3lHWT/saOKxWu8CU hbj1B7MgrfMg/Cr2HoY83uLo8OVF6njtJd1MlA5+f1r2Ih7A4wztRwSMHZA5LNaI aUWpmM3wCDcUsIWE6N5PA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfeduledguddvvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefkffggfgfuvfevfhfhjggtgfesthejredttddvjeenucfhrhhomhepffhm ihhtrhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrdguvghvqeenucggtffrrg htthgvrhhnpeetudeljeegheetgfehgeejkeeuhedvveeikeeufedtvddtveefhfdvveeg udejheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe gumhhithhrhiesghhuthhovhdruggvvh X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 14 Jun 2024 14:17:24 -0400 (EDT) Message-ID: Date: Fri, 14 Jun 2024 21:17:22 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bug#71525: 30.0.50; Spin in delete-region/interval_deletion_adjustment Spin in delete-region/interval_deletion_adjustment) To: Eli Zaretskii References: <87y17a55ny.fsf@stebalien.com> <87ikydo246.fsf@stebalien.com> <86o785z8wl.fsf@gnu.org> <87tthwrh8h.fsf@stebalien.com> <867ceszvp1.fsf@gnu.org> <87r0d0rfxa.fsf@stebalien.com> <87bk44bzf4.fsf@stebalien.com> <8634pgztx0.fsf@gnu.org> <86v82cxahx.fsf@gnu.org> Content-Language: en-US From: Dmitry Gutov In-Reply-To: <86v82cxahx.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 71525 Cc: jporterbugs@gmail.com, steven@stebalien.com, 71525@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: -1.0 (-) On 14/06/2024 10:13, Eli Zaretskii wrote: >> /* Insert a sequence of NCHARS chars which occupy NBYTES bytes >> starting at GAP_END_ADDR - NBYTES (if text_at_gap_tail) and at >> - GPT_ADDR (if not text_at_gap_tail). */ >> + GPT_ADDR (if not text_at_gap_tail). >> + >> + If BEFORE_MARKERS is true, insert before markers. */ > This commentary should also mention process.c as the single caller > using this facility in unconventional ways. Also note that I did make some effort to make the field coding->insert_before_markers used consistently: in the changeset, it's not just obeyed on the code path that decode_coding_c_string goes through - it's used anywhere where insert_from_gap is called and a coding_system structure is available - e.g. in encode_coding. Also in decode_coding_gap, but that one seems to only have one caller (insert-file-contents), so that choice is moot. Something else I've noticed (a bit off topic): insert_from_gap_1's comments says that it "does not invalidate any cache, nor update any markers, nor record any buffer modification information of any sort", but then it calls treesit_record_change when available. Not sure we need to change that, but maybe we should update the comment, at least. From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 14 14:46:37 2024 Received: (at 71525-done) by debbugs.gnu.org; 14 Jun 2024 18:46:37 +0000 Received: from localhost ([127.0.0.1]:40930 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sIBwa-0005qy-S4 for submit@debbugs.gnu.org; Fri, 14 Jun 2024 14:46:37 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56806) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sIBwX-0005qk-9r for 71525-done@debbugs.gnu.org; Fri, 14 Jun 2024 14:46:35 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sIBwR-0002bb-8N; Fri, 14 Jun 2024 14:46:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Ny/EH2tMH0FTjmBJ1//cp4Gh3NvrmR10LFXsXYeC1+4=; b=iDGX4tdY116H xtVRXSW2MzLlq1qNJYbCw6RN/f65UxQXcs+FqzSmAcjienJpQrnMR2WPODhBKGOzwcxiPHrWLe4Zs dMKeG51rdp/tcjwEeDaOyhwt+CY4RFZikl3xxcyaxTFqPjvWTdl2Bdw84cyh1gsC3G5lZ0tGscrT5 w9/C1Ssjv7M80zJSRgkCxJl/TJacBok9Ux4qz5NwK1Yjogi7/1IQF+uHQkOXJNOgwYHA6pn+HHuOV FurxW5NqBqqZ84uCznCfObFbDtnTPhOIJk8N5jimZl/kQa7dcoig9V19BU+bXjMaYxhXP/EYSQhlB GdRguSFfb2A3P7jHoP0FPw==; Date: Fri, 14 Jun 2024 21:46:23 +0300 Message-Id: <86v82bwef4.fsf@gnu.org> From: Eli Zaretskii To: Dmitry Gutov In-Reply-To: (message from Dmitry Gutov on Fri, 14 Jun 2024 21:17:22 +0300) Subject: Re: bug#71525: 30.0.50; Spin in delete-region/interval_deletion_adjustment Spin in delete-region/interval_deletion_adjustment) References: <87y17a55ny.fsf@stebalien.com> <87ikydo246.fsf@stebalien.com> <86o785z8wl.fsf@gnu.org> <87tthwrh8h.fsf@stebalien.com> <867ceszvp1.fsf@gnu.org> <87r0d0rfxa.fsf@stebalien.com> <87bk44bzf4.fsf@stebalien.com> <8634pgztx0.fsf@gnu.org> <86v82cxahx.fsf@gnu.org> X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 71525-done Cc: jporterbugs@gmail.com, 71525-done@debbugs.gnu.org, steven@stebalien.com 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 (---) > Date: Fri, 14 Jun 2024 21:17:22 +0300 > Cc: steven@stebalien.com, jporterbugs@gmail.com, 71525@debbugs.gnu.org > From: Dmitry Gutov > > On 14/06/2024 10:13, Eli Zaretskii wrote: > >> /* Insert a sequence of NCHARS chars which occupy NBYTES bytes > >> starting at GAP_END_ADDR - NBYTES (if text_at_gap_tail) and at > >> - GPT_ADDR (if not text_at_gap_tail). */ > >> + GPT_ADDR (if not text_at_gap_tail). > >> + > >> + If BEFORE_MARKERS is true, insert before markers. */ > > This commentary should also mention process.c as the single caller > > using this facility in unconventional ways. > > Also note that I did make some effort to make the field > coding->insert_before_markers used consistently: in the changeset, it's > not just obeyed on the code path that decode_coding_c_string goes > through - it's used anywhere where insert_from_gap is called and a > coding_system structure is available - e.g. in encode_coding. > > Also in decode_coding_gap, but that one seems to only have one caller > (insert-file-contents), so that choice is moot. > > Something else I've noticed (a bit off topic): insert_from_gap_1's > comments says that it "does not invalidate any cache, nor update any > markers, nor record any buffer modification information of any sort", > but then it calls treesit_record_change when available. Not sure we need > to change that, but maybe we should update the comment, at least. Thanks, done. I think we can now close this bug. From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 14 15:13:51 2024 Received: (at 71525-done) by debbugs.gnu.org; 14 Jun 2024 19:13:51 +0000 Received: from localhost ([127.0.0.1]:40970 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sICMx-0006Xx-Er for submit@debbugs.gnu.org; Fri, 14 Jun 2024 15:13:51 -0400 Received: from wfout6-smtp.messagingengine.com ([64.147.123.149]:60283) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sICMt-0006Xh-By for 71525-done@debbugs.gnu.org; Fri, 14 Jun 2024 15:13:50 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailfout.west.internal (Postfix) with ESMTP id 0311C1C0005B; Fri, 14 Jun 2024 15:13:40 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Fri, 14 Jun 2024 15:13:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1718392420; x=1718478820; bh=25Q7D/1ITlrKkvaR+INVVccAMSa5N0DQuyR75eoUbFc=; b= EfGdlrmNcL9dzlPiRwbJLyuHMRdqN4vQNc7lyYG8ZfO/aQ9uzs12Eh+iFPLnZ3B1 yGBfXKT5VkiG0IRoUyaFtWDRAuy+eEwxiEvMZBloauJ0h48/hwRua8kNh/zPxo7R nqjgi5VKslZKewzO8RZanibJJERafxoi6AOhOO+NjbIGpXKVPAKBL+asxnLSLQhX 8WHOw5399rVPAuBJavNlcmEqGb+cvwHeewW4z+7WbkU7lX1ZJ2UA2aU3Gi6gEMH+ HYITB06EnbaZghp1811GAHnZmWkzk7kARdI7LsQXjhWmwIAa2LvH86kR7Zn9TASU pMYVh0l4ZDGGhjxUUAutgQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1718392420; x= 1718478820; bh=25Q7D/1ITlrKkvaR+INVVccAMSa5N0DQuyR75eoUbFc=; b=R KNarSQeHUm5aD05swLQbIIuWEtFmri+WU3BfInFVbXy/uoz5cjMuOke+uC1e2gZm j4m6AxZxLfYN1OADSOWSdmk5gYhBOvS0DPxvUkIRrwUZSk9SQTNi9SBbQHMuDtUl c0p5/jZ1yD8j0g2Org7vEex8otWrYlix5fuNLqmnT48XoxT0m3HNNnist6EW3E1s lzVtnm4hc8TxPuoWWWd6RCQlqU5sEGoHLPz3yZdqSyVsVg4T8FxjTld15H+WlP1L OoI9L60oR+lS2TKGmvGRyL50vgeZiZIrTA4RGPbPSfLrGaytom4Bv3nJtohgK49L 8pZZ/sIozKq3/9h6D4FbA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfeduledgudefgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefkffggfgfuvfevfhfhjggtgfesthejredttddvjeenucfhrhhomhepffhm ihhtrhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrdguvghvqeenucggtffrrg htthgvrhhnpeetudeljeegheetgfehgeejkeeuhedvveeikeeufedtvddtveefhfdvveeg udejheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe gumhhithhrhiesghhuthhovhdruggvvh X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 14 Jun 2024 15:13:38 -0400 (EDT) Message-ID: <18ff92ba-02a5-4c3d-aa8b-fd94cb270528@gutov.dev> Date: Fri, 14 Jun 2024 22:13:37 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bug#71525: 30.0.50; Spin in delete-region/interval_deletion_adjustment Spin in delete-region/interval_deletion_adjustment) To: Eli Zaretskii References: <87y17a55ny.fsf@stebalien.com> <87ikydo246.fsf@stebalien.com> <86o785z8wl.fsf@gnu.org> <87tthwrh8h.fsf@stebalien.com> <867ceszvp1.fsf@gnu.org> <87r0d0rfxa.fsf@stebalien.com> <87bk44bzf4.fsf@stebalien.com> <8634pgztx0.fsf@gnu.org> <86v82cxahx.fsf@gnu.org> <86v82bwef4.fsf@gnu.org> Content-Language: en-US From: Dmitry Gutov In-Reply-To: <86v82bwef4.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 71525-done Cc: jporterbugs@gmail.com, 71525-done@debbugs.gnu.org, steven@stebalien.com 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.0 (-) On 14/06/2024 21:46, Eli Zaretskii wrote: >> Date: Fri, 14 Jun 2024 21:17:22 +0300 >> Cc:steven@stebalien.com,jporterbugs@gmail.com,71525@debbugs.gnu.org >> From: Dmitry Gutov >> >> On 14/06/2024 10:13, Eli Zaretskii wrote: >>>> /* Insert a sequence of NCHARS chars which occupy NBYTES bytes >>>> starting at GAP_END_ADDR - NBYTES (if text_at_gap_tail) and at >>>> - GPT_ADDR (if not text_at_gap_tail). */ >>>> + GPT_ADDR (if not text_at_gap_tail). >>>> + >>>> + If BEFORE_MARKERS is true, insert before markers. */ >>> This commentary should also mention process.c as the single caller >>> using this facility in unconventional ways. >> Also note that I did make some effort to make the field >> coding->insert_before_markers used consistently: in the changeset, it's >> not just obeyed on the code path that decode_coding_c_string goes >> through - it's used anywhere where insert_from_gap is called and a >> coding_system structure is available - e.g. in encode_coding. >> >> Also in decode_coding_gap, but that one seems to only have one caller >> (insert-file-contents), so that choice is moot. >> >> Something else I've noticed (a bit off topic): insert_from_gap_1's >> comments says that it "does not invalidate any cache, nor update any >> markers, nor record any buffer modification information of any sort", >> but then it calls treesit_record_change when available. Not sure we need >> to change that, but maybe we should update the comment, at least. > Thanks, done. > > I think we can now close this bug. Thanks everyone! I think we've now crash-debugged every new code path. ;-) From unknown Sun Jun 22 17:11:52 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 13 Jul 2024 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