Bash-4.0 crashes with tab expansion of dirnames in $CDPATH

2009-04-20 Thread Pekka Niemi
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/local/share/locale' -DPACKAGE='bash' -DSHELL
-DHAVE_CONFIG_H   -I.  -I. -I./include -I./lib   -g -O2
uname output: Linux pen-laptop 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 0
   1:57:59 UTC 2009 i686 GNU/Linux
Machine Type: i686-pc-linux-gnu

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

Description:

  Bash crashes when using tab to find an existing directory using CDPATH.

Repeat-By:

  Crashes each time.

#the Translation directory is under Src,  means the TAB key
p...@pen-laptop:~$ bash
p...@pen-laptop:~$ echo $BASH_VERSION
4.0.0(1)-release
p...@pen-laptop:~$ echo $CDPATH
.:/home2/pen:/home2/pen/Src:/home2/pen/Documents:/home2/pen/Guides:/media/Disk1
p...@pen-laptop:~$ pwd
/home2/pen
p...@pen-laptop:~$ cd Trans
malloc: /Users/chet/src/bash/src/parse.y:5561: assertion botched
free: called with unallocated block argument
last command: pwd
Aborting...Keskeytetty


  pen

-- 
Submitted by a renaissance nerd
http://www.linkedin.com/in/pekkaniemi


Re: Bash-4.0 crashes with tab expansion of dirnames in $CDPATH

2009-04-20 Thread Chet Ramey
Pekka Niemi wrote:
> 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/local/share/locale' -DPACKAGE='bash' -DSHELL
> -DHAVE_CONFIG_H   -I.  -I. -I./include -I./lib   -g -O2
> uname output: Linux pen-laptop 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 0
>1:57:59 UTC 2009 i686 GNU/Linux
> Machine Type: i686-pc-linux-gnu
> 
> Bash Version: 4.0
> Patch Level: 0
> Release Status: release
> 
> Description:
> 
>   Bash crashes when using tab to find an existing directory using CDPATH.

Please install the bash patches.  Patch 2 addresses this issue.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer

Chet Ramey, ITS, CWRUc...@case.eduhttp://cnswww.cns.cwru.edu/~chet/