Bug 473783 - Kate hangs opening a remote and local files with the same path.
Summary: Kate hangs opening a remote and local files with the same path.
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: application (show other bugs)
Version: 21.12.3
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-26 18:37 UTC by Nathan
Modified: 2023-08-27 15:57 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Attempted Backtrace (3.95 KB, text/plain)
2023-08-26 18:37 UTC, Nathan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan 2023-08-26 18:37:36 UTC
Created attachment 161199 [details]
Attempted Backtrace

Kate hangs and uses 100% CPU when opening a remote file with the same path as an open local file. E.g. if I have /home/user/tmp.txt open locally, and I open sftp:192.168.0.11/home/user/tmp.txt, then kate hangs. I'm not sure how to get a good backtrace since I am terminating the application, but I've attached what I thought of (a backtrace from while it is hung).


STEPS TO REPRODUCE
1. Open a local file (or remote).
2. Open a remote file (or local) with the same path.

OBSERVED RESULT
Kate hangs.

EXPECTED RESULT
Both files open.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 22.04
KDE Plasma Version: 5.24.7
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Comment 1 Christoph Cullmann 2023-08-27 15:57:25 UTC
This was fixed in a later frameworks release, sorry for the issue.