On Tue, Aug 12, 2014 at 02:21:18AM +0800, lolilolicon wrote: > The following code segfaults when run by bash 4.3.022 > > set -E > shopt -s lastpipe > trap -- 'true' ERR > true | { true | false; }
I could not reproduce this, on HP-UX or Linux. I tried from an interactive shell, just typing these commands. Did you use a script? Is your bash 4.3.22 from an OS distribution package, or did you compile it yourself? If it's a script, is BASH_ENV set? Can you still trigger the bug with an interactive shell, or with an interactive shell started with --norc?