I am editing a bash script that is hosted on a SSHFS mount. Kate often hangs for 10 seconds. The network on both sides if perfectly working I attached gdb and perf outputs Kate 23.08.3 Plasma 5.27.9 KDE Frameworks 5.111.0 Qt 5.15.11 Fedora 39 KDE Wayland session
Created attachment 163973 [details] GDB
Created attachment 163974 [details] perf
Thanks for the report. Can you install the debug symbols also for Kate? Smells a bit like the project plugin is trying to figure out a possible project in the remote folder....
Hello, Kate debuginfos where already installed when I run gdb.
I can see that you have the debug symbols for KTextEditor, but the line: #5 0x00007f8a981892de in KateProjectPlugin::projectForDir(QDir, bool) () from /usr/lib64/qt5/plugins/ktexteditor/kateprojectplugin.so does indicate that the ones for Kate and it's plugins might be missing something...
It looks for me like we hang in access, if that hangs, we hang. Not sure why that happens for you, didn't have that so far, but not often using sshfs. We have a lot of places we do at least such a stat in a sync way, don't think it is realistic that this if fixed.
(In reply to Kåre Särs from comment #5) > I can see that you have the debug symbols for KTextEditor, but the line: > #5 0x00007f8a981892de in KateProjectPlugin::projectForDir(QDir, bool) () > from /usr/lib64/qt5/plugins/ktexteditor/kateprojectplugin.so > does indicate that the ones for Kate and it's plugins might be missing > something... I reported this lack of debuginfos to the Fedora Kate maintainer https://bugzilla.redhat.com/show_bug.cgi?id=2254352
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!
Hi, I don't think we will fix that. We and the most libs we use rely on the fact that 'local' file operations don't stall to long. That this is not true for mounted remote filesystems in bad, but not really fixable with reasonable effort.