GNU bug report logs - #53366
29.0.50; Eshell globbing expression produces infinite recursion.

Previous Next

Package: emacs;

Reported by: antonioruiz.math <at> gmail.com

Date: Wed, 19 Jan 2022 14:29:02 UTC

Severity: normal

Found in version 29.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 53366 in the body.
You can then email your comments to 53366 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#53366; Package emacs. (Wed, 19 Jan 2022 14:29:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to antonioruiz.math <at> gmail.com:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 19 Jan 2022 14:29:03 GMT) Full text and rfc822 format available.

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

From: antonioruiz.math <at> gmail.com
To: bug-gnu-emacs <at> gnu.org
Subject: 29.0.50; Eshell globbing expression produces infinite recursion.
Date: Wed, 19 Jan 2022 03:55:24 -0500
Running the following recipe in a non-empty directory produces an
infinite recursion for me.
#+begin_recipe
emacs -Q RET
M-x eshell RET
echo *(^/) RET
#+end_recipe
It seems like this happens generally when I use '^' in globbing. 


In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2022-01-18 built on hydrogen
Repository revision: 90dda33108dc505f66d79c6422cf69456c5b7fa0
Repository branch: master
System Description: Arch Linux

Configured using:
 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib
 --localstatedir=/var --mandir=/usr/share/man --with-gameuser=:games
 --with-sound=alsa --with-modules --without-libotf --without-m17n-flt
 --without-gconf --without-gsettings --with-native-compilation
 --with-xinput2 --with-x-toolkit=lucid --with-xft --with-xaw3d
 --without-cairo --with-sound=no --without-gpm
 --without-compress-install
 '--program-transform-name=s/\([ec]tags\)/\1.emacs/'
 'CFLAGS=-march=skylake -O2 -pipe -fno-plt -fexceptions
 -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security
 -fstack-clash-protection -fcf-protection -march=skylake -Ofast -pipe
 -fno-finite-math-only -fno-signed-zeros -fno-trapping-math
 -floop-nest-optimize -fno-stack-protector -ftracer -march=skylake
 -Ofast -pipe -fno-finite-math-only -fno-signed-zeros -fno-trapping-math
 -floop-nest-optimize -fno-stack-protector -ftracer'
 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'

Configured features:
ACL DBUS FREETYPE GIF GLIB GMP GNUTLS HARFBUZZ JPEG JSON LCMS2
LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG
SECCOMP SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XAW3D XDBE XFT
XIM XINPUT2 XPM LUCID ZLIB

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Eshell

Minor modes in effect:
  shell-dirtrack-mode: t
  eshell-prompt-mode: t
  eshell-hist-mode: t
  eshell-pred-mode: t
  eshell-cmpl-mode: t
  eshell-proc-mode: t
  eshell-arg-mode: t
  gpm-mouse-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: linux
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message mailcap yank-media rmc puny
dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg
rfc6068 epg-config gnus-util text-property-search time-date mm-decode
mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader
sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils
em-unix em-term term shell ehelp em-script em-prompt em-ls cl-loaddefs
cl-lib em-hist em-pred em-glob em-cmpl em-dirs esh-var pcomplete comint
ansi-color ring em-basic em-banner em-alias esh-mode eshell esh-cmd
esh-ext esh-opt esh-proc esh-io esh-arg esh-module esh-groups esh-util
seq gv subr-x byte-opt bytecomp byte-compile cconv t-mouse term/linux
disp-table iso-transl tooltip eldoc paren electric uniquify ediff-hook
vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode 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 cl-generic cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932
hebrew greek romanian slovak czech european ethiopic indian cyrillic
chinese composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button
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 x-toolkit xinput2 x multi-tty
make-network-process native-compile emacs)

Memory information:
((conses 16 80743 9928)
 (symbols 48 7454 0)
 (strings 32 22413 1798)
 (string-bytes 1 763736)
 (vectors 16 13082)
 (vector-slots 8 286158 9424)
 (floats 8 24 314)
 (intervals 56 356 0)
 (buffers 992 11))




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#53366; Package emacs. (Mon, 28 Mar 2022 03:57:02 GMT) Full text and rfc822 format available.

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

From: Jim Porter <jporterbugs <at> gmail.com>
To: antonioruiz.math <at> gmail.com, 53366 <at> debbugs.gnu.org
Subject: Re: bug#53366: 29.0.50; Eshell globbing expression produces infinite
 recursion.
Date: Sun, 27 Mar 2022 20:56:25 -0700
On 1/19/2022 12:55 AM, antonioruiz.math <at> gmail.com wrote:
> 
> Running the following recipe in a non-empty directory produces an
> infinite recursion for me.
> #+begin_recipe
> emacs -Q RET
> M-x eshell RET
> echo *(^/) RET
> #+end_recipe
> It seems like this happens generally when I use '^' in globbing.

I think this is the same as bug#54369[1], which is now fixed. (Sorry, I 
didn't notice this bug when filing that one.)

[1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=54369




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#53366; Package emacs. (Tue, 29 Mar 2022 12:28:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Jim Porter <jporterbugs <at> gmail.com>
Cc: 53366 <at> debbugs.gnu.org, antonioruiz.math <at> gmail.com
Subject: Re: bug#53366: 29.0.50; Eshell globbing expression produces
 infinite recursion.
Date: Tue, 29 Mar 2022 14:27:18 +0200
Jim Porter <jporterbugs <at> gmail.com> writes:

> I think this is the same as bug#54369[1], which is now fixed. (Sorry,
> I didn't notice this bug when filing that one.)

I'm closing this bug report now, then.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug marked as fixed in version 29.1, send any further explanations to 53366 <at> debbugs.gnu.org and antonioruiz.math <at> gmail.com Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 29 Mar 2022 12:28:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 27 Apr 2022 11:24:11 GMT) Full text and rfc822 format available.

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

Previous Next


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