Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -march=x86-64 -mtune=generic -O2 -pipe -fno-plt - DDEFAULT_PATH_VALUE='/usr/local/sbin:/usr/local/bin:/usr/bin' - DSTANDARD_UTILS_PATH='/usr/bin' -DSYS_BASHRC='/etc/bash.bashrc' - DSYS_BASH_LOGOUT='/etc/bash.bash_logout' -DNON_INTERACTIVE_LOGIN_SHELLS uname output: Linux flyingpig 5.12.10-arch1-1 #1 SMP PREEMPT Thu, 10 Jun 2021 16:34:50 +0000 x86_64 GNU/Linux Machine Type: x86_64-pc-linux-gnu
Bash Version: 5.1 Patch Level: 8 Release Status: release Description: Running the fc builtin on an empty history list results in a segmentation fault from bash. Repeat-By: Run the following commands and observe the output: $ bash --noprofile --norc $ HISTCONTROL=ignorespace $ history -c $ fc Segmentation fault (core dumped)