[konsole] [Bug 467489] New: Konsole crash when searching on a loaded console

Boaz Harrosh bugzilla_noreply at kde.org
Fri Mar 17 12:52:50 GMT 2023


https://bugs.kde.org/show_bug.cgi?id=467489

            Bug ID: 467489
           Summary: Konsole crash when searching on a loaded console
    Classification: Applications
           Product: konsole
           Version: 22.12.3
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: konsole-devel at kde.org
          Reporter: kdebz at electrozaur.com
  Target Milestone: ---

Application: konsole (22.12.3)

Qt Version: 5.15.8
Frameworks Version: 5.103.0
Operating System: Linux 6.1.15-200.fc37.x86_64 x86_64
Windowing System: X11
Distribution: Fedora Linux 37 (KDE Plasma)
DrKonqi: 5.27.2 [KCrashBackend]

-- Information about the crash:
- The Konsole had several 1000's lines of prints
- I was searching the Konsole for stings several times.
- The Default setting, and also here, was INFINITE history
.
Happens every time, on a loaded Konsole with a long history, while searching
(Always when the search wraps from end-to-start, or start-to-end)
.
On my previous KDE version I used to do even heavier searches, and it never
crashed.
Also on PREV KDE version (I used), search in Konsole was noticeably  faster

Thank you

The crash can be reproduced every time.

-- Backtrace:
Application: Konsole (konsole), signal: Aborted

[KCrash Handler]
#4  0x00007fdb550afe5c in __pthread_kill_implementation () from
/lib64/libc.so.6
#5  0x00007fdb5505fa76 in raise () from /lib64/libc.so.6
#6  0x00007fdb550497fc in abort () from /lib64/libc.so.6
#7  0x00007fdb552a2b97 in __gnu_cxx::__verbose_terminate_handler() [clone
.cold] () from /lib64/libstdc++.so.6
#8  0x00007fdb552ae48c in __cxxabiv1::__terminate(void (*)()) () from
/lib64/libstdc++.so.6
#9  0x00007fdb552ae4f7 in std::terminate() () from /lib64/libstdc++.so.6
#10 0x00007fdb552ae758 in __cxa_throw () from /lib64/libstdc++.so.6
#11 0x00007fdb556b07bf in qBadAlloc() () from /lib64/libQt5Core.so.5
#12 0x00007fdb556b59bf in QString::reallocData(unsigned int, bool) [clone
.cold] () from /lib64/libQt5Core.so.5
#13 0x00007fdb55766e4f in QString::append(QChar const*, int) () from
/lib64/libQt5Core.so.5
#14 0x00007fdb5591e318 in QTextStream::operator<<(QString const&) () from
/lib64/libQt5Core.so.5
#15 0x00007fdb56fe102f in
Konsole::PlainTextDecoder::decodeLine(Konsole::Character const*, int,
Konsole::LineProperty) () from /lib64/libkonsoleprivate.so.1
#16 0x00007fdb56f2d4a6 in Konsole::Screen::copyLineToStream(int, int, int,
Konsole::TerminalCharacterDecoder*, bool, bool,
QFlags<Konsole::Screen::DecodingOption>) const () from
/lib64/libkonsoleprivate.so.1
#17 0x00007fdb56f2d7cf in
Konsole::Screen::writeToStream(Konsole::TerminalCharacterDecoder*, int, int,
QFlags<Konsole::Screen::DecodingOption>) const () from
/lib64/libkonsoleprivate.so.1
#18 0x00007fdb56f36f6c in Konsole::SearchHistoryTask::execute() () from
/lib64/libkonsoleprivate.so.1
#19 0x00007fdb56fc8f27 in Konsole::SessionController::beginSearch(QString
const&, Konsole::Enum::SearchDirection) () from /lib64/libkonsoleprivate.so.1
#20 0x00007fdb56fc9468 in Konsole::SessionController::findPreviousInHistory()
() from /lib64/libkonsoleprivate.so.1
#21 0x00007fdb558d0e96 in void doActivate<false>(QObject*, int, void**) () from
/lib64/libQt5Core.so.5
#22 0x00007fdb558d0e96 in void doActivate<false>(QObject*, int, void**) () from
/lib64/libQt5Core.so.5
#23 0x00007fdb566a3396 in QAbstractButton::clicked(bool) () from
/lib64/libQt5Widgets.so.5
#24 0x00007fdb566a360e in QAbstractButtonPrivate::emitClicked() () from
/lib64/libQt5Widgets.so.5
#25 0x00007fdb566a524c in QAbstractButtonPrivate::click() () from
/lib64/libQt5Widgets.so.5
#26 0x00007fdb566a546b in QAbstractButton::mouseReleaseEvent(QMouseEvent*) ()
from /lib64/libQt5Widgets.so.5
#27 0x00007fdb567a2ffe in QToolButton::mouseReleaseEvent(QMouseEvent*) () from
/lib64/libQt5Widgets.so.5
#28 0x00007fdb565f1938 in QWidget::event(QEvent*) () from
/lib64/libQt5Widgets.so.5
#29 0x00007fdb565aed62 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /lib64/libQt5Widgets.so.5
#30 0x00007fdb565b73d2 in QApplication::notify(QObject*, QEvent*) () from
/lib64/libQt5Widgets.so.5
#31 0x00007fdb5589d4e8 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /lib64/libQt5Core.so.5
#32 0x00007fdb565b54d2 in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) ()
from /lib64/libQt5Widgets.so.5
#33 0x00007fdb5660ac9c in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from
/lib64/libQt5Widgets.so.5
#34 0x00007fdb5660e060 in QWidgetWindow::event(QEvent*) () from
/lib64/libQt5Widgets.so.5
#35 0x00007fdb565aed62 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /lib64/libQt5Widgets.so.5
#36 0x00007fdb5589d4e8 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /lib64/libQt5Core.so.5
#37 0x00007fdb55d6ad6d in
QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
() from /lib64/libQt5Gui.so.5
#38 0x00007fdb55d49f1c in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /lib64/libQt5Gui.so.5
#39 0x00007fdb4fc35a7e in xcbSourceDispatch(_GSource*, int (*)(void*), void*)
() from /lib64/libQt5XcbQpa.so.5
#40 0x00007fdb53d15c7f in g_main_context_dispatch () from
/lib64/libglib-2.0.so.0
#41 0x00007fdb53d6c118 in g_main_context_iterate.constprop () from
/lib64/libglib-2.0.so.0
#42 0x00007fdb53d12f00 in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#43 0x00007fdb558ee5fa in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib64/libQt5Core.so.5
#44 0x00007fdb5589bf3a in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/lib64/libQt5Core.so.5
#45 0x00007fdb558a4002 in QCoreApplication::exec() () from
/lib64/libQt5Core.so.5
#46 0x00005621d1f667d1 in main ()
[Inferior 1 (process 71353) detached]

The reporter indicates this bug may be a duplicate of or related to bug 246652.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list