Bug 450711 - plasmashell exits with timeout reading from pipe
Summary: plasmashell exits with timeout reading from pipe
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (show other bugs)
Version: 5.24.1
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: wayland-only
Depends on:
Blocks:
 
Reported: 2022-02-22 16:54 UTC by Guido Winkelmann
Modified: 2024-03-27 03:46 UTC (History)
1 user (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 Guido Winkelmann 2022-02-22 16:54:43 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
Plasmashell just exits every once in a while with a message "The Wayland connection broke. Did the Wayland compositor die?" It can be restarted by running plasmashell& in a konsole window.

STEPS TO REPRODUCE
1. Log in using SDDM
2. Use the computer for a couple of hours. (I haven't really found anything specific that I do that triggers it, but just letting it sit there does not seem to.)

OBSERVED RESULT
After a while, all panels will disappear, all interactivity of the desktop itself will cease and shortly after, configured background images will disappear, being replaced by solid black.

If plasmashell has been run from a konsole at this point, these are the last lines of output:

================
file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:377: Unable to assign [undefined] to QString
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:15:1: QML Panel: Binding loop detected for property "state"
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:15:1: QML Panel: Binding loop detected for property "state"
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:15:1: QML Panel: Binding loop detected for property "state"
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:15:1: QML Panel: Binding loop detected for property "state"
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:15:1: QML Panel: Binding loop detected for property "state"
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:15:1: QML Panel: Binding loop detected for property "state"
QWaylandDataOffer: timeout reading from pipe
QWaylandDataOffer: error reading data for mimeType application/x-kde-cutselection
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:15:1: QML Panel: Binding loop detected for property "state"
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:15:1: QML Panel: Binding loop detected for property "state"
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:15:1: QML Panel: Binding loop detected for property "state"
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:15:1: QML Panel: Binding loop detected for property "state"
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:15:1: QML Panel: Binding loop detected for property "state"
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:15:1: QML Panel: Binding loop detected for property "state"
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:15:1: QML Panel: Binding loop detected for property "state"
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:15:1: QML Panel: Binding loop detected for property "state"
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:15:1: QML Panel: Binding loop detected for property "state"
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:15:1: QML Panel: Binding loop detected for property "state"
QWaylandDataOffer: select() failed
QWaylandDataOffer: error reading data for mimeType application/x-kde-cutselection
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:15:1: QML Panel: Binding loop detected for property "state"
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:15:1: QML Panel: Binding loop detected for property "state"
libkcups: Renew-Subscription last error: 0 successful-ok
file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:377: Unable to assign [undefined] to QString
kf.plasma.quick: Couldn't create KWindowShadow for ToolTipDialog(0x55b294e5b8e0)
kf.plasma.quick: Couldn't create KWindowShadow for ToolTipDialog(0x55b294e5b8e0)
kf.plasma.quick: Couldn't create KWindowShadow for ToolTipDialog(0x55b294e5b8e0)
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:15:1: QML Panel: Binding loop detected for property "state"
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:15:1: QML Panel: Binding loop detected for property "state"
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:15:1: QML Panel: Binding loop detected for property "state"
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:15:1: QML Panel: Binding loop detected for property "state"
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:15:1: QML Panel: Binding loop detected for property "state"
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:15:1: QML Panel: Binding loop detected for property "state"
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:15:1: QML Panel: Binding loop detected for property "state"
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:15:1: QML Panel: Binding loop detected for property "state"
QWaylandDataOffer: timeout reading from pipe
QWaylandDataOffer: error reading data for mimeType application/x-kde-cutselection
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:15:1: QML Panel: Binding loop detected for property "state"
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:15:1: QML Panel: Binding loop detected for property "state"
kf.plasma.quick: Couldn't create KWindowShadow for ToolTipDialog(0x55b294e5b8e0)
kf.plasma.quick: Couldn't create KWindowShadow for ToolTipDialog(0x55b294e5b8e0)
kf.plasma.quick: Couldn't create KWindowShadow for ToolTipDialog(0x55b294e5b8e0)
file:///usr/lib64/qt5/qml/org/kde/plasma/components.3/ScrollView.qml:47:45: QML ScrollBar: Binding loop detected for property "visible"
file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:377: Unable to assign [undefined] to QString
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:15:1: QML Panel: Binding loop detected for property "state"
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:15:1: QML Panel: Binding loop detected for property "state"
kf.plasma.quick: Couldn't create KWindowShadow for ToolTipDialog(0x55b294e5b8e0)
kf.plasma.quick: Couldn't create KWindowShadow for ToolTipDialog(0x55b294e5b8e0)
kf.plasma.quick: Couldn't create KWindowShadow for ToolTipDialog(0x55b294e5b8e0)
file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:377: Unable to assign [undefined] to QString
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:15:1: QML Panel: Binding loop detected for property "state"
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:15:1: QML Panel: Binding loop detected for property "state"
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:15:1: QML Panel: Binding loop detected for property "state"
QWaylandDataOffer: timeout reading from pipe
QWaylandDataOffer: error reading data for mimeType application/x-kde-cutselection
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:15:1: QML Panel: Binding loop detected for property "state"
The Wayland connection broke. Did the Wayland compositor die?

EXPECTED RESULT
Plasma should continue to work as before.

SOFTWARE/OS VERSIONS
Windows: n/a
macOS: n/a
Linux/KDE Plasma: Kernel 5.15.24, graphics platform: Wayland
(available in About System)
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2022-02-22 18:07:25 UTC
> The Wayland connection broke. Did the Wayland compositor die?
This means kwin_wayland crashed. Can you get a backtrace of it using `coredumctl`? See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl
Comment 2 Guido Winkelmann 2022-02-23 18:17:54 UTC
(In reply to Nate Graham from comment #1)
> > The Wayland connection broke. Did the Wayland compositor die?
> This means kwin_wayland crashed. Can you get a backtrace of it using
> `coredumctl`? See
> https://community.kde.org/Guidelines_and_HOWTOs/Debugging/
> How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl

My system does not have that utility. It looks like this a systemd utility, and I'm not running systemd.
Comment 3 Nate Graham 2022-02-23 18:21:30 UTC
Oh, well then you can use some other method to get a backtrace of the kwin_wayland crash.
Comment 4 Guido Winkelmann 2022-02-23 18:32:35 UTC
Are you sure kwin_wayland crashed anyway? I'd think that would have even worse consequences, like the entire graphical session stopping to work.
Comment 5 Nate Graham 2022-02-23 18:34:17 UTC
Oh, so no other apps died too?
Comment 6 Guido Winkelmann 2022-02-23 18:48:50 UTC
(In reply to Nate Graham from comment #5)
> Oh, so no other apps died too?

No, it was literally just plasmashell that died (as far as I could tell). All the other running applications kept running, and I could even still switch between the virtual desktops (with Ctrl-F1, Ctrl-F2 etc. because the panels were all gone) and switch between applications by moving the mouse into their windows, and when I restarted plasmashell from the konsole, everything was back to normal.
Comment 7 Nate Graham 2022-02-23 20:13:05 UTC
Oh ok, my mistake then. Usually "The Wayland connection broke. Did the Wayland compositor die?" means that the Wayland compositor (KWin) did in fact die, but I guess that's not what happened here!
Comment 8 Nate Graham 2024-02-23 22:51:34 UTC
In any event, we still need a backtrace of the crash to do something with this. Sorry it took me so long to get back to you. Can I ask you to upgrade to Plasma 6 (which is due to be released in 5 days) and try it again there, to see if it's still happening? If so, please use the instructions I previously provided to get a backtrace, and attach it here. Thanks a lot!
Comment 9 Guido Winkelmann 2024-02-24 01:05:55 UTC
(In reply to Nate Graham from comment #8)
> In any event, we still need a backtrace of the crash to do something with
> this. Sorry it took me so long to get back to you. Can I ask you to upgrade
> to Plasma 6 (which is due to be released in 5 days) and try it again there,
> to see if it's still happening? If so, please use the instructions I
> previously provided to get a backtrace, and attach it here. Thanks a lot!

I don't have coredumpctl on my system. I googled it and it seems that's a systemd utility, but I'm not using systemd.
Comment 10 Nate Graham 2024-02-26 17:59:16 UTC
Then you'll have to get a backtrace of the crash the old-fashioned way, by running plasmashell in `gdb`.
Comment 11 Bug Janitor Service 2024-03-12 03:46:57 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 12 Bug Janitor Service 2024-03-27 03:46:53 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!