Bug 190399

Summary: crash on unaccessible remote files
Product: [Applications] kate Reporter: Mihai DONȚU <mihai.dontu>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: kate with ghost files

Description Mihai DONȚU 2009-04-23 03:51:52 UTC
Version:            (using KDE 4.2.2)
Compiler:          gcc-4.3.2 
OS:                Linux
Installed from:    Gentoo Packages

I have opened smb://192.168.0.13/project in dolphin, selected some files and dragged them onto kate. I edited them, but at some point my keyboard died and I was forced to log out of KDE and then log back in. After KDE loaded, I opened kate and saw that the document view did not show my files (I was able select them, but the text did not appear - see attached screenshot). This was most likely because kate lost the samba "credentials" and could not read the files. At that point, I selected a "ghost" file and pressed CTRL+W to close it. That was when kate crashed. File -> Close All had the same effect. The problem is solved by editing ~/.kde4/share/apps/kate/sessions and removing the remote files.
Comment 1 Mihai DONȚU 2009-04-23 03:53:56 UTC
Created attachment 33022 [details]
kate with ghost files

this is how kate looks like after being unable to access the remote files
Comment 2 Dominik Haumann 2010-06-14 01:18:54 UTC
This should be fixed in KDE 4.4.4. Can you please test again?

*** This bug has been marked as a duplicate of bug 203774 ***
Comment 3 Mihai DONȚU 2010-06-22 03:39:17 UTC
Indeed, it is resolved. Thank you! :-)