[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: declare -A a=b crashes bash
From: |
Chris F.A. Johnson |
Subject: |
Re: declare -A a=b crashes bash |
Date: |
Fri, 9 Apr 2010 12:02:05 -0400 (EDT) |
User-agent: |
Alpine 2.00 (LMD 1167 2008-08-23) |
On Fri, 9 Apr 2010, Dennis van Dok wrote:
> Configuration Information [Automatically generated, do not change]:
> Machine: x86_64
> OS: linux-gnu
> Compiler: gcc
> Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64'
> -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu'
> -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash'
> -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib
> -g -O2 -Wall
> uname output: Linux camilla 2.6.31-21-generic #59-Ubuntu SMP Wed Mar 24
> 07:28:27 UTC 2010 x86_64 GNU/Linux
> Machine Type: x86_64-pc-linux-gnu
>
> Bash Version: 4.0
> Patch Level: 33
> Release Status: release
>
> Description:
> Typing 'declare -A a=b' crashes bash with a segmentation fault.
> Repeat-By:
> Type 'declare -A a=b'.
I can confirm that in 4.0, but it works in 4.1
Time to upgrade?
--
Chris F.A. Johnson, <http://cfajohnson.com>
Author:
Pro Bash Programming: Scripting the GNU/Linux Shell (2009, Apress)
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)