bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Setting IFS='*' causes bash to freeze on tab completion


From: Ibrahim M. Ghazal
Subject: Setting IFS='*' causes bash to freeze on tab completion
Date: Fri, 1 Jul 2016 15:23:43 +0300

Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-redhat-linux-gnu'
-DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/share/locale'
-DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H   -I.  -I. -I./include
-I./lib  -D_GNU_SOURCE -DRECYCLES_PIDS
-DDEFAULT_PATH_VALUE='/usr/local/bin:/usr/bin'  -O2 -g -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4
-grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-m64 -mtune=generic
uname output: Linux aspire-7750.lan 4.5.7-300.fc24.x86_64 #1 SMP Wed
Jun 8 18:12:45 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Machine Type: x86_64-redhat-linux-gnu

Bash Version: 4.3
Patch Level: 42
Release Status: release

Description:
If you set IFS='*' in an interactive shell, then try to use tab
completion, bash freezes and doesn't respond to any keyboard input.
Running top from a different bash instance shows the first bash is
consuming 100% CPU. The only way to kill it is by kill -9.

Repeat-By:
1- Start an interactive bash.
2- IFS='*'
3- Type echo followed by space and then press tab twice.
4- Bash freezes.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]