| Summary: | Plasmashell freezes at sshfs password prompt on command line | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | grundik |
| Component: | generic-performance | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | aspotashev, germano.massullo, kde, kdedev, nate, postix |
| Priority: | NOR | Keywords: | regression |
| Version First Reported In: | 6.3.2 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Debian unstable | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | 6.4.0 | |
| Sentry Crash Report: | |||
| Bug Depends on: | |||
| Bug Blocks: | 504984 | ||
|
Description
grundik
2025-03-04 11:56:36 UTC
Probably related: plasma is quite unresponsive when disks are on heavy load, like its almost impossible to use system tray. Looks like something synchronously polling mounts. *** Bug 502454 has been marked as a duplicate of this bug. *** Can confirm on 6.3.6. Unfortunately I have to use ``` sshfs user@host:/ mymount ``` which let Plasmashell freeze if the host is not responding (fast enough), as I can't mount the remote directory due to bug #504148. Confirmed. KFilePlacesModel (presumably from Notifications) reloads its list upon a new device appearing, querying mountpoints to find KDE Connect (which is also sshfs) and then blocking on a statvfs on that defunct sshfs mount. A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kio/-/merge_requests/1897 A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kio/-/merge_requests/1906 Git commit a00d12417064be64cdda93eb8bf73fffc3e5fb41 by Kai Uwe Broulik. Committed on 03/06/2025 at 15:19. Pushed by broulik into branch 'master'. KFilePlacesItem: Try harder not to check for KDE Connect KMountPoint might block in statvfs on a broken sshfs mount. We know that KDE Connect mounts into XDG_RUNTIME_DIR, so any other mount can't be it. Furthermore, if the place has been hidden before we don't need to do any of this. M +23 -12 src/filewidgets/kfileplacesitem.cpp https://invent.kde.org/frameworks/kio/-/commit/a00d12417064be64cdda93eb8bf73fffc3e5fb41 Im sorry for maybe dumb question, but... Why this situation is even possible? How could it be, if single operation in a plugin causes blocking the whole plasma? Shouldnt it be done in separate thread in the first place? I cannot reproduce anylonger the bug on Plasma 6.4.0 Looks like Plasmashell indeed no longer freezes, just Dolphin still doesn't open until the connection is established or aborted. |