Bug 467489 - Konsole crash when searching on a loaded console
Summary: Konsole crash when searching on a loaded console
Status: RESOLVED WORKSFORME
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 22.12.3
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-03-17 12:52 UTC by Boaz Harrosh
Modified: 2024-10-21 03:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Boaz Harrosh 2023-03-17 12:52:50 UTC
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
Comment 1 Christoph Cullmann 2024-09-21 15:37:50 UTC
Please re-try this with a current release.
Comment 2 Bug Janitor Service 2024-10-06 03:47:47 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2024-10-21 03:47:36 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.