Bug 462386 - Crash in Konsole while selecting text
Summary: Crash in Konsole while selecting text
Status: RESOLVED DUPLICATE of bug 458822
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 22.08.1
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-11-29 10:26 UTC by ricardof
Modified: 2023-01-10 17:48 UTC (History)
2 users (show)

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


Attachments
New crash information added by DrKonqi (50.57 KB, text/plain)
2023-01-10 17:48 UTC, Oded Arbel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ricardof 2022-11-29 10:26:42 UTC
Application: konsole (22.08.1)

Qt Version: 5.15.7
Frameworks Version: 5.100.0
Operating System: Linux 6.0.9-200.fc36.x86_64 x86_64
Windowing System: X11
Distribution: Fedora Linux 36 (KDE Plasma)
DrKonqi: 5.26.3 [KCrashBackend]

-- Information about the crash:
Konsole crashes often when selecting text. This has happened twice today. Earlier, I had updated the system (via dnf update) including many KDE related packages, so I guess that this problem has been introduced recently.

The crash can be reproduced sometimes.

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

[KCrash Handler]
#4  0x00007f7abcc8ec0c in __pthread_kill_implementation () from /lib64/libc.so.6
#5  0x00007f7abcc3e986 in raise () from /lib64/libc.so.6
#6  0x00007f7abcc287f4 in abort () from /lib64/libc.so.6
#7  0x00007f7abd0d7da0 in std::__glibcxx_assert_fail(char const*, int, char const*, char const*) () from /lib64/libstdc++.so.6
#8  0x00007f7abebb6237 in Konsole::Screen::setSelectionEnd(int, int, bool) () from /lib64/libkonsoleprivate.so.1
#9  0x00007f7abec0f8e1 in Konsole::TerminalDisplay::extendSelection(QPoint const&) () from /lib64/libkonsoleprivate.so.1
#10 0x00007f7abec142a3 in Konsole::TerminalDisplay::mousePressEvent(QMouseEvent*) () from /lib64/libkonsoleprivate.so.1
#11 0x00007f7abe3f1818 in QWidget::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#12 0x00007f7abe3aed12 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#13 0x00007f7abe3b7382 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#14 0x00007f7abd6a8278 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#15 0x00007f7abe3b5482 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib64/libQt5Widgets.so.5
#16 0x00007f7abe40ab7c in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5
#17 0x00007f7abe40df40 in QWidgetWindow::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#18 0x00007f7abe3aed12 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#19 0x00007f7abd6a8278 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#20 0x00007f7abdb6ae7d in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib64/libQt5Gui.so.5
#21 0x00007f7abdb4a02c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Gui.so.5
#22 0x00007f7aaa3178de in xcbSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5XcbQpa.so.5
#23 0x00007f7abb926faf in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#24 0x00007f7abb97c2c8 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#25 0x00007f7abb924940 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#26 0x00007f7abd6f938a in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#27 0x00007f7abd6a6cca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#28 0x00007f7abd6aed92 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#29 0x00005591e15027d1 in main ()
[Inferior 1 (process 9483) detached]

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

Reported using DrKonqi
Comment 1 ninjalj 2022-11-30 21:02:02 UTC

*** This bug has been marked as a duplicate of bug 458822 ***
Comment 2 Oded Arbel 2023-01-10 17:48:48 UTC
Created attachment 155187 [details]
New crash information added by DrKonqi

konsole (22.08.2) using Qt 5.15.7

Crashed when trying to select some text as the terminal output changed.

-- Backtrace (Reduced):
#6  0x00007f267a53f4af in Konsole::Screen::setSelectionEnd(int, int, bool) () from /lib/x86_64-linux-gnu/libkonsoleprivate.so.1
#7  0x00007f267a59e411 in Konsole::TerminalDisplay::extendSelection(QPoint const&) () from /lib/x86_64-linux-gnu/libkonsoleprivate.so.1
#8  0x00007f267a59e992 in Konsole::TerminalDisplay::mouseMoveEvent(QMouseEvent*) () from /lib/x86_64-linux-gnu/libkonsoleprivate.so.1
#9  0x00007f2679daf87e in QWidget::event (this=0x5616d3e15410, event=0x7fff871ae700) at kernel/qwidget.cpp:9043
#10 0x00007f2679d6c763 in QApplicationPrivate::notify_helper (this=this@entry=0x5616d3cd9fb0, receiver=receiver@entry=0x5616d3e15410, e=e@entry=0x7fff871ae700) at kernel/qapplication.cpp:3637