Package: bash
Version: 5.0-1
Severity: normal

Dear Maintainer,

While doing my regular upgrade of Sid, I happily discovered that
brand new bash version 5.0-1 in the set of installed packages,
so I gave it a try.  :^)

I ran the command `ls` which stuck without showing the output of
my home directory while it usually did, and while /bin/ls did
show it without much issues.  Remembering a similar situation in
a long forgotten past in Csh, I ran `unalias ls` and the
situation went back to normal.

Alas, in my foolishness, I dug deeper in my login scripts to
understand why this was affecting me, thinking I introduced a
loop of some sort. Instead I discovered that: if an alias ends
with a tabulation character, then the hang reappears.  Example:

        $ alias reproducer='true        '
        $ reproducer
        _

...and you should see your shell running at 100% in a monitor
like `top`.  I'm not sure if I broke something with my
nonstandard system, but in case some other maniac of well
aligned quote has the same issue, at least this entry exists.

As an additional symptom, or lack of, an `strace bash` output
of the shell does not show system calls while the interpreter
is looping so, either there is no system call during the loop,
or I don't strace the right process.

Kind Regards,
-- 
Étienne Mollier <etienne.moll...@mailoo.org>


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.8-fusion (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages bash depends on:
ii  base-files   10.1
ii  debianutils  4.8.6
ii  libc6        2.28-5
ii  libtinfo6    6.1+20181013-1

Versions of packages bash recommends:
ii  bash-completion  1:2.8-5

Versions of packages bash suggests:
pn  bash-doc  <none>

-- no debconf information

Reply via email to