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


Groups > gnu.bash.bug > #14354

Re: segfault when converting local indexed to associative array

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: segfault when converting local indexed to associative array
Date 2018-07-17 16:56 -0400
Message-ID <mailman.3734.1531861000.1292.bug-bash@gnu.org> (permalink)
References <CAMu=BrogEqdgkqS0v1LfS7PS5NWR15xLW0YpsXnAzCXq5HBANw@mail.gmail.com>

Show all headers | View raw


On 7/17/18 1:55 PM, Grisha Levit wrote:
> $ 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.

Thanks for the report.

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

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


Thread

Re: segfault when converting local indexed to associative array Chet Ramey <chet.ramey@case.edu> - 2018-07-17 16:56 -0400

csiph-web