Bug 469750 - Konsole crashes after drag-and-drop of a file from dolphin into it (qt5ct-kde + sway)
Summary: Konsole crashes after drag-and-drop of a file from dolphin into it (qt5ct-kde...
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 23.04.1
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-05-14 15:33 UTC by kyuunex
Modified: 2024-09-22 03:36 UTC (History)
2 users (show)

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


Attachments
attachment-4096363-0.html (898 bytes, text/html)
2024-09-22 03:27 UTC, tcanabrava
Details
backtrace (12.14 KB, text/vnd.kde.kcrash-report)
2024-09-22 03:36 UTC, kyuunex
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kyuunex 2023-05-14 15:33:29 UTC
Application: konsole (23.04.1)

Qt Version: 5.15.9
Frameworks Version: 5.105.0
Operating System: Linux 6.1.28-1-lts x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 5.27.5 [KCrashBackend]

-- Information about the crash:
Konsole crashes every time I drag and drop a file from dolphin into it

Window Manager is Sway 1.8.1-1

Distro is Arch, assume everything is the latest version available at the time of reporting, except the kernel is 6.1 LTS, but this issue has been happening forever.

do note I have qt5ct-kde from AUR set up.

my sway config is here https://github.com/Kyuunex/my-linux-configs/tree/53784bcdbb990855c12e17e8f7544b24cb7ef41e/home/username/.config/sway

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x00007f14a243b81e in Konsole::TerminalDisplay::dropEvent(QDropEvent*) () from /usr/lib/libkonsoleprivate.so.1
#5  0x00007f14a1baf6a8 in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#6  0x00007f14a1b78b5c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#7  0x00007f14a1b7f056 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#8  0x00007f14a0e8e028 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#9  0x00007f14a1bcfc54 in ?? () from /usr/lib/libQt5Widgets.so.5
#10 0x00007f14a1b78b5c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#11 0x00007f14a0e8e028 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#12 0x00007f14a134af6f in QGuiApplicationPrivate::processDrop(QWindow*, QMimeData const*, QPoint const&, QFlags<Qt::DropAction>, QFlags<Qt::MouseButton>, QFlags<Qt::KeyboardModifier>) () from /usr/lib/libQt5Gui.so.5
#13 0x00007f14a1329106 in QWindowSystemInterface::handleDrop(QWindow*, QMimeData const*, QPoint const&, QFlags<Qt::DropAction>, QFlags<Qt::MouseButton>, QFlags<Qt::KeyboardModifier>) () from /usr/lib/libQt5Gui.so.5
#14 0x00007f149ee69c0b in ?? () from /usr/lib/libQt5WaylandClient.so.5
#15 0x00007f149c15e4f6 in ?? () from /usr/lib/libffi.so.8
#16 0x00007f149c15af5e in ?? () from /usr/lib/libffi.so.8
#17 0x00007f149c15db73 in ffi_call () from /usr/lib/libffi.so.8
#18 0x00007f149f559645 in ?? () from /usr/lib/libwayland-client.so.0
#19 0x00007f149f559e73 in ?? () from /usr/lib/libwayland-client.so.0
#20 0x00007f149f55a13c in wl_display_dispatch_queue_pending () from /usr/lib/libwayland-client.so.0
#21 0x00007f149ee45c06 in QtWaylandClient::QWaylandDisplay::flushRequests() () from /usr/lib/libQt5WaylandClient.so.5
#22 0x00007f14a0eb1c80 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#23 0x00007f14a1b78b5c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#24 0x00007f14a0e8e028 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#25 0x00007f14a0e8eb33 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#26 0x00007f14a0ed4f58 in ?? () from /usr/lib/libQt5Core.so.5
#27 0x00007f149f03c53b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#28 0x00007f149f099219 in ?? () from /usr/lib/libglib-2.0.so.0
#29 0x00007f149f03b1a2 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#30 0x00007f14a0ed8d3c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#31 0x00007f14a0e8668c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#32 0x00007f14a0e912f9 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#33 0x000055b43f585b6d in ?? ()
#34 0x00007f14a0639850 in ?? () from /usr/lib/libc.so.6
#35 0x00007f14a063990a in __libc_start_main () from /usr/lib/libc.so.6
#36 0x000055b43f586445 in ?? ()
[Inferior 1 (process 16895) detached]

Reported using DrKonqi
Comment 1 Andreas Sturmlechner 2023-08-08 20:54:39 UTC
Could be same as linked bug, but debug symbols are missing.
Comment 2 Christoph Cullmann 2024-09-21 15:41:17 UTC
Please re-try that with a recent Qt 6 based release, a lot such things got fixed there.
Comment 3 kyuunex 2024-09-22 01:10:27 UTC
Hi, it still crashes when doing drag-and-drop.

konsole 24.08.1
dolphin 24.08.1
qt6ct-kde 0.9-6
Comment 4 tcanabrava 2024-09-22 03:27:55 UTC
Created attachment 173952 [details]
attachment-4096363-0.html

can you send the backtrace?

On Sat, 21 Sep 2024 at 21:10 <bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=469750
>
> --- Comment #3 from kyuunex@protonmail.ch ---
> Hi, it still crashes when doing drag-and-drop.
>
> konsole 24.08.1
> dolphin 24.08.1
> qt6ct-kde 0.9-6
>
> --
> You are receiving this mail because:
> You are the assignee for the bug.
Comment 5 kyuunex 2024-09-22 03:36:15 UTC
Created attachment 173953 [details]
backtrace

here is the backtrace, i hope im doing this right