bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bash crashes if you try to mapfile into an associative array


From: Nick Hobson
Subject: Bash crashes if you try to mapfile into an associative array
Date: Fri, 16 Oct 2009 04:36:37 -0700 (PDT)

From: Nick Hobson
To: address@hidden
Subject: Bash crashes if you try to mapfile into an associative array

Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu' 
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL 
-DHAVE_CONFIG_H   -I.  -I. -I./include -I./lib   -march=i686 -mtune=generic -O2 
-pipe
uname output: Linux localhost 2.6.31-ARCH #1 SMP PREEMPT Tue Oct 13 13:36:23 
CEST 2009 i686 Intel(R) Celeron(R) CPU 550 @ 2.00GHz GenuineIntel GNU/Linux
Machine Type: i686-pc-linux-gnu

Bash Version: 4.0
Patch Level: 33
Release Status: release

Description:
    If you declare an array to be associative and then try to mapfile (or 
readarray) into it, Bash crashes.

Repeat-By:
    declare -A x
    mapfile x <test-file


reply via email to

[Prev in Thread] Current Thread [Next in Thread]