Bug 473783

Summary: Kate hangs opening a remote and local files with the same path.
Product: [Applications] kate Reporter: Nathan <pokemaster0x01+kde.bugtracking>
Component: applicationAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: christoph
Priority: NOR    
Version First Reported In: 21.12.3   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Attempted Backtrace

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.