Application: plasmashell (6.0.5) Qt Version: 6.7.1 Frameworks Version: 6.2.0 Operating System: Linux 6.9.3-desktop-1omv2490 x86_64 Windowing System: X11 Distribution: "OpenMandriva Lx 24.06" DrKonqi: 6.0.5 [CoredumpBackend] -- Information about the crash: In order to make sure that the clipboard is cleared from any sensitive data such as passwords/keys, I often write something in the first safe text box I find and then select and copy (effectively overwriting the current clipboard item). Today I chose Klipper's search text box and plasmashell kept crashing every time I tried to select and cut (CTRL+X) a single ASCII space from there. I believe the character itself was not the issue, but rather the presence of a screenshot copied from Spectacle as the current and only item in the clipboard history. The crash can be reproduced every time. -- Backtrace (Reduced): #5 0x00007fb313f94019 in QMimeData::hasUrls (this=0x564d7eb59170) at /usr/src/debug/qt6-qtbase-6.7.1-2.x86_64/src/corelib/kernel/qmimedata.cpp:372 #6 0x00007fb2d586358d in Klipper::checkClipData(bool) () from /usr/lib64/qt6/plugins/plasma5support/dataengine/plasma_engine_clipboard.so #7 0x00007fb313f9a50e in QtPrivate::QSlotObjectBase::call (this=0x564d803a9810, r=0x564d80397ee0, a=0x7fff40a731f0) at /usr/src/debug/qt6-qtbase-6.7.1-2.x86_64/src/corelib/kernel/qobjectdefs_impl.h:469 #8 doActivate<false> (sender=0x564d803a9650, signal_index=3, argv=0x7fff40a731f0) at /usr/src/debug/qt6-qtbase-6.7.1-2.x86_64/src/corelib/kernel/qobject.cpp:4086 #9 0x00007fb313453e7c in KSystemClipboard::changed(QClipboard::Mode) () from /lib64/libKF6GuiAddons.so.6 Reported using DrKonqi
Created attachment 170362 [details] New crash information added by DrKonqi DrKonqi auto-attaching complete backtrace.
Pasted part of backtrace for searchability Thread 1 (Thread 0x7fb310dedf40 (LWP 1667)): [KCrash Handler] #4 0x0000564d7e6505d0 in ?? () #5 0x00007fb313f94019 in QMimeData::hasUrls (this=0x564d7eb59170) at /usr/src/debug/qt6-qtbase-6.7.1-2.x86_64/src/corelib/kernel/qmimedata.cpp:372 #6 0x00007fb2d586358d in Klipper::checkClipData(bool) () from /usr/lib64/qt6/plugins/plasma5support/dataengine/plasma_engine_clipboard.so #7 0x00007fb313f9a50e in QtPrivate::QSlotObjectBase::call (this=0x564d803a9810, r=0x564d80397ee0, a=0x7fff40a731f0) at /usr/src/debug/qt6-qtbase-6.7.1-2.x86_64/src/corelib/kernel/qobjectdefs_impl.h:469 #8 doActivate<false> (sender=0x564d803a9650, signal_index=3, argv=0x7fff40a731f0) at /usr/src/debug/qt6-qtbase-6.7.1-2.x86_64/src/corelib/kernel/qobject.cpp:4086 #9 0x00007fb313453e7c in KSystemClipboard::changed(QClipboard::Mode) () from /lib64/libKF6GuiAddons.so.6 #10 0x00007fb313f9a50e in QtPrivate::QSlotObjectBase::call (this=0x564d803a9780, r=0x564d803a9650, a=0x7fff40a732f0) at /usr/src/debug/qt6-qtbase-6.7.1-2.x86_64/src/corelib/kernel/qobjectdefs_impl.h:469 #11 doActivate<false> (sender=0x564d7f122950, signal_index=3, argv=0x7fff40a732f0) at /usr/src/debug/qt6-qtbase-6.7.1-2.x86_64/src/corelib/kernel/qobject.cpp:4086 #12 0x00007fb3147299c7 in QClipboard::changed (this=0x564d7f122950, _t1=<optimized out>) at src/gui/Gui_autogen/include/moc_qclipboard.cpp:181 #13 QClipboard::emitChanged (this=0x564d7f122950, mode=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.1-2.x86_64/src/gui/kernel/qclipboard.cpp:558 #14 QPlatformClipboard::emitChanged (this=<optimized out>, mode=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.1-2.x86_64/src/gui/kernel/qplatformclipboard.cpp:89 #15 0x00007fb310d3a337 in QXcbClipboard::setMimeData (this=0x564d7e675f40, data=<optimized out>, mode=QClipboard::Clipboard) at /usr/src/debug/qt6-qtbase-6.7.1-2.x86_64/src/plugins/platforms/xcb/qxcbclipboard.cpp:339 #16 0x00007fb3159c3bd5 in QQuickTextInput::cut() () from /usr/lib64/qt6/lib/libQt6Quick.so.6 #17 0x00007fb3159d1503 in QQuickTextInputPrivate::processKeyEvent(QKeyEvent*) () from /usr/lib64/qt6/lib/libQt6Quick.so.6 #18 0x00007fb3159cebb0 in QQuickTextInput::keyPressEvent(QKeyEvent*) () from /usr/lib64/qt6/lib/libQt6Quick.so.6 #19 0x00007fb315923206 in QQuickItemPrivate::deliverKeyEvent(QKeyEvent*) () from /usr/lib64/qt6/lib/libQt6Quick.so.6 #20 0x00007fb31591ce72 in QQuickItem::event(QEvent*) () from /usr/lib64/qt6/lib/libQt6Quick.so.6 #21 0x00007fb3160df232 in QApplicationPrivate::notify_helper (this=0x564d7e61bc80, receiver=0x564d7fab0830, e=0x7fff40a73d08) at /usr/src/debug/qt6-qtbase-6.7.1-2.x86_64/src/widgets/kernel/qapplication.cpp:3287 #22 0x00007fb3160dd05e in QApplication::notify (this=0x7fff40a74128, receiver=0x564d7fab0830, e=0x7fff40a73d08) at /usr/src/debug/qt6-qtbase-6.7.1-2.x86_64/src/widgets/kernel/qapplication.cpp:2680 #23 0x00007fb313f36def in QCoreApplication::notifyInternal2 (receiver=0x564d7fab0830, event=0x7fff40a73d08) at /usr/src/debug/qt6-qtbase-6.7.1-2.x86_64/src/corelib/kernel/qcoreapplication.cpp:1134 #24 0x00007fb315afd63f in QQuickDeliveryAgentPrivate::deliverKeyEvent(QKeyEvent*) () from /usr/lib64/qt6/lib/libQt6Quick.so.6 #25 0x00007fb314769d9e in QWindow::event (this=0x564d7ff14cf0, ev=0x7fff40a73d08) at /usr/src/debug/qt6-qtbase-6.7.1-2.x86_64/src/gui/kernel/qwindow.cpp:2532 #26 0x00007fb3159ecea7 in QQuickWindow::event(QEvent*) () from /usr/lib64/qt6/lib/libQt6Quick.so.6 #27 0x00007fb3160df232 in QApplicationPrivate::notify_helper (this=0x564d7e61bc80, receiver=0x564d7ff14cf0, e=0x7fff40a73d08) at /usr/src/debug/qt6-qtbase-6.7.1-2.x86_64/src/widgets/kernel/qapplication.cpp:3287 #28 0x00007fb3160dd05e in QApplication::notify (this=0x7fff40a74128, receiver=0x564d7ff14cf0, e=0x7fff40a73d08) at /usr/src/debug/qt6-qtbase-6.7.1-2.x86_64/src/widgets/kernel/qapplication.cpp:2680 #29 0x00007fb313f36def in QCoreApplication::notifyInternal2 (receiver=0x564d7ff14cf0, event=0x7fff40a73d08) at /usr/src/debug/qt6-qtbase-6.7.1-2.x86_64/src/corelib/kernel/qcoreapplication.cpp:1134 #30 0x00007fb314704452 in QGuiApplicationPrivate::processKeyEvent (e=0x564d82fdadb0) at /usr/src/debug/qt6-qtbase-6.7.1-2.x86_64/src/gui/kernel/qguiapplication.cpp:2453 #31 0x00007fb314771e3a in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at /usr/src/debug/qt6-qtbase-6.7.1-2.x86_64/src/gui/kernel/qwindowsysteminterface.cpp:1114 #32 0x00007fb310d62d2c in xcbSourceDispatch (source=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.1-2.x86_64/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:57 #33 0x00007fb3128f9eb1 in g_main_context_dispatch_unlocked () from /lib64/libglib-2.0.so.0 #34 0x00007fb3128b1e9e in g_main_context_iterate_unlocked () from /lib64/libglib-2.0.so.0 #35 0x00007fb3128fa024 in g_main_context_iteration () from /lib64/libglib-2.0.so.0 #36 0x00007fb31424d847 in QEventDispatcherGlib::processEvents (this=0x564d7e6da760, flags=...) at /usr/src/debug/qt6-qtbase-6.7.1-2.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:394 #37 0x00007fb313f46a4a in QEventLoop::processEvents (this=0x7fff40a73fc8, flags=...) at /usr/src/debug/qt6-qtbase-6.7.1-2.x86_64/src/corelib/kernel/qeventloop.cpp:100 #38 QEventLoop::exec (this=0x7fff40a73fc8, flags=...) at /usr/src/debug/qt6-qtbase-6.7.1-2.x86_64/src/corelib/kernel/qeventloop.cpp:182 #39 0x00007fb313f3e244 in QCoreApplication::exec () at /usr/src/debug/qt6-qtbase-6.7.1-2.x86_64/src/corelib/kernel/qcoreapplication.cpp:1478 #40 0x0000564d6abf0b94 in main ()
Hmh, I can't repro this on Plasma 6 dev Operating System: Fedora Linux 40 KDE Plasma Version: 6.1.80 KDE Frameworks Version: 6.4.0 Qt Version: 6.7.1 Kernel Version: 6.8.11-300.fc40.x86_64 (64-bit) Graphics Platform: Wayland Processors: 12 ร AMD Ryzen 5 3600 6-Core Processor Memory: 15.5 GiB of RAM Graphics Processor: AMD Radeon RX 6600 Maybe I am missing something. Can you give me exact steps for the crash occuring, just so I am testing this correctly? What I did was: 1. clear clipboard from anything 2. take screenshot with spectacle so screenshot goes to clipboard 3. press spacebar in the applet search, then ctrl+a, then ctrl+x 4. crash should occur?
Can't reproduce either, with the same steps and history size = 1.
Created attachment 170389 [details] Screen recording This is a video I recorded to show the exact steps required to trigger the crash.
Thanks for the video. I replicated it 100% and the bug does not reoccur. The image also stays there even if I type the empty space, unlike in your video. I believe this has been fixed in Plasma 6.1 :) I am closing this, but if you encounter it in 6.1, do report here again!
I'm currently on Plasma 6.1.3, but unfortunately I'm still encountering the issue...
Are you still seeing this crash in 6.2.4? I'm not able to replicate it on that version.
Just checked, I can still reproduce the crash immediately.
๐๐งน โ ๏ธ 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!
(In reply to Davide Beatrici from comment #9) > Just checked, I can still reproduce the crash immediately. I'm sorry to hear this is still crashing for you. Can you get a new backtrace and attach it or copy it into the report? Thanks.
Created attachment 177187 [details] Backtrace 2025-01-08 Here it is. Packages fully updated. Just for reference and in case we're dealing with a compiler bug, the binaries are built for the znver1 target.
Thread 1 (Thread 0x7fee0d13c500 (LWP 1206)): [KCrash Handler] #4 0x000055643c4e3960 in ?? () #5 0x00007fee1195ea0d in QMimeData::hasUrls (this=0x55643b1c1310) at /usr/src/debug/qt6-qtbase-6.8.1-1.x86_64/src/corelib/kernel/qmimedata.cpp:372 #6 0x00007fedcc6cf178 in HistoryItem::create (data=0x55643b1c1310) at /usr/src/debug/plasma6-workspace-6.2.5-1.x86_64/klipper/historyitem.cpp:29 #7 0x00007fedcc6c0011 in Klipper::applyClipChanges (this=0x55643a32cc40, clipData=0x55643b1c1310) at /usr/src/debug/plasma6-workspace-6.2.5-1.x86_64/klipper/klipper.cpp:426 #8 0x00007fedcc6bcb6e in Klipper::checkClipData (this=0x55643a32cc40, mode=QClipboard::Clipboard, data=0x55643b1c1310) at /usr/src/debug/plasma6-workspace-6.2.5-1.x86_64/klipper/klipper.cpp:465 #9 0x00007fee119652f6 in QtPrivate::QSlotObjectBase::call (this=0x55643a364d40, r=0x55643a32cc40, a=0x7ffc11d37550) at /usr/src/debug/qt6-qtbase-6.8.1-1.x86_64/src/corelib/kernel/qobjectdefs_impl.h:486 #10 doActivate<false> (sender=0x55643a28a760, signal_index=3, argv=0x7ffc11d37550) at /usr/src/debug/qt6-qtbase-6.8.1-1.x86_64/src/corelib/kernel/qobject.cpp:4124 #11 0x00007fedcc6e0aa1 in SystemClipboard::checkClipData (this=0x55643a28a760, mode=QClipboard::Clipboard) at klipper/klipper_autogen/include/moc_systemclipboard.cpp:212 #12 0x00007fee119652f6 in QtPrivate::QSlotObjectBase::call (this=0x55643a2ef600, r=0x55643a28a760, a=0x7ffc11d37690) at /usr/src/debug/qt6-qtbase-6.8.1-1.x86_64/src/corelib/kernel/qobjectdefs_impl.h:486 #13 doActivate<false> (sender=0x55643971ff20, signal_index=3, argv=0x7ffc11d37690) at /usr/src/debug/qt6-qtbase-6.8.1-1.x86_64/src/corelib/kernel/qobject.cpp:4124 #14 0x00007fee115b0eec in KSystemClipboard::changed (this=0x55643b1c1310, _t1=<optimized out>) at src/KF6GuiAddons_autogen/include/moc_ksystemclipboard.cpp:144 #15 0x00007fee119652f6 in QtPrivate::QSlotObjectBase::call (this=0x55643a34dd60, r=0x55643971ff20, a=0x7ffc11d37790) at /usr/src/debug/qt6-qtbase-6.8.1-1.x86_64/src/corelib/kernel/qobjectdefs_impl.h:486 #16 doActivate<false> (sender=0x556439581f70, signal_index=3, argv=0x7ffc11d37790) at /usr/src/debug/qt6-qtbase-6.8.1-1.x86_64/src/corelib/kernel/qobject.cpp:4124 #17 0x00007fee12153fd6 in QClipboard::changed (this=0x556439581f70, _t1=QClipboard::Clipboard) at src/gui/Gui_autogen/include/moc_qclipboard.cpp:183 #18 QClipboard::emitChanged (this=0x556439581f70, mode=QClipboard::Clipboard) at /usr/src/debug/qt6-qtbase-6.8.1-1.x86_64/src/gui/kernel/qclipboard.cpp:558 #19 QPlatformClipboard::emitChanged (this=<optimized out>, mode=QClipboard::Clipboard) at /usr/src/debug/qt6-qtbase-6.8.1-1.x86_64/src/gui/kernel/qplatformclipboard.cpp:89 #20 0x00007fee0d08d4f1 in QXcbClipboard::setMimeData (this=0x556438b84440, data=<optimized out>, mode=QClipboard::Clipboard) at /usr/src/debug/qt6-qtbase-6.8.1-1.x86_64/src/plugins/platforms/xcb/qxcbclipboard.cpp:343 #21 0x00007fee131de9a4 in QQuickTextInputPrivate::copy (this=0x556439011420, mode=QClipboard::Clipboard) at /usr/src/debug/qt6-qtdeclarative-6.8.1-1.x86_64/src/quick/items/qquicktextinput.cpp:3285 #22 QQuickTextInput::cut (this=<optimized out>) at /usr/src/debug/qt6-qtdeclarative-6.8.1-1.x86_64/src/quick/items/qquicktextinput.cpp:2202 #23 0x00007fee131ebbb9 in QQuickTextInputPrivate::processKeyEvent (this=0x556439011420, event=0x7ffc11d381a0) at /usr/src/debug/qt6-qtdeclarative-6.8.1-1.x86_64/src/quick/items/qquicktextinput.cpp:4640 #24 0x00007fee131e91a7 in QQuickTextInput::keyPressEvent (this=<optimized out>, ev=0x7ffc11d381a0) at /usr/src/debug/qt6-qtdeclarative-6.8.1-1.x86_64/src/quick/items/qquicktextinput.cpp:1557 #25 0x00007fee1314924b in QQuickItemPrivate::deliverKeyEvent (this=0x556439011420, e=0x7ffc11d381a0) at /usr/src/debug/qt6-qtdeclarative-6.8.1-1.x86_64/src/quick/items/qquickitem.cpp:5663 #26 0x00007fee13143132 in QQuickItem::event (this=0x55643b0a29d0, ev=0x7ffc11d381a0) at /usr/src/debug/qt6-qtdeclarative-6.8.1-1.x86_64/src/quick/items/qquickitem.cpp:9095 #27 0x00007fee13ad6f8d in QApplicationPrivate::notify_helper (this=0x556438b36fc0, receiver=0x55643b0a29d0, e=0x7ffc11d381a0) at /usr/src/debug/qt6-qtbase-6.8.1-1.x86_64/src/widgets/kernel/qapplication.cpp:3296 #28 0x00007fee13ad4c77 in QApplication::notify (this=0x7ffc11d386e8, receiver=0x55643b0a29d0, e=0x7ffc11d381a0) at /usr/src/debug/qt6-qtbase-6.8.1-1.x86_64/src/widgets/kernel/qapplication.cpp:2689 #29 0x00007fee11906b4d in QCoreApplication::notifyInternal2 (receiver=0x55643b0a29d0, event=0x7ffc11d381a0) at /usr/src/debug/qt6-qtbase-6.8.1-1.x86_64/src/corelib/kernel/qcoreapplication.cpp:1168 #30 0x00007fee1330c5df in QQuickDeliveryAgentPrivate::deliverKeyEvent (this=<optimized out>, e=0x7ffc11d381a0) at /usr/src/debug/qt6-qtdeclarative-6.8.1-1.x86_64/src/quick/util/qquickdeliveryagent.cpp:970 #31 0x00007fee1218ce53 in QWindow::event (this=0x55643a018fc0, ev=0x7ffc11d381a0) at /usr/src/debug/qt6-qtbase-6.8.1-1.x86_64/src/gui/kernel/qwindow.cpp:2614 #32 0x00007fee1320508b in QQuickWindow::event (this=0x55643a018fc0, event=0x7ffc11d381a0) at /usr/src/debug/qt6-qtdeclarative-6.8.1-1.x86_64/src/quick/items/qquickwindow.cpp:1641 #33 0x00007fee13ad6f8d in QApplicationPrivate::notify_helper (this=0x556438b36fc0, receiver=0x55643a018fc0, e=0x7ffc11d381a0) at /usr/src/debug/qt6-qtbase-6.8.1-1.x86_64/src/widgets/kernel/qapplication.cpp:3296 #34 0x00007fee13ad4c77 in QApplication::notify (this=0x7ffc11d386e8, receiver=0x55643a018fc0, e=0x7ffc11d381a0) at /usr/src/debug/qt6-qtbase-6.8.1-1.x86_64/src/widgets/kernel/qapplication.cpp:2689 #35 0x00007fee11906b4d in QCoreApplication::notifyInternal2 (receiver=0x55643a018fc0, event=0x7ffc11d381a0) at /usr/src/debug/qt6-qtbase-6.8.1-1.x86_64/src/corelib/kernel/qcoreapplication.cpp:1168 #36 0x00007fee12130d5f in QGuiApplicationPrivate::processKeyEvent (e=0x55643c3dafc0) at /usr/src/debug/qt6-qtbase-6.8.1-1.x86_64/src/gui/kernel/qguiapplication.cpp:2600 #37 0x00007fee12194e3a in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at /usr/src/debug/qt6-qtbase-6.8.1-1.x86_64/src/gui/kernel/qwindowsysteminterface.cpp:1114 #38 0x00007fee0d0b562e in xcbSourceDispatch (source=<optimized out>) at /usr/src/debug/qt6-qtbase-6.8.1-1.x86_64/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:57 #39 0x00007fee101e5495 in g_main_context_dispatch_unlocked () from /lib64/libglib-2.0.so.0 #40 0x00007fee101c2964 in g_main_context_iterate_unlocked () from /lib64/libglib-2.0.so.0 #41 0x00007fee1022e384 in g_main_context_iteration () from /lib64/libglib-2.0.so.0 #42 0x00007fee11c0c07e in QEventDispatcherGlib::processEvents (this=0x556438bd2820, flags=...) at /usr/src/debug/qt6-qtbase-6.8.1-1.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:399 #43 0x00007fee11917825 in QEventLoop::processEvents (this=0x7ffc11d38590, flags=...) at /usr/src/debug/qt6-qtbase-6.8.1-1.x86_64/src/corelib/kernel/qeventloop.cpp:103 #44 QEventLoop::exec (this=0x7ffc11d38590, flags=...) at /usr/src/debug/qt6-qtbase-6.8.1-1.x86_64/src/corelib/kernel/qeventloop.cpp:194 #45 0x00007fee1190dd14 in QCoreApplication::exec () at /usr/src/debug/qt6-qtbase-6.8.1-1.x86_64/src/corelib/kernel/qcoreapplication.cpp:1513 #46 0x00005564005ba092 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma6-workspace-6.2.5-1.x86_64/shell/main.cpp:192
The new backtrace looks similar but not identical to Bug 489096, which was fixed in 6.1.3