Bug 355220 - Segmentation fault if I split view, close current file, "open recent" and reopen the file.
Summary: Segmentation fault if I split view, close current file, "open recent" and reo...
Status: RESOLVED WORKSFORME
Alias: None
Product: kate
Classification: Applications
Component: application (show other bugs)
Version: unspecified
Platform: Kubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-12 00:23 UTC by nazgul17@gmail.com
Modified: 2016-04-06 00:34 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nazgul17@gmail.com 2015-11-12 00:23:19 UTC
Kate crashes reproducibly following the steps below. Note that it does NOT crash if
1) I do not split the view
2) I reopen the file via normal "open" button
3) I reopen the file before closing it

Kate version is 15.08.2
Using:
KDE Frameworks 5.15.0
Qt 5.4.2 (built against 5.4.2)
The xcb windowing system

Reproducible: Always

Steps to Reproduce:
1. Run `touch test`
2. Run `kate test.txt`
3. Close the file (not Kate)
4. Click on File -> Open recent -> test.txt

Actual Results:  
Segmentation fault (core dumped)

Expected Results:  
Reopen the file!

I actually run `strace kate test.txt &> log_kate.txt`.
The last lines of log_kate.txt can be found in http://pastebin.com/DAEhRbjn
Comment 1 Dominik Haumann 2016-04-05 20:39:24 UTC
Cannot reproduce, probably got fixed meanwhile. If you can provide a proper backtrace, please do so.
Comment 2 nazgul17@gmail.com 2016-04-06 00:34:58 UTC
Sorry, I am not using KDE anymore so I cannot reproduce.