Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #14351

segfault when converting local indexed to associative array

From Grisha Levit <grishalevit@gmail.com>
Newsgroups gnu.bash.bug
Subject segfault when converting local indexed to associative array
Date 2018-07-17 13:55 -0400
Message-ID <mailman.3723.1531850158.1292.bug-bash@gnu.org> (permalink)

Show all headers | View raw


$ echo $BASH_VERSION
4.4.23(1)-release
$ f() { declare -a a; declare -A a; declare -p a; }; f
bash: declare: a: cannot convert indexed to associative array
declare -aA a
Segmentation fault: 11

This behavior is still present in the devel branch.

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

segfault when converting local indexed to associative array Grisha Levit <grishalevit@gmail.com> - 2018-07-17 13:55 -0400

csiph-web