On 10/24/25 1:01 PM, Grisha Levit wrote:
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=()

Thanks for the update. This one should be fixed in the latest push.


--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    [email protected]    http://tiswww.cwru.edu/~chet/

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to