[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug in gen_shell_function_matches()
From: |
Chet Ramey |
Subject: |
Re: Bug in gen_shell_function_matches() |
Date: |
Mon, 02 Nov 2009 08:40:36 -0500 |
User-agent: |
Thunderbird 2.0.0.23 (Macintosh/20090812) |
Vladimir Barbarosh wrote:
> Hi!
>
> I found bug in 'GNU bash, version 4.0.0(18)-release (i686-pc-linux-gnu)'. In
> order to reply it, just type:
>
> $ ./configure
> $ make
> $ ./bash
> $ ls a<TAB>
> malloc: /Users/chet/src/bash/src/parse.y:5561: assertion botched
> free: called with unallocated block argument
> last command: ./bash
> Aborting...Aborted
This is fixed by bash-4.0 patch 2.
> But, this reveals another problem. Just try to type, under bash sources
> directory, 'ls a<TAB>'. First time you press <TAB> your speaker will beep.
> Second time you press <TAB> files will be listed, but cursor go to the left
> part of 'xterm'. You always must press END key on the keyboard in order to
> place cursor where it shold be.
I would try applying the bash-4.0 patches to see whether or not that
fixes it.
It's hard for me to try to reproduce the problem without knowing the
original value of $PS1, since you use it in the assignment statement
in your report.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/