Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: openbsd6.8 Compiler: tested with GCC and Clang Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='openbsd6.8' -DCONF_MACHTYPE='x86_64-pc-openbsd6.8' -DCONF_VENDOR='pc' -DLOCALEDIR='/home/sysrq/bash2/usr/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl -I/home/sysrq/bash/bash-build/bash-4.2/lib/intl -DSYS_BASHRC='/home/sysrq/bash2/etc/bash/bashrc' -g -O2 uname output: OpenBSD tilde.institute 6.8 GENERIC.MP#4 amd64 Machine Type: x86_64-pc-openbsd6.8
Bash Version: 4.2 through 5.1 Patch Level: 0 Release Status: release Description: It doesn't matter how SYS_BASHRC is named or whether it exists or not. ALways segfaults. Backtrace: #0 bash_tilde_expand (s=0x73687263 <Address 0x73687263 out of bounds>, assign_p=0) at general.c:990 #1 0x00000e7d0d1edbc7 in maybe_execute_file (fname=Variable "fname" is not available.) at evalfile.c:308 #2 0x00000e7d0d19e889 in run_startup_files () at shell.c:1110 #3 0x00000e7d0d19ff48 in main (argc=1, argv=0x7f7ffffc19a8, env=0x7f7ffffc19b8) at shell.c:649 Repeat-By: 1. export CPPFLAGS="-DSYS_BASHRC='/home/sysrq/bash2/etc/bash/bashrc'" 2. ./configure && make && make install 3. Run "bash"