| Summary: | Segfault crash when closing file deleted externally | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | Dan Dascalescu <ddascalescu+kde> |
| Component: | application | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | nate |
| Priority: | NOR | ||
| Version First Reported In: | 20.12.2 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
Backtrace
Couldn't load the debug symbols for libraries, to file the bug with the assistant |
||
Created attachment 135834 [details]
Couldn't load the debug symbols for libraries, to file the bug with the assistant
Thread 1 (Thread 0x7f9c6e1a9d40 (LWP 53264)): [KCrash Handler] #4 0x00007f9c744e48ea in ?? () from /lib/x86_64-linux-gnu/libKF5TextEditor.so.5 #5 0x00007f9c74648460 in ?? () from /lib/x86_64-linux-gnu/libKF5TextEditor.so.5 #6 0x00007f9c746492dd in ?? () from /lib/x86_64-linux-gnu/libKF5TextEditor.so.5 #7 0x00007f9c728b86be in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5 Unfortunately this is not very useful without debug symbols. If the wizard didn't work, you'll need to install 'em manually using the `apt` package manager. The appropriate package is probably named something like "libKF5TextEditor-dbg" Then after that's done you can reproduce the crash and attach a new backtrace. Thanks! I'm getting "libKF5TextEditor-dbg". Can you reproduce the bug? Sorry, I'm getting "E: Unable to locate package libKF5TextEditor-dbg" (Konsole didn't copy when I pressed Ctrl+Insert, but that's another issue) 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! Looks like this was fixed. I can no longer reproduce, and I'm not sure what I meant at step 5, Click the "Close" button. There is no such button now, except for the 'x' button of the pop-up notifying of the file being deleted. Clicking that does nothing, and that's OK. |
Created attachment 135833 [details] 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