Bug 355220

Summary: Segmentation fault if I split view, close current file, "open recent" and reopen the file.
Product: [Applications] kate Reporter: nazgul17 <nazgul17>
Component: applicationAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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.