[konsole] [Bug 428639] New: Crash while closing a kconsole window, possibly caused by searching in extremely long scrollback history
bugzilla_noreply at kde.org
bugzilla_noreply at kde.org
Tue Nov 3 12:08:17 GMT 2020
https://bugs.kde.org/show_bug.cgi?id=428639
Bug ID: 428639
Summary: Crash while closing a kconsole window, possibly caused
by searching in extremely long scrollback history
Product: konsole
Version: 20.08.2
Platform: Ubuntu Packages
OS: Linux
Status: REPORTED
Keywords: drkonqi
Severity: crash
Priority: NOR
Component: general
Assignee: konsole-devel at kde.org
Reporter: rainer+kdebugs at 7val.com
Target Milestone: ---
Application: konsole (20.08.2)
Qt Version: 5.14.2
Frameworks Version: 5.74.0
Operating System: Linux 5.8.0-25-generic x86_64
Windowing system: X11
Distribution: Ubuntu 20.10
-- Information about the crash:
- What I was doing when the application crashed:
To attempt to reproduce https://bugs.kde.org/show_bug.cgi?id=360146:
* ran this for a minute or two:
while true; do echo -n $RANDOM
==============================================================================================================
$RANDOM xx ; done
* searched for a random number backwards and forward using the up/down arrows
in the search popup repeatedly/randomly
* did the same holding down F3 / Shift-F3
* Canceled the while loop using Ctrl+C
* Reset+Clear saved lines (Ctrl+Shift+K) and tried again once.
Result: the terminal becomes unusable in that it repeatedly and automatically
scrolls to random positions in the scrollback buffer, although one can type at
the prompt all the way at the bottom. Konsole crashed when closing the window
with this session.
The crash can be reproduced sometimes.
-- Backtrace (Reduced):
#5 0x00007f155ccdb94a in Konsole::SearchHistoryTask::executeOnScreenWindow
(this=0x560ebdb04d10, session=..., window=...) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:663
#6 0x00007f155ccdbdc2 in Konsole::SearchHistoryTask::execute
(this=0x560ebdb04d10) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qmap.h:1281
#7 0x00007f155cced108 in Konsole::SessionController::beginSearch
(this=this at entry=0x560ebd995aa0, text=...,
direction=direction at entry=Konsole::Enum::ForwardsSearch) at
./src/SessionController.cpp:1455
#8 0x00007f155cced45d in Konsole::SessionController::findPreviousInHistory
(this=0x560ebd995aa0) at /usr/include/c++/10/bits/atomic_base.h:420
#9 0x00007f155b696320 in doActivate<false> (sender=0x560ebd32b2a0,
signal_index=4, argv=argv at entry=0x7ffcc3e0b5a0) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:395
Possible duplicates by query: bug 423054, bug 418543, bug 360146, bug 356272,
bug 333971.
Reported using DrKonqi
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the konsole-devel
mailing list