Bug 473412

Summary: Konsole crushes when dragging iso file in it
Product: [Applications] konsole Reporter: amuntenci.silvio
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED WORKSFORME    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 23.04.3   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description amuntenci.silvio 2023-08-15 12:09:06 UTC
Application: konsole (23.04.3)

Qt Version: 5.15.10
Frameworks Version: 5.108.0
Operating System: Linux 6.4.10-200.fc38.x86_64 x86_64
Windowing System: Wayland
Distribution: Fedora Linux 38 (Workstation Edition)
DrKonqi: 5.27.6 [KCrashBackend]

-- Information about the crash:
I just tried to drag and drop an iso file (KUbuntu 23.04) into the terminal and it crashed. lol

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x00007f71a08d7899 in Konsole::TerminalDisplay::dropEvent(QDropEvent*) () from /lib64/libkonsoleprivate.so.1
#5  0x00007f719fff3688 in QWidget::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#6  0x00007f719ffaeb75 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#7  0x00007f719ffb6e50 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#8  0x00007f719f2b4188 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#9  0x00007f71a000fb6a in QWidgetWindow::handleDropEvent(QDropEvent*) () from /lib64/libQt5Widgets.so.5
#10 0x00007f71a00108b5 in QWidgetWindow::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#11 0x00007f719ffaeb75 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#12 0x00007f719f2b4188 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#13 0x00007f719f76ebce in QGuiApplicationPrivate::processDrop(QWindow*, QMimeData const*, QPoint const&, QFlags<Qt::DropAction>, QFlags<Qt::MouseButton>, QFlags<Qt::KeyboardModifier>) () from /lib64/libQt5Gui.so.5
#14 0x00007f719f74aeaa in QWindowSystemInterface::handleDrop(QWindow*, QMimeData const*, QPoint const&, QFlags<Qt::DropAction>, QFlags<Qt::MouseButton>, QFlags<Qt::KeyboardModifier>) () from /lib64/libQt5Gui.so.5
#15 0x00007f719d24d228 in QtWaylandClient::QWaylandDataDevice::data_device_drop() () from /lib64/libQt5WaylandClient.so.5
#16 0x00007f719a66cbe6 in ffi_call_unix64 () from /lib64/libffi.so.8
#17 0x00007f719a6694bf in ffi_call_int.lto_priv () from /lib64/libffi.so.8
#18 0x00007f719a66c18e in ffi_call () from /lib64/libffi.so.8
#19 0x00007f719d956f0e in wl_closure_invoke.constprop () from /lib64/libwayland-client.so.0
#20 0x00007f719d957793 in dispatch_event.isra () from /lib64/libwayland-client.so.0
#21 0x00007f719d957a3c in wl_display_dispatch_queue_pending () from /lib64/libwayland-client.so.0
#22 0x00007f719d228b4d in QtWaylandClient::QWaylandDisplay::flushRequests() () from /lib64/libQt5WaylandClient.so.5
#23 0x00007f719f2ded0b in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#24 0x00007f719ffaeb75 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#25 0x00007f719f2b4188 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#26 0x00007f719f2b7635 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#27 0x00007f719f306c3f in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#28 0x00007f719d45748c in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#29 0x00007f719d4b5648 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#30 0x00007f719d454b13 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#31 0x00007f719f306729 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#32 0x00007f719f2b2b4b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#33 0x00007f719f2baddb in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#34 0x000055a3702d39c4 in main ()
[Inferior 1 (process 5296) detached]

Reported using DrKonqi
Comment 1 Kurt Hindenburg 2024-06-06 21:52:58 UTC
Is this enabled or disabled  Profile Settings->Mouse->Disable Drag-n-Drop Menu ?  I can't get it to crash regardless.  Can you try a newer version?
Comment 2 Bug Janitor Service 2024-06-21 03:47:23 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2024-07-06 03:47:32 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!