Bug 340920 - Kated crushed when opened text file created with Dolphin "create new" context menu
Summary: Kated crushed when opened text file created with Dolphin "create new" context...
Status: RESOLVED DUPLICATE of bug 315690
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: drkonqi
: 341097 341824 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-11-13 12:04 UTC by Tigran Tumanian
Modified: 2014-12-13 14:04 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (2.35 KB, text/plain)
2014-11-20 13:50 UTC, 982253119
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tigran Tumanian 2014-11-13 12:04:17 UTC
Application: kate (3.14.2)
KDE Platform Version: 4.14.2
Qt Version: 4.8.6
Operating System: Linux 3.16.6-2-desktop x86_64
Distribution: "openSUSE 13.2 (Harlequin) (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:

* Create a text file with Dolphin context menu (Create New -> Text File)
* Open this text file (irrelevant with single click or with Donlphin context "open with")

The crash can be reproduced every time.

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fdfeb6c8780 (LWP 2305))]

Thread 2 (Thread 0x7fdfccfbb700 (LWP 2308)):
#0  0x00007fdfe9f8605f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fdfdc8178cb in  () at /usr/lib64/libQtScript.so.4
#2  0x00007fdfdc817909 in  () at /usr/lib64/libQtScript.so.4
#3  0x00007fdfe9f820a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007fdfe8cee7fd in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7fdfeb6c8780 (LWP 2305)):
[KCrash Handler]
#5  0x00007fdfea873c81 in KSycocaEntry::name() const () at /usr/lib64/libkdecore.so.5
#6  0x00007fdfced5d79f in Kate::TextBuffer::load(QString const&, bool&, bool&, bool) () at /usr/lib64/libkatepartinterfaces.so.4
#7  0x00007fdfcedcefce in KateBuffer::openFile(QString const&, bool) () at /usr/lib64/libkatepartinterfaces.so.4
#8  0x00007fdfcedc4502 in KateDocument::openFile() () at /usr/lib64/libkatepartinterfaces.so.4
#9  0x00007fdfdf8340b7 in  () at /usr/lib64/libkparts.so.4
#10 0x00007fdfdf83569e in KParts::ReadOnlyPart::openUrl(KUrl const&) () at /usr/lib64/libkparts.so.4
#11 0x00007fdfcedb257e in KateDocument::openUrl(KUrl const&) () at /usr/lib64/libkatepartinterfaces.so.4
#12 0x00007fdfd4ac0dff in  () at /usr/lib64/libkateinterfaces.so.4
#13 0x00007fdfd4ac116c in  () at /usr/lib64/libkateinterfaces.so.4
#14 0x00007fdfd4acf5a1 in  () at /usr/lib64/libkateinterfaces.so.4
#15 0x00007fdfd4ab99a9 in KateApp::startupKate() () at /usr/lib64/libkateinterfaces.so.4
#16 0x00007fdfd4aba625 in KateApp::initKate() () at /usr/lib64/libkateinterfaces.so.4
#17 0x00007fdfd4aba7f0 in KateApp::KateApp(KCmdLineArgs*) () at /usr/lib64/libkateinterfaces.so.4
#18 0x00007fdfd4d14abc in kdemain () at /usr/lib64/libkdeinit4_kate.so
#19 0x0000000000408815 in _start ()

Possible duplicates by query: bug 315690.

Reported using DrKonqi
Comment 1 Dominik Haumann 2014-11-14 20:11:36 UTC
@Tigran: Did you upgrade KDE and maybe not restart KDE? Or do you run kate or KDE very long (say 1-2 weeks) without rebooting?

We once had a report similar to this one in bug #315690, but since we cannot reproduce, it looks like an installation issue. Could you try updating to KDE 4.14.3 and report back again?

*** This bug has been marked as a duplicate of bug 315690 ***
Comment 2 Christoph Feck 2014-11-19 20:52:57 UTC
*** Bug 341097 has been marked as a duplicate of this bug. ***
Comment 3 Christoph Feck 2014-11-19 20:54:53 UTC
Are you using BTRFS (default on fresh openSUSE 13.2 installations)? It could be related to bug 340657, if KSycoca uses mmap for the configuration cache.
Comment 4 982253119 2014-11-20 13:50:40 UTC
Created attachment 89650 [details]
New crash information added by DrKonqi

kate (3.14.2) on KDE Platform 4.14.2 using Qt 4.8.6

- What I was doing when the application crashed:

There are some useful information. I hope it could provide more information to deal with the Kate crashing.

-- Backtrace (Reduced):
#5  0x00007f56b6659c81 in KSycocaEntry::name() const () at /usr/lib64/libkdecore.so.5
#6  0x00007f569bdbc79f in Kate::TextBuffer::load(QString const&, bool&, bool&, bool) () at /usr/lib64/libkatepartinterfaces.so.4
#7  0x00007f569be2dfce in KateBuffer::openFile(QString const&, bool) () at /usr/lib64/libkatepartinterfaces.so.4
#8  0x00007f569be23502 in KateDocument::openFile() () at /usr/lib64/libkatepartinterfaces.so.4
#9  0x00007f56ab4e70b7 in  () at /usr/lib64/libkparts.so.4
Comment 5 Christoph Feck 2014-12-13 00:30:21 UTC
*** Bug 341824 has been marked as a duplicate of this bug. ***
Comment 6 andrepontes 2014-12-13 14:04:21 UTC
Yes, I'm using Btrfs.
But the problem only occurs when opening non UTF-file. 

this attachment https://bugs.kde.org/attachment.cgi?id=89943 can be used to reproduce. This is a non UTF encoding small text file. Do file save from browser, then try to open it on kwrite.