https://bugs.kde.org/show_bug.cgi?id=433152
Bug ID: 433152 Summary: Segfault crash when closing file deleted externally Product: kate Version: 20.12.2 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: application Assignee: kwrite-bugs-n...@kde.org Reporter: ddascalescu+...@gmail.com Target Milestone: --- Created attachment 135833 --> https://bugs.kde.org/attachment.cgi?id=135833&action=edit Backtrace SUMMARY Kate crashes when closing a file that was deleted externally. I went through the "Report bug" steps, but the wizard claimed the report was not useful, unless I installed the debugging symbols. It could only install the first debugging symbols bundle/library, and the other three failed with: ``` [] RESOLVED "kate;4:20.12.2-0xneon+20.04+focal+build15;amd64;installed:user_focal-focal-main" "kate-dbgsym;4:20.12.2-0xneon+20.04+focal+build15;amd64;installed:user_focal-focal-main" 1 [] FileResolver(0x5635761b0c60) ++ packages for "kate;4:20.12.2-0xneon+20.04+focal+build15;amd64;installed:user_focal-focal-main" "kate-dbgsym;4:20.12.2-0xneon+20.04+focal+build15;amd64;installed:user_focal-focal-main" [] RESOLVED "" "" 2 [] RESOLVED "" "" 3 [] RESOLVED "" "" 4 [] candidates ("kate-dbgsym", "kate-dbg", "kate-dbg", "kate-dbgsym") [] FileResolver(0x5635761b0c60) found "kate;4:20.12.2-0xneon+20.04+focal+build15;amd64;installed:user_focal-focal-main" [] ("neon-repositories-ubuntu-ddebs") [] "[repository::system/os/package/org.kde.neon.com.ubuntu.ddebs]> name: Ubuntu Debug Symbols | summary: Debug Symbols for Ubuntu | package: neon-repositories-ubuntu-ddebs" [] ("org.kde.neon.com.ubuntu.ddebs") 1 [] files: ("/usr/bin/kate", "/lib/x86_64-linux-gnu/libKF5TextEditor.so.5", "/lib/x86_64-linux-gnu/libQt5Widgets.so.5", "/lib/x86_64-linux-gnu/libQt5Core.so.5") ``` Given that failure, I'm attaching the backtrace directly. STEPS TO REPRODUCE 1. `echo 1 > bug.txt` 2. `kate bug.txt` 3. `rm bug.txt` 4. Switch to Kate, which should detect the file having been deleted 5. Click the "Close" button OBSERVED RESULT Kate crashes SOFTWARE/OS VERSIONS Linux/KDE Plasma: KDE neon 5.21 KDE Frameworks Version: 5.79.0 Qt Version: 5.15.2 -- You are receiving this mail because: You are watching all bug changes.