Bug 450251

Summary: Plasma crashes in KIO::isClipboardDataCut() when copying text to clipboard on Wayland
Product: [Plasma] plasmashell Reporter: Nate Graham <nate>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kde
Priority: NOR Keywords: drkonqi
Version: master   
Target Milestone: 1.0   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Nate Graham 2022-02-14 19:01:45 UTC
Application: plasmashell (5.24.80)
 (Compiled from sources)
Qt Version: 5.15.2
Frameworks Version: 5.91.0
Operating System: Linux 5.16.7-200.fc35.x86_64 x86_64
Windowing System: Wayland
Distribution: Fedora Linux 35 (KDE Plasma)
DrKonqi: 5.24.80 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
I had just copied the text "435931" in Firefox (native wayland mode) to the clipboard. I got it to happen one other time, but it is not 100% reproducible.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0}
[KCrash Handler]
#5  0x00007f288a78ca07 in QMimeDataPrivate::retrieveTypedData(QString const&, QMetaType::Type) const () at /lib64/libQt5Core.so.5
#6  0x00007f288a78dc22 in QMimeData::data(QString const&) const () at /lib64/libQt5Core.so.5
#7  0x00007f2889e062c2 in KIO::isClipboardDataCut(QMimeData const*) (mimeData=<optimized out>) at /home/nate/kde/src/kio/src/widgets/paste.cpp:360
#8  0x00007f2889e0fd4e in KIO::PasteJobPrivate::slotStart() (this=0x29bcf40) at /home/nate/kde/src/kio/src/widgets/pastejob.cpp:39
#9  0x00007f288a792f49 in QObject::event(QEvent*) () at /lib64/libQt5Core.so.5
#10 0x00007f288b601443 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#11 0x00007f288a7687d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#12 0x00007f288a76bd46 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib64/libQt5Core.so.5
#13 0x00007f288a7ba117 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5Core.so.5
#14 0x00007f2888d3305f in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#15 0x00007f2888d882a8 in g_main_context_iterate.constprop () at /lib64/libglib-2.0.so.0
#16 0x00007f2888d30853 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#17 0x00007f288a7b9bb8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#18 0x00007f288a7671e2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#19 0x00007f288a76f724 in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#20 0x0000000000421920 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /home/nate/kde/src/plasma-workspace/shell/main.cpp:238
[Inferior 1 (process 345845) detached]

Possible duplicates by query: bug 439948, bug 425564, bug 407649, bug 382443.

Reported using DrKonqi
Comment 1 Nate Graham 2022-02-14 19:03:30 UTC

*** This bug has been marked as a duplicate of bug 439948 ***