Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -g -O2 uname output: Linux manwelinux 5.15.85-1-MANJARO #1 SMP PREEMPT Wed Dec 21 21:15:06 UTC 2022 x86_64 GNU/Linux Machine Type: x86_64-pc-linux-gnu
Bash Version: 5.2 Patch Level: 15 Release Status: release Description: I ran into a segmentation fault running bash --posix. Here are the steps to reproduce : bash-5.1$ echo () { echo test } > echo test > } bash-5.1$ echo Even though I'm not sure what is causing this seg fault, I'm sure it is not the normal/expected behaviour. Repeat-By: I tested this with a manually compiled version of bash, using the following commands : $ ./configure --enable-debugger $ make $ ./bash --posix bash-5.1$ echo () { echo test } > echo test > } bash-5.1$ echo This produces a seg fault.