Package: bash Version: 4.0-4 Severity: normal
When attemtping to assign to an associative array, bash crashed and rendered the pty unusable. The following is a cut-and-paste from the bash session: $ declare -A foo $ foo=(dir=$HOME) malloc: ../bash/hashlib.c:306: assertion botched free: called with unallocated block argument last command: foo=(dir=$HOME) Aborting... Warning: Program '/bin/bash' crashed. Expected behavior is for foo["dir"] to equal the expanded value of $HOME. Perhaps more importantly, expected behavior is that bash handle the error more gracefully. -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (990, 'testing'), (700, 'unstable'), (600, 'stable'), (550, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.30-2-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages bash depends on: ii base-files 5.0.0 Debian base system miscellaneous f ii debianutils 3.2.1 Miscellaneous utilities specific t ii libc6 2.9-25 GNU C Library: Shared libraries ii libncurses5 5.7+20090803-2 shared libraries for terminal hand Versions of packages bash recommends: ii bash-completion 1:1.0-3 programmable completion for the ba Versions of packages bash suggests: pn bash-doc <none> (no description available) -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org