Bug 448395 - QWaylandDataOffer: error reading data for mimeType application/x-kde-cutselection
Summary: QWaylandDataOffer: error reading data for mimeType application/x-kde-cutselec...
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.23.90
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: wayland-only
Depends on:
Blocks:
 
Reported: 2022-01-13 20:56 UTC by Pawel
Modified: 2022-10-10 12:19 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pawel 2022-01-13 20:56:19 UTC
I just upgraded to 5.24 beta and I am getting intermittent crashes when clicking on the kicker application menu and then placing the cursor on a sub-menu, for example "Internet". This happens on wayland.

Completely random, I cannot reproduce consistently and there is no core dump...

QWaylandDataOffer: timeout reading from pipe
QWaylandDataOffer: error reading data for mimeType application/x-kde-cutselection
QWaylandDataOffer: timeout reading from pipe
QWaylandDataOffer: error reading data for mimeType application/x-kde-cutselection
QWaylandDataOffer: timeout reading from pipe
QWaylandDataOffer: error reading data for mimeType application/x-kde-cutselection
QWaylandDataOffer: timeout reading from pipe
QWaylandDataOffer: error reading data for mimeType application/x-kde-cutselection
The Wayland connection broke. Did the Wayland compositor die?

Operating System: Arch Linux
KDE Plasma Version: 5.23.90
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Kernel Version: 5.13.0-1-amd-staging-drm-next-git-01870-g8e74e0923ed4 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 3700X 8-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 5700 XT
Comment 1 Pawel 2022-01-13 21:30:03 UTC
I am getting closer to reproducing this now. the bug is related to clipboard behavior.

1. Use flameshot to select a rectangle on the desktop and click the copy to clipboard button. we now have the image in the clipboard.
2. Right click on the desktop and click "Paste Clipboard Contents". Nothing gets pasted but this is ok
3. Click  on the kicker application menu and then placing the cursor on a sub-menu, for example "Internet"
4. plasma/kwin/something crashes

I wish obs worked for me on wayland so I could record this but sadly it does not...
Comment 2 David Edmundson 2022-02-10 14:24:56 UTC
I suspect a killer part is we're closing flameshot there.
So we're copying klipper -> plasmashell
This is known to deadlock on wayland. The "crash" is just we have a new window so kwin sends a ping to see if the client is alive.

This bug a duplicate somewhere in plasmashell.
Comment 3 Pawel 2022-10-10 12:19:58 UTC
I can no longer reproduce this on beta 5.26. A recent plasma or flameshot update must have fixed this issue. I will mark it as resolved.