Bug 355777 - Kate crashes when doing "Save" or "Save AS"
Summary: Kate crashes when doing "Save" or "Save AS"
Status: RESOLVED WORKSFORME
Alias: None
Product: kate
Classification: Applications
Component: application (other bugs)
Version First Reported In: unspecified
Platform: Mint (Ubuntu based) Linux
: NOR grave
Target Milestone: ---
Assignee: KWrite Developers
URL: https://youtu.be/0t6V9eNrQEk
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2015-11-23 10:27 UTC by oleanj
Modified: 2018-10-27 04:17 UTC (History)
2 users (show)

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


Attachments
output of gdb (5.93 KB, text/plain)
2015-12-16 21:59 UTC, oleanj
Details

Note You need to log in before you can comment on or make changes to this bug.
Description oleanj 2015-11-23 10:27:11 UTC
When I want to "Save" or "Save AS" a document, Kate always crashes, leaving me with no saved document. This is reproducible.   
I'm running Linux Mint 3.16.0-38-generic #52~14.04.1-Ubuntu SMP. x86_64
VERSION="14.04.3 LTS, Trusty Tahr"


Reproducible: Always

Steps to Reproduce:
1. Open Kate
2. Write some dummy text
3. Click "Save" or "Save As", and it crashes

Actual Results:  
Crash

Expected Results:  
The software should save my document and not crash.

I'm running.
Comment 1 Kåre Särs 2015-12-16 07:11:58 UTC
Thanks for the report.

Without a crash dump it is quite hard to figure out what has gone wrong.

Are you able to generate a crash-dump with GDB if drkonqi is not installed/works?

gdb /usr/bin/kate
run


then when Kate crashes type
bt

and attach the output here
Comment 2 oleanj 2015-12-16 21:59:59 UTC
Created attachment 96135 [details]
output of gdb

hope this is the correct output from gdb.
Comment 3 Kåre Särs 2015-12-17 07:12:45 UTC
Thanks for the backtrace

From the backtrace I can read that the crash is in the KEncodingFileDialog which has been replaced in newer versions of Kate/KTextEditor.

What version of Kate are you using? It looks like it is a KF5 version, but how did you get that on Mint 14.04 which is based on ubuntu 14.04 wich does not have KF5 by default... ;)
Comment 4 oleanj 2015-12-18 07:25:51 UTC
Hi.
I reported this bug(?) when running Linux Mint 17.2 
The back trace is from Mint 17.3.
However I did a clean reinstall (wiped my disk) and installed Linux Mint 17.3. And Kate still crashes. Kate is distributed in Mints default software repository.

--
$ kate -version
Qt: 4.8.6
KDE Development Platform: 4.14.2
Kate: 3.14.2
---
$ cat /etc/issue
Linux Mint 17.3 Rosa \n \l
--
$ cat /etc/os-release 
NAME="Ubuntu"
VERSION="14.04.3 LTS, Trusty Tahr"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.04.3 LTS"
VERSION_ID="14.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
--
Comment 5 Kåre Särs 2015-12-23 11:40:37 UTC
I read the backtrace wrong. The version is the indeed the KDE 4 version.

Unfortunately the backtrace does not contain the debug symbols. Can you install the debug packages for kdelibs and Kate. Now I do not remember the package names, but something with -dbg ;)

The crash is in libkio.so and is probably not a Kate specific issue. Are you getting crashes in other KDE applications that use the file-dialog?
Comment 6 oleanj 2015-12-23 12:01:08 UTC
I installed the kate-dbg package (+ a lot of depended packages).
However,  "Save and Save AS" works OK now.
I'm not able to reproduce this issue any more.

Changes done:
- Installed the regular updates from Mint updater.
- Installed *-dbg packages for kate and other depended packages.

My kate versions are still:
$ kate -version
Qt: 4.8.6
KDE Development Platform: 4.14.2
Kate: 3.14.2

 $ cat /etc/issue
Linux Mint 17.3 Rosa \n \l

cat /etc/os-release 
NAME="Ubuntu"
VERSION="14.04.3 LTS, Trusty Tahr"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.04.3 LTS"
VERSION_ID="14.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
Comment 7 Andrew Crouthamel 2018-09-25 21:37:50 UTC
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 set the bug status 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!
Comment 8 Andrew Crouthamel 2018-10-27 04:17:26 UTC
Dear Bug Submitter,

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!