https://bugs.kde.org/show_bug.cgi?id=473535
Bug ID: 473535 Summary: Plasmashell open thousands of pipes and crashing continuously Classification: Plasma Product: plasmashell Version: 5.27.7 Platform: Archlinux OS: Linux Status: REPORTED Severity: crash Priority: NOR Component: general Assignee: plasma-b...@kde.org Reporter: reverier...@outlook.com CC: k...@davidedmundson.co.uk Target Milestone: 1.0 Created attachment 161060 --> https://bugs.kde.org/attachment.cgi?id=161060&action=edit fd in plasmashell's proc SUMMARY Plasma shell will freeze for a while and then crash when I open some wine-games on wayland. If I close the game immediately when the shell is frozen, the plasmashell could be resumed. not tested on X11. I found logs in journal below: ``` Aug 19 19:35:47 Reverier-Arch systemd[1691]: Starting KDE Plasma Workspace... Aug 19 19:35:47 Reverier-Arch plasmashell[4269]: Checking screens: available: (QScreen(0x555c1bdf2100, name="eDP-1")) redundant: QHash() fake: QSet() all: (QScreen(0x555c1bdf2100, name="eDP-1")) Aug 19 19:35:47 Reverier-Arch systemd[1691]: Started KDE Plasma Workspace. Aug 19 19:35:47 Reverier-Arch plasmashell[4269]: kf.plasma.quick: Applet preload policy set to 1 Aug 19 19:35:47 Reverier-Arch plasmashell[4269]: kf.kio.core: Malformed JSON protocol file for protocol: "trash" , number of the ExtraNames fields should match the number of ExtraTypes fields Aug 19 19:35:47 Reverier-Arch plasmashell[4269]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate() Aug 19 19:35:47 Reverier-Arch plasmashell[4269]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate() Aug 19 19:35:47 Reverier-Arch plasmashell[4269]: org.kde.plasma.containmentlayoutmanager: Error: cannot change the containment to AppletsLayout Aug 19 19:35:47 Reverier-Arch kioslave5[4304]: kf.kio.core: Malformed JSON protocol file for protocol: "trash" , number of the ExtraNames fields should match the number of ExtraTypes fields Aug 19 19:35:47 Reverier-Arch kioslave5[4304]: QObject::connect: No such slot DesktopProtocol::_k_slotRedirection(KIO::Job *, QUrl) Aug 19 19:35:47 Reverier-Arch kioslave5[4304]: QObject::connect: No such slot DesktopProtocol::_k_slotRedirection(KIO::Job *, QUrl) Aug 19 19:35:47 Reverier-Arch plasmashell[4269]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate() Aug 19 19:35:47 Reverier-Arch plasmashell[4269]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate() Aug 19 19:35:48 Reverier-Arch plasmashell[4269]: Trying to use rootObject before initialization is completed, whilst using setInitializationDelayed. Forcing completion Aug 19 19:35:48 Reverier-Arch plasmashell[4269]: org.kde.plasma.kicker: Entry is not valid "org.kde.kontact.desktop" QSharedPointer(0x555c1ce7d040) Aug 19 19:35:48 Reverier-Arch plasmashell[4269]: org.kde.plasma.kicker: Entry is not valid "ktp-contactlist.desktop" QSharedPointer(0x555c1ce72910) Aug 19 19:35:48 Reverier-Arch plasmashell[4269]: org.kde.plasma.kicker: Entry is not valid "org.kde.discover.desktop" QSharedPointer(0x555c1ce7d2a0) Aug 19 19:35:48 Reverier-Arch plasmashell[4269]: org.kde.plasma.kicker: Entry is not valid "org.kde.kontact.desktop" QSharedPointer(0x555c1ce7ce50) Aug 19 19:35:48 Reverier-Arch plasmashell[4269]: org.kde.plasma.kicker: Entry is not valid "ktp-contactlist.desktop" QSharedPointer(0x555c1ce7bd10) Aug 19 19:35:48 Reverier-Arch plasmashell[4269]: org.kde.plasma.kicker: Entry is not valid "org.kde.discover.desktop" QSharedPointer(0x555c1ce73230) Aug 19 19:35:48 Reverier-Arch plasmashell[4269]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate() Aug 19 19:35:48 Reverier-Arch plasmashell[4269]: Cyclic dependency detected between "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml" and "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationHeader.qml" Aug 19 19:35:48 Reverier-Arch plasmashell[4269]: Cyclic dependency detected between "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml" and "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/ThumbnailStrip.qml" Aug 19 19:35:48 Reverier-Arch plasmashell[4269]: file:///usr/share/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/main.qml:95: TypeError: Cannot read property 'airplaneModeAvailable' of null Aug 19 19:35:48 Reverier-Arch plasmashell[4269]: file:///usr/share/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/main.qml:95: TypeError: Cannot read property 'airplaneModeAvailable' of null Aug 19 19:35:48 Reverier-Arch plasmashell[4269]: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/main.qml:18:1: QML MouseArea (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumWidth" Aug 19 19:35:48 Reverier-Arch plasmashell[4269]: Both point size and pixel size set. Using pixel size. Aug 19 19:35:48 Reverier-Arch plasmashell[4269]: file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/Tooltip.qml:78:9: QML GridLayout (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumWidth" Aug 19 19:35:48 Reverier-Arch plasmashell[4269]: org.kde.plasma.containmentlayoutmanager: Error: cannot change the containment to AppletsLayout Aug 19 19:35:48 Reverier-Arch plasmashell[4269]: libkcups: 0 Aug 19 19:35:48 Reverier-Arch plasmashell[4269]: libkcups: 0 Aug 19 19:35:48 Reverier-Arch plasmashell[4269]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate() Aug 19 19:35:48 Reverier-Arch kioslave5[4304]: QObject::connect: No such slot DesktopProtocol::_k_slotRedirection(KIO::Job *, QUrl) Aug 19 19:35:48 Reverier-Arch plasmashell[4269]: QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0 Aug 19 19:35:51 Reverier-Arch plasmashell[4269]: file:///usr/lib/qt/qml/org/kde/plasma/workspace/calendar/MonthView.qml:244:5: QML MonthViewHeader: Binding loop detected for property "implicitHeight" Aug 19 19:35:55 Reverier-Arch plasmashell[4269]: kf5idletime_wayland: This plugin does not support polling idle time Aug 19 19:36:09 Reverier-Arch plasmashell[4269]: error marshalling arguments for get_icon: dup failed: Too many open files. Aug 19 19:36:09 Reverier-Arch plasmashell[4269]: Error marshalling request: Too many open files. Aug 19 19:36:09 Reverier-Arch plasmashell[4269]: The Wayland connection experienced a fatal error: Too many open files. Aug 19 19:36:10 Reverier-Arch systemd[1691]: plasma-plasmashell.service: Main process exited, code=exited, status=1/FAILURE Aug 19 19:36:10 Reverier-Arch systemd[1691]: plasma-plasmashell.service: Failed with result 'exit-code'. Aug 19 19:36:10 Reverier-Arch systemd[1691]: plasma-plasmashell.service: Consumed 24.493s CPU time. Aug 19 19:36:11 Reverier-Arch systemd[1691]: plasma-plasmashell.service: Scheduled restart job, restart counter is at 4. ``` I also tried to list the files in /proc/<pid>/fd, and i got this STEPS TO REPRODUCE 1. 2. 3. OBSERVED RESULT EXPECTED RESULT SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.