The bash bug I linked indeed seems to be a different one; however, it might give some clues about what might going on. E.g. your locale, PS1, PROMPT_COMMAND etc. _might_ be relevant. (I cannot reproduce your problem, although I can see the prompt incorrectly showing parts of color changing escape sequences. I have a custom PS1, though. Allegedly work-in-progress bash-4.5 is going to contain yet another bunch of related fixes.)
Could you try for example to “unset PROMPT_COMMAND” at the last line of your .bashrc, or change to a much simpler PS1, does it still crash then?
Could you please try with bash development version?
If this one is still buggy, it would the best if you could raise this issue with upstream bash maintainers. There's a "bashbug" tool that collects the information required by developers. (Since I don't have cmdline email sending set up, I just see which file it opens for me to edit, open the same file in gedit and copy-paste to my favorite email client (this way long lines don't get chopped).)
If the devel version is okay then Ubuntu will also be fixed whenever bash-4.5 is released and then Ubuntu upgrades to that, which might still take quite a while. I'm sorry but I won't be able to help backporting the fix to Ubuntu, I'm not an Ubuntu developer, just lurking around here keeping an eye on gnome-terminal :)
Hi,
The bash bug I linked indeed seems to be a different one; however, it might give some clues about what might going on. E.g. your locale, PS1, PROMPT_COMMAND etc. _might_ be relevant. (I cannot reproduce your problem, although I can see the prompt incorrectly showing parts of color changing escape sequences. I have a custom PS1, though. Allegedly work-in-progress bash-4.5 is going to contain yet another bunch of related fixes.)
Could you try for example to “unset PROMPT_COMMAND” at the last line of your .bashrc, or change to a much simpler PS1, does it still crash then?
Could you please try with bash development version?
git clone https:/ /git.savannah. gnu.org/ git/bash. git
cd bash
git checkout devel
./configure
make DEBUG= MALLOC_DEBUG=
./bash
If this one is still buggy, it would the best if you could raise this issue with upstream bash maintainers. There's a "bashbug" tool that collects the information required by developers. (Since I don't have cmdline email sending set up, I just see which file it opens for me to edit, open the same file in gedit and copy-paste to my favorite email client (this way long lines don't get chopped).)
If the devel version is okay then Ubuntu will also be fixed whenever bash-4.5 is released and then Ubuntu upgrades to that, which might still take quite a while. I'm sorry but I won't be able to help backporting the fix to Ubuntu, I'm not an Ubuntu developer, just lurking around here keeping an eye on gnome-terminal :)