On Fri, Oct 24, 2025 at 12:55 PM Chet Ramey <[email protected]> wrote:
>
> On 10/24/25 12:26 PM, Chet Ramey wrote:
>
> > I just freshly cloned the repository on macOS, switched to the devel
> > branch, built it and:
> >
> > $ ./bash -c 'f() { local -n x; local -A x; local -p x; (local x=(z)); };
> > x=x f'
> > ./bash: line 1: warning: x: circular name reference
> > ./bash: line 1: warning: x: circular name reference
> > declare -Ax x=()
>
> I get the crash on Fedora, but not macOS. I'll figure out what's going on
> there.
FWIW, on macOS, if I configure with --disable-nls, I get
declare -Anx x=()
Segmentation fault: 11
Without that option, I get
declare -Ax x=()