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


Groups > gnu.bash.bug > #14354 > unrolled thread

Re: segfault when converting local indexed to associative array

Started byChet Ramey <chet.ramey@case.edu>
First post2018-07-17 16:56 -0400
Last post2018-07-17 16:56 -0400
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#14354 — Re: segfault when converting local indexed to associative array

FromChet Ramey <chet.ramey@case.edu>
Date2018-07-17 16:56 -0400
SubjectRe: segfault when converting local indexed to associative array
Message-ID<mailman.3734.1531861000.1292.bug-bash@gnu.org>
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/

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web