Created attachment 161060 [details] 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
STEP TO REPRODUCE: 1. Open some games runs in wine, such as Osu! or MuseDash.. 2. the plasmashell runs slow until freeze, the taskbar won't responding, and then crashed.
SOFTWARE/OS VERSIONS Linux/KDE Plasma: Archlinux Plasma 5.27.7 KDE Plasma Version: 5.27.7 on wayland KDE Frameworks Version: 5.109.0 Qt Version: 5.15.10
I tried to list all the files in plasmashell's proc fd, and i got this: $ ll /proc/(pidof plasmashell)/fd [/proc/9741/fd/469: No such file or directory (os error 2)] Permissions Size User Date Modified Name lr-x------ 64 reverier 2023-08-19 23:52 0 -> /dev/null lrwx------@ 64 reverier 2023-08-19 23:52 1 -> socket:[84562] lrwx------@ 64 reverier 2023-08-19 23:52 2 -> socket:[84562] lrwx------@ 64 reverier 2023-08-19 23:52 3 -> socket:[112714] lrwx------ 64 reverier 2023-08-19 23:52 4 -> anon_inode:[eventfd] lrwx------ 64 reverier 2023-08-19 23:52 5 -> anon_inode:[eventfd] lrwx------@ 64 reverier 2023-08-19 23:52 6 -> socket:[115118] lrwx------@ 64 reverier 2023-08-19 23:52 7 -> socket:[115119] lr-x------ 64 reverier 2023-08-19 23:52 8 -> anon_inode:inotify lrwx------@ 64 reverier 2023-08-19 23:52 9 -> socket:[104920] lrwx------ 64 reverier 2023-08-19 23:52 10 -> anon_inode:[eventfd] lrwx------ 64 reverier 2023-08-19 23:52 11 -> anon_inode:[eventfd] lr-x------ 64 reverier 2023-08-19 23:52 12 -> pipe:[104921] l-wx------ 64 reverier 2023-08-19 23:52 13 -> pipe:[104921] lr-x------ 64 reverier 2023-08-19 23:52 14 -> pipe:[97985] l-wx------ 64 reverier 2023-08-19 23:52 15 -> pipe:[97985] lr-x------ 64 reverier 2023-08-19 23:52 16 -> anon_inode:inotify lrwx------ 64 reverier 2023-08-19 23:52 17 -> /dev/nvidiactl lrwx------ 64 reverier 2023-08-19 23:52 18 -> /dev/nvidia0 lrwx------ 64 reverier 2023-08-19 23:52 19 -> /dev/nvidia0 lrwx------ 64 reverier 2023-08-19 23:52 20 -> /dev/dri/renderD128 lrwx------ 64 reverier 2023-08-19 23:52 21 -> /dev/dri/renderD128 lrwx------ 64 reverier 2023-08-19 23:52 22 -> /dev/dri/renderD128 lrwx------ 64 reverier 2023-08-19 23:52 23 -> /dev/dri/renderD128 lrwx------ 64 reverier 2023-08-19 23:52 24 -> anon_inode:[eventfd] lrwx------@ 64 reverier 2023-08-19 23:52 25 -> socket:[98515] lr-x------ 64 reverier 2023-08-19 23:52 26 -> /home/reverier/.cache/ksycoca5_zh_OJh4RQrrNygTONJgtS85EOOYpRc= lr-x------ 64 reverier 2023-08-19 23:52 27 -> /home/reverier/.local/share/mime/mime.cache lr-x------ 64 reverier 2023-08-19 23:52 28 -> /usr/share/mime/mime.cache lr-x------ 64 reverier 2023-08-19 23:52 29 -> anon_inode:inotify lrwx------ 64 reverier 2023-08-19 23:52 30 -> anon_inode:[eventfd] lrwx------ 64 reverier 2023-08-19 23:52 31 -> /memfd:pulseaudio (deleted) lrwx------ 64 reverier 2023-08-19 23:52 32 -> anon_inode:[eventfd] lrwx------ 64 reverier 2023-08-19 23:52 33 -> /memfd:kwayland-shared (deleted) lrwx------ 64 reverier 2023-08-19 23:52 34 -> anon_inode:[eventfd] lrwx------ 64 reverier 2023-08-19 23:52 35 -> anon_inode:[eventfd] lrwx------ 64 reverier 2023-08-19 23:52 36 -> anon_inode:[eventfd] lrwx------ 64 reverier 2023-08-19 23:52 37 -> /memfd:kwayland-shared (deleted) lrwx------ 64 reverier 2023-08-19 23:52 38 -> anon_inode:[eventfd] lrwx------ 64 reverier 2023-08-19 23:52 39 -> anon_inode:[eventfd] lrwx------@ 64 reverier 2023-08-19 23:52 40 -> socket:[104945] lrwx------ 64 reverier 2023-08-19 23:52 41 -> /memfd:kwayland-shared (deleted) lrwx------ 64 reverier 2023-08-19 23:52 42 -> anon_inode:[eventfd] lrwx------ 64 reverier 2023-08-19 23:52 43 -> anon_inode:[eventfd] lrwx------ 64 reverier 2023-08-19 23:52 44 -> anon_inode:[eventfd] lrwx------ 64 reverier 2023-08-19 23:52 45 -> anon_inode:[eventfd] lrwx------ 64 reverier 2023-08-19 23:52 46 -> anon_inode:[eventfd] lrwx------ 64 reverier 2023-08-19 23:52 47 -> /memfd:kwayland-shared (deleted) lrwx------ 64 reverier 2023-08-19 23:52 48 -> anon_inode:[eventfd] lrwx------ 64 reverier 2023-08-19 23:52 49 -> /memfd:kwayland-shared (deleted) lrwx------ 64 reverier 2023-08-19 23:52 50 -> anon_inode:[eventfd] lrwx------ 64 reverier 2023-08-19 23:52 51 -> /memfd:kwayland-shared (deleted) lrwx------ 64 reverier 2023-08-19 23:52 52 -> anon_inode:[eventfd] lrwx------ 64 reverier 2023-08-19 23:52 53 -> /memfd:kwayland-shared (deleted) lrwx------ 64 reverier 2023-08-19 23:52 54 -> anon_inode:[eventfd] lrwx------ 64 reverier 2023-08-19 23:52 55 -> /memfd:kwayland-shared (deleted) lrwx------ 64 reverier 2023-08-19 23:52 56 -> anon_inode:[eventfd] lr-x------ 64 reverier 2023-08-19 23:52 57 -> anon_inode:inotify lr-x------ 64 reverier 2023-08-19 23:52 58 -> /proc/9741/mounts lrwx------@ 64 reverier 2023-08-19 23:52 59 -> socket:[104961] lr-x------ 64 reverier 2023-08-19 23:52 60 -> anon_inode:inotify lr-x------ 64 reverier 2023-08-19 23:52 61 -> /home/reverier/.local/share/kactivitymanagerd/resources/database lrwx------ 64 reverier 2023-08-19 23:52 62 -> /home/reverier/.local/share/kactivitymanagerd/resources/database-wal lrwx------ 64 reverier 2023-08-19 23:52 63 -> /home/reverier/.local/share/kactivitymanagerd/resources/database-shm lrwx------@ 64 reverier 2023-08-19 23:52 64 -> socket:[104964] lrwx------ 64 reverier 2023-08-19 23:52 65 -> anon_inode:[eventfd] lrwx------ 64 reverier 2023-08-19 23:52 66 -> anon_inode:[eventfd] lrwx------ 64 reverier 2023-08-19 23:52 67 -> anon_inode:[eventfd] lrwx------ 64 reverier 2023-08-19 23:52 68 -> anon_inode:[eventfd] lrwx------ 64 reverier 2023-08-19 23:52 69 -> anon_inode:[eventfd] lrwx------ 64 reverier 2023-08-19 23:52 70 -> anon_inode:[eventfd] lrwx------ 64 reverier 2023-08-19 23:52 71 -> anon_inode:[eventfd] lrwx------@ 64 reverier 2023-08-19 23:52 72 -> socket:[98526] lr-x------@ 64 reverier 2023-08-19 23:52 73 -> /dev/rfkill lrwx------@ 64 reverier 2023-08-19 23:52 74 -> socket:[113943] lrwx------@ 64 reverier 2023-08-19 23:52 75 -> socket:[110819] lrwx------ 64 reverier 2023-08-19 23:52 76 -> anon_inode:[eventfd] lrwx------ 64 reverier 2023-08-19 23:52 77 -> /memfd:kwayland-shared (deleted) lrwx------@ 64 reverier 2023-08-19 23:52 78 -> socket:[92158] lrwx------ 64 reverier 2023-08-19 23:52 81 -> /memfd:kwin-xkb-keymap (deleted) lrwx------ 64 reverier 2023-08-19 23:52 85 -> /memfd:kwayland-shared (deleted) lrwx------ 64 reverier 2023-08-19 23:52 92 -> anon_inode:[timerfd] lrwx------ 64 reverier 2023-08-19 23:52 94 -> /memfd:kwayland-shared (deleted) lrwx------ 64 reverier 2023-08-19 23:52 102 -> /memfd:kwayland-shared (deleted) lrwx------ 64 reverier 2023-08-19 23:52 110 -> /memfd:kwayland-shared (deleted) lrwx------ 64 reverier 2023-08-19 23:52 118 -> /memfd:kwayland-shared (deleted) lrwx------ 64 reverier 2023-08-19 23:52 124 -> /memfd:kwayland-shared (deleted) lrwx------ 64 reverier 2023-08-19 23:52 128 -> /memfd:kwayland-shared (deleted) lr-x------ 64 reverier 2023-08-19 23:52 453 lr-x------ 64 reverier 2023-08-19 23:52 481 -> pipe:[117503] lr-x------ 64 reverier 2023-08-19 23:52 489 lr-x------ 64 reverier 2023-08-19 23:52 497 -> pipe:[117504] lr-x------ 64 reverier 2023-08-19 23:52 505 lr-x------ 64 reverier 2023-08-19 23:52 513 lr-x------ 64 reverier 2023-08-19 23:52 517 -> pipe:[117505] lr-x------ 64 reverier 2023-08-19 23:52 521 -> pipe:[117480] lr-x------ 64 reverier 2023-08-19 23:52 529 -> pipe:[117481] lr-x------ 64 reverier 2023-08-19 23:52 533 -> pipe:[117506] lr-x------ 64 reverier 2023-08-19 23:52 536 -> pipe:[117482] lr-x------ 64 reverier 2023-08-19 23:52 539 -> pipe:[117483] lr-x------ 64 reverier 2023-08-19 23:52 541 -> pipe:[117507] lr-x------ 64 reverier 2023-08-19 23:52 543 -> pipe:[117484] lr-x------ 64 reverier 2023-08-19 23:52 546 lr-x------ 64 reverier 2023-08-19 23:52 547 -> pipe:[117485] lr-x------ 64 reverier 2023-08-19 23:52 549 -> pipe:[117508] lr-x------ 64 reverier 2023-08-19 23:52 551 -> pipe:[117486] lr-x------ 64 reverier 2023-08-19 23:52 552 lr-x------ 64 reverier 2023-08-19 23:52 554 lr-x------ 64 reverier 2023-08-19 23:52 555 -> pipe:[117487] lr-x------ 64 reverier 2023-08-19 23:52 556 lr-x------ 64 reverier 2023-08-19 23:52 557 -> pipe:[117509] lr-x------ 64 reverier 2023-08-19 23:52 558 lr-x------ 64 reverier 2023-08-19 23:52 559 -> pipe:[117488] lr-x------ 64 reverier 2023-08-19 23:52 560 lr-x------ 64 reverier 2023-08-19 23:52 562 lr-x------ 64 reverier 2023-08-19 23:52 563 -> pipe:[117489] lr-x------ 64 reverier 2023-08-19 23:52 564 -> pipe:[117510] lr-x------ 64 reverier 2023-08-19 23:52 566 -> pipe:[117490] lr-x------ 64 reverier 2023-08-19 23:52 567 -> pipe:[117511] lr-x------ 64 reverier 2023-08-19 23:52 568 -> pipe:[117491] lr-x------ 64 reverier 2023-08-19 23:52 570 -> pipe:[117492] lr-x------ 64 reverier 2023-08-19 23:52 571 -> pipe:[117512] lr-x------ 64 reverier 2023-08-19 23:52 572 -> pipe:[117493] lr-x------ 64 reverier 2023-08-19 23:52 574 -> pipe:[117494] lr-x------ 64 reverier 2023-08-19 23:52 575 -> pipe:[117513] lr-x------ 64 reverier 2023-08-19 23:52 576 -> pipe:[117495] lr-x------ 64 reverier 2023-08-19 23:52 578 -> pipe:[117496] lr-x------ 64 reverier 2023-08-19 23:52 579 -> pipe:[117514] lr-x------ 64 reverier 2023-08-19 23:52 580 -> pipe:[117497] lr-x------ 64 reverier 2023-08-19 23:52 582 -> pipe:[117498] lr-x------ 64 reverier 2023-08-19 23:52 583 -> pipe:[117515] lr-x------ 64 reverier 2023-08-19 23:52 584 -> pipe:[117499] lr-x------ 64 reverier 2023-08-19 23:52 586 -> pipe:[117500] lr-x------ 64 reverier 2023-08-19 23:52 587 -> pipe:[117516] lr-x------ 64 reverier 2023-08-19 23:52 588 -> pipe:[117501] lr-x------ 64 reverier 2023-08-19 23:52 590 -> pipe:[117502] lr-x------ 64 reverier 2023-08-19 23:52 591 -> pipe:[117517] lr-x------ 64 reverier 2023-08-19 23:52 594 -> pipe:[117518] lr-x------ 64 reverier 2023-08-19 23:52 596 -> pipe:[117519] lr-x------ 64 reverier 2023-08-19 23:52 598 -> pipe:[117520] lr-x------ 64 reverier 2023-08-19 23:52 600 -> pipe:[117521] lr-x------ 64 reverier 2023-08-19 23:52 602 -> pipe:[117522] lr-x------ 64 reverier 2023-08-19 23:52 604 -> pipe:[117523] lr-x------ 64 reverier 2023-08-19 23:52 606 -> pipe:[117524] lr-x------ 64 reverier 2023-08-19 23:52 608 -> pipe:[117525] lr-x------ 64 reverier 2023-08-19 23:52 610 -> pipe:[117526] lr-x------ 64 reverier 2023-08-19 23:52 612 -> pipe:[117527] lr-x------ 64 reverier 2023-08-19 23:52 614 -> pipe:[117528] lr-x------ 64 reverier 2023-08-19 23:52 616 -> pipe:[117529] seems that it creates a lot of pipes.
This bug may related to window decorations. When I check the "allow the window manager to control the windows" in winecfg, the bug happens.
If something crashed, we need a backtrace of it so we can figure out what's going on. Can you please attach a backtrace of the crash using the coredumpctl command-line program, as detailed in https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl? Thanks!
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!
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!