[konsole] [Bug 491859] New: Konsole crashed when trying to copy and paste using mouse

Oded Arbel bugzilla_noreply at kde.org
Sun Aug 18 13:02:38 BST 2024


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

            Bug ID: 491859
           Summary: Konsole crashed when trying to copy and paste using
                    mouse
    Classification: Applications
           Product: konsole
           Version: unspecified
          Platform: Neon
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: konsole-devel at kde.org
          Reporter: oded at geek.co.il
  Target Milestone: ---

Application: konsole (24.11.70)

ApplicationNotResponding [ANR]: false
Qt Version: 6.7.2
Frameworks Version: 6.6.0
Operating System: Linux 6.8.0-40-generic x86_64
Windowing System: Wayland
Distribution: KDE neon Unstable Edition
DrKonqi: 6.1.80 [KCrashBackend]

-- Information about the crash:
Running Plasma 6.2 (dev) on Neon unstable, I right clicked a selected text and
pressed "copy", then I tried to right click and choose "paste", and Konsole
crashed before I managed to select "paste".

I also got "ambigous shortcut" when pressing common shortcuts such as
CTRL+SHIFT+F and CTRL+SHIFT+V, though from time to time it actually did the
operation instead of showing the dialog.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Konsole (konsole), signal: Segmentation fault

[KCrash Handler]
#4  0x000077cf7ea380c5 in QWidget::testAttribute_helper
(this=this at entry=0x5f51a8f30f90,
attribute=attribute at entry=Qt::WA_DontShowOnScreen) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/widgets/kernel/qwidget.cpp:11594
#5  0x000077cf7ea3a8dd in QWidget::testAttribute
(attribute=Qt::WA_DontShowOnScreen, this=0x5f51a8f30f90) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/widgets/kernel/qwidget.h:914
#6  QWidgetPrivate::hide_sys (this=0x5f51a8f5dbf0) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/widgets/kernel/qwidget.cpp:8304
#7  0x000077cf7ea3bff1 in QWidgetPrivate::hide_helper
(this=this at entry=0x5f51a8f5dbf0) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/widgets/kernel/qwidget.cpp:8260
#8  0x000077cf7ea3db4a in QWidgetPrivate::setVisible (this=0x5f51a8f5dbf0,
visible=<optimized out>) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/widgets/kernel/qwidget.cpp:8463
#9  0x000077cf7ea3c2f7 in QWidgetPrivate::handleClose (this=0x5f51a8f5dbf0,
mode=<optimized out>) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/widgets/kernel/qwidget.cpp:8630
#10 0x000077cf7ea4fd67 in QWidgetWindow::closeEvent (this=<optimized out>,
event=0x7fff0cac0b90) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/widgets/kernel/qwidgetwindow.cpp:832
#11 0x000077cf7dd1e3e8 in QWindow::event (this=0x5f51a8ebf520,
ev=0x7fff0cac0b90) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/gui/kernel/qwindow.cpp:2587
#12 0x000077cf7e9ff2b0 in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x5f51a8ebf520, e=0x7fff0cac0b90) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/widgets/kernel/qapplication.cpp:3287
#13 0x000077cf7d8a4fd0 in QCoreApplication::notifyInternal2
(receiver=0x5f51a8ebf520, event=0x7fff0cac0b90) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/corelib/kernel/qcoreapplication.cpp:1142
#14 0x000077cf7d8a575d in QCoreApplication::sendSpontaneousEvent
(receiver=<optimized out>, event=<optimized out>) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/corelib/kernel/qcoreapplication.cpp:1597
#15 0x000077cf7dcc8fa2 in QGuiApplicationPrivate::processCloseEvent
(e=0x7fff0cac0be0) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/gui/kernel/qguiapplication.cpp:2745
#16 QGuiApplicationPrivate::processCloseEvent (e=0x7fff0cac0be0) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/gui/kernel/qguiapplication.cpp:2733
#17 0x000077cf7dd1a1fd in QWindowSystemEventHandler::sendEvent
(e=0x7fff0cac0be0, this=<optimized out>) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/gui/kernel/qwindowsysteminterface.cpp:190
#18
QWindowSystemHelper<QWindowSystemInterface::SynchronousDelivery>::handleEvent<QWindowSystemInterfacePrivate::CloseEvent,
QWindow*> () at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/gui/kernel/qwindowsysteminterface.cpp:102
#19
QWindowSystemHelper<QWindowSystemInterface::SynchronousDelivery>::handleEvent<QWindowSystemInterfacePrivate::CloseEvent,
QWindow*> () at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/gui/kernel/qwindowsysteminterface.cpp:96
#20 handleWindowSystemEvent<QWindowSystemInterfacePrivate::CloseEvent,
QWindowSystemInterface::SynchronousDelivery, QWindow*> () at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/gui/kernel/qwindowsysteminterface.cpp:138
#21
QWindowSystemInterface::handleCloseEvent<QWindowSystemInterface::SynchronousDelivery>
(window=0x5f51a8ebf520) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/gui/kernel/qwindowsysteminterface.cpp:351
#22 QPlatformWindow::close (this=<optimized out>) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/gui/kernel/qplatformwindow.cpp:329
#23 QWindow::close (this=<optimized out>) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/gui/kernel/qwindow.cpp:2371
#24 0x000077cf7e8f650e in QMenuPrivate::hideMenu (this=0x5f51a8f5dbf0,
menu=0x5f51a8ea6cf0) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/widgets/widgets/qmenu.cpp:620
#25 0x000077cf7e8f913b in QMenuPrivate::hideUpToMenuBar (this=0x5f51a8f5dbf0)
at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/widgets/widgets/qmenu.cpp:523
#26 0x000077cf7e8fb3ef in QMenuPrivate::activateAction (this=0x5f51a8f5dbf0,
action=0x5f51a81d74f0, action_e=QAction::Trigger, self=<optimized out>) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/widgets/widgets/qmenu.cpp:1482
#27 0x000077cf7ea41158 in QWidget::event (this=0x5f51a8ea6cf0,
event=0x7fff0cac12e0) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/widgets/kernel/qwidget.cpp:9025
#28 0x000077cf7e9ff2b0 in QApplicationPrivate::notify_helper
(this=this at entry=0x5f51a621a410, receiver=receiver at entry=0x5f51a8ea6cf0,
e=e at entry=0x7fff0cac12e0) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/widgets/kernel/qapplication.cpp:3287
#29 0x000077cf7ea04ab7 in QApplication::notify (this=<optimized out>,
receiver=<optimized out>, e=0x7fff0cac12e0) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/widgets/kernel/qapplication.cpp:2765
#30 0x000077cf7d8a4fd0 in QCoreApplication::notifyInternal2
(receiver=0x5f51a8ea6cf0, event=0x7fff0cac12e0) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/corelib/kernel/qcoreapplication.cpp:1142
#31 0x000077cf7d8a575d in QCoreApplication::sendSpontaneousEvent
(receiver=<optimized out>, event=<optimized out>) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/corelib/kernel/qcoreapplication.cpp:1597
#32 0x000077cf7e9fa5fe in QApplicationPrivate::sendMouseEvent
(receiver=0x5f51a8ea6cf0, event=0x7fff0cac12e0, alienWidget=0x0,
nativeWidget=0x5f51a8ea6cf0, buttonDown=0x77cf7eb582c0 <qt_button_down>,
lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/widgets/kernel/qapplication.cpp:2347
#33 0x000077cf7ea4f1a4 in QWidgetWindow::handleMouseEvent (this=0x5f51a62a9030,
event=0x7fff0cac16b0) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/widgets/kernel/qwidgetwindow.cpp:545
#34 0x000077cf7ea51035 in QWidgetWindow::event (this=0x5f51a62a9030,
event=0x7fff0cac16b0) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/widgets/kernel/qwidgetwindow.cpp:263
#35 0x000077cf7e9ff2b0 in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x5f51a62a9030, e=0x7fff0cac16b0) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/widgets/kernel/qapplication.cpp:3287
#36 0x000077cf7d8a4fd0 in QCoreApplication::notifyInternal2
(receiver=0x5f51a62a9030, event=0x7fff0cac16b0) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/corelib/kernel/qcoreapplication.cpp:1142
#37 0x000077cf7d8a575d in QCoreApplication::sendSpontaneousEvent
(receiver=<optimized out>, event=<optimized out>) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/corelib/kernel/qcoreapplication.cpp:1597
#38 0x000077cf7dccc553 in QGuiApplicationPrivate::processMouseEvent
(e=0x77cf680034a0) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/gui/kernel/qguiapplication.cpp:2327
#39 0x000077cf7dd2dd5c in QWindowSystemInterface::sendWindowSystemEvents
(flags=...) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/gui/kernel/qwindowsysteminterface.cpp:1114
#40 0x000077cf7e119874 in userEventSourceDispatch
(source=source at entry=0x5f51a6361b50) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/gui/platform/unix/qeventdispatcher_glib.cpp:38
#41 0x000077cf7a71d5b5 in g_main_dispatch (context=0x77cf70000f00) at
../../../glib/gmain.c:3344
#42 0x000077cf7a77c717 in g_main_context_dispatch_unlocked
(context=0x77cf70000f00) at ../../../glib/gmain.c:4152
#43 g_main_context_iterate_unlocked.isra.0
(context=context at entry=0x77cf70000f00, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at ../../../glib/gmain.c:4217
#44 0x000077cf7a71ca53 in g_main_context_iteration (context=0x77cf70000f00,
may_block=1) at ../../../glib/gmain.c:4282
#45 0x000077cf7d64cd7f in QEventDispatcherGlib::processEvents
(this=0x5f51a6209170, flags=...) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/corelib/kernel/qeventdispatcher_glib.cpp:394
#46 0x000077cf7d8aff43 in QEventLoop::exec (this=this at entry=0x7fff0cac1b10,
flags=..., flags at entry=...) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/corelib/global/qflags.h:34
#47 0x000077cf7e8fd76e in QMenuPrivate::exec(QPoint const&, QAction*,
std::function<QPoint (QSize const&)>) (this=0x5f51a8f5dbf0, p=..., action=0x0,
positionFunction=...) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/corelib/global/qflags.h:74
#48 0x000077cf7e8fd8b6 in QMenu::exec (this=<optimized out>, p=<optimized out>,
action=<optimized out>) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/widgets/widgets/qmenu.cpp:2657
#49 0x000077cf7ef91df2 in
Konsole::SessionController::showDisplayContextMenu(QPoint const&) () at
/lib/x86_64-linux-gnu/libkonsoleprivate.so.24.11.70
#50 0x000077cf7d864d34 in QtPrivate::QSlotObjectBase::call (a=0x7fff0cac1e90,
r=0x5f51a81a8220, this=0x5f51a824d920, this=<optimized out>, r=<optimized out>,
a=<optimized out>) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/corelib/kernel/qobjectdefs_impl.h:469
#51 doActivate<false> (sender=0x5f51a8197ab0, signal_index=12,
argv=0x7fff0cac1e90) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/corelib/kernel/qobject.cpp:4086
#52 0x000077cf7ef4bacc in Konsole::TerminalDisplay::configureRequest(QPoint
const&) () at /lib/x86_64-linux-gnu/libkonsoleprivate.so.24.11.70
#53 0x000077cf7ef4b2e7 in
Konsole::TerminalDisplay::mousePressEvent(QMouseEvent*) () at
/lib/x86_64-linux-gnu/libkonsoleprivate.so.24.11.70
#54 0x000077cf7ea410b8 in QWidget::event (this=0x5f51a8197ab0,
event=0x7fff0cac2460) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/widgets/kernel/qwidget.cpp:9021
#55 0x000077cf7e9ff2b0 in QApplicationPrivate::notify_helper
(this=this at entry=0x5f51a621a410, receiver=receiver at entry=0x5f51a8197ab0,
e=e at entry=0x7fff0cac2460) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/widgets/kernel/qapplication.cpp:3287
#56 0x000077cf7ea04ab7 in QApplication::notify (this=<optimized out>,
receiver=<optimized out>, e=0x7fff0cac2460) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/widgets/kernel/qapplication.cpp:2765
#57 0x000077cf7d8a4fd0 in QCoreApplication::notifyInternal2
(receiver=0x5f51a8197ab0, event=0x7fff0cac2460) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/corelib/kernel/qcoreapplication.cpp:1142
#58 0x000077cf7d8a575d in QCoreApplication::sendSpontaneousEvent
(receiver=<optimized out>, event=<optimized out>) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/corelib/kernel/qcoreapplication.cpp:1597
#59 0x000077cf7e9fa5fe in QApplicationPrivate::sendMouseEvent
(receiver=0x5f51a8197ab0, event=0x7fff0cac2460, alienWidget=0x5f51a8197ab0,
nativeWidget=0x77cf7000f3c0, buttonDown=0x77cf7eb582c0 <qt_button_down>,
lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/widgets/kernel/qapplication.cpp:2347
#60 0x000077cf7ea4eb67 in QWidgetWindow::handleMouseEvent (this=0x5f51a62a9030,
event=0x7fff0cac2830) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/widgets/kernel/qwidgetwindow.cpp:649
#61 0x000077cf7ea51035 in QWidgetWindow::event (this=0x5f51a62a9030,
event=0x7fff0cac2830) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/widgets/kernel/qwidgetwindow.cpp:263
#62 0x000077cf7e9ff2b0 in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x5f51a62a9030, e=0x7fff0cac2830) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/widgets/kernel/qapplication.cpp:3287
#63 0x000077cf7d8a4fd0 in QCoreApplication::notifyInternal2
(receiver=0x5f51a62a9030, event=0x7fff0cac2830) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/corelib/kernel/qcoreapplication.cpp:1142
#64 0x000077cf7d8a575d in QCoreApplication::sendSpontaneousEvent
(receiver=<optimized out>, event=<optimized out>) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/corelib/kernel/qcoreapplication.cpp:1597
#65 0x000077cf7dccc553 in QGuiApplicationPrivate::processMouseEvent
(e=0x5f51a8e9ba90) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/gui/kernel/qguiapplication.cpp:2327
#66 0x000077cf7dd2dd5c in QWindowSystemInterface::sendWindowSystemEvents
(flags=...) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/gui/kernel/qwindowsysteminterface.cpp:1114
#67 0x000077cf7e119874 in userEventSourceDispatch
(source=source at entry=0x5f51a6361b50) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/gui/platform/unix/qeventdispatcher_glib.cpp:38
#68 0x000077cf7a71d5b5 in g_main_dispatch (context=0x77cf70000f00) at
../../../glib/gmain.c:3344
#69 0x000077cf7a77c717 in g_main_context_dispatch_unlocked
(context=0x77cf70000f00) at ../../../glib/gmain.c:4152
#70 g_main_context_iterate_unlocked.isra.0
(context=context at entry=0x77cf70000f00, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at ../../../glib/gmain.c:4217
#71 0x000077cf7a71ca53 in g_main_context_iteration (context=0x77cf70000f00,
may_block=1) at ../../../glib/gmain.c:4282
#72 0x000077cf7d64cd7f in QEventDispatcherGlib::processEvents
(this=0x5f51a6209170, flags=...) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/corelib/kernel/qeventdispatcher_glib.cpp:394
#73 0x000077cf7d8aff43 in QEventLoop::exec (this=0x7fff0cac2c80, flags=...) at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/corelib/global/qflags.h:34
#74 0x000077cf7d8a996e in QCoreApplication::exec () at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/corelib/global/qflags.h:74
#75 0x000077cf7dcc699d in QGuiApplication::exec () at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/gui/kernel/qguiapplication.cpp:1926
#76 0x000077cf7e9f7129 in QApplication::exec () at
/usr/src/qt6-base-6.7.2-0xneon+24.04+noble+unstable+build34/src/widgets/kernel/qapplication.cpp:2555
#77 0x00005f51a519e68b in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/konsole-4:24.05.2+p24.04+vunstable+git20240817.0124-0/src/main.cpp:260
[Inferior 1 (process 864427) detached]

Reported using DrKonqi

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


More information about the konsole-devel mailing list