GNU bug report logs - #71525
30.0.50; Spin in delete-region/interval_deletion_adjustment

Previous Next

Package: emacs;

Reported by: Steven Allen <steven <at> stebalien.com>

Date: Wed, 12 Jun 2024 19:22:01 UTC

Severity: normal

Found in version 30.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 71525 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Steven Allen <steven <at> stebalien.com>
Cc: 71525 <at> debbugs.gnu.org
Subject: Re: bug#71525: 30.0.50;
 Spin in delete-region/interval_deletion_adjustment
Date: Thu, 13 Jun 2024 08:49:35 +0300
> 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" <bug-gnu-emacs <at> gnu.org>
> 
> 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.




This bug report was last modified 1 year and 33 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.