bash 4.3: "Clear Scrollback and Reset" (Ctrl-Shift-X) in konsole stopped to work as expected when upgrading from upstream bash 4.2 to upstream bash 4.3

Date:

Fri, 28 Nov 2014 01:27:14 +0300

Package: bash
Version: 4.3
Severity: important
Tags: upstream
Steps to reproduce: open konsole (with bash in it) and type Ctrl-Shift-X (this
is shortcut for "Clear Scrollback and Reset" feature in konsole). What I see:
the terminal clears and no prompt appear. What I expected: I expected prompt to
appear.
This is upstream bug, and it is a regression. It appeared in bash 4.3, but in
bash 4.2 there was no such bug.
My system is Debian Wheezy 7 amd64. My konsole version is 4:4.8.4-2 (upstream
version: 2.8.4).
And in fact, I don't know whatever this is bug in bash, in konsole, or this is
not a bug at all. Also, this is upstream bug, so I CC'd address@hidden . And it
is konsole-related, so I CC'd address@hidden .
Also, the bug reproduces on both bash 4.2 and 4.2 in gnome-terminal with its
reset feature.
Also, I want to say that this is very confusing, hard-to-localize and
hard-to-catch bug. At first, I noticed that Ctrl-Shift-X doesn't work as
expected when I connect to some Ubuntu machine over ssh. At first I started to
think this is ssh misconfiguration or some performance issue. Then I noticed
that it reproduces with Ubuntu Trusty (with bash 4.3) remote machine and
doesn't reproduce with Debian Wheezy (with bash 4.2) one. Then I understand
that the bug is not related to ssh at all and this is just bash+konsole bug.
So, because of this very confusing nature of the bug, I gave it priority
"important".
==
Askar Safin
http://vk.com/safinaskar
Kazan, Russia