Bug 341680 - Kate, Kwrite crashs on startup, also on blank files
Summary: Kate, Kwrite crashs on startup, also on blank files
Status: RESOLVED DUPLICATE of bug 265188
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 3.14.2
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: drkonqi, needs_verification, testcase
: 342286 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-12-08 22:55 UTC by Felipe Gustavo de Oliveira
Modified: 2015-09-08 03:42 UTC (History)
7 users (show)

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


Attachments
Files for test - UTF8 (19.81 KB, text/plain)
2014-12-09 22:45 UTC, Felipe Gustavo de Oliveira
Details
Files for test - ANSI Latin (19.77 KB, text/plain)
2014-12-09 22:46 UTC, Felipe Gustavo de Oliveira
Details
Test cases in a .zip - a UTF-8 file and the equivalent latin1 file (380 bytes, application/zip)
2014-12-11 13:42 UTC, Shlomi Fish
Details
Blank file - that is crashing kate/plasma/kwrite (2 bytes, text/plain)
2015-01-14 21:53 UTC, Felipe Gustavo de Oliveira
Details
New crash information added by DrKonqi (4.85 KB, text/plain)
2015-02-10 17:44 UTC, tonio.castro
Details
New crash information added by DrKonqi (3.50 KB, text/plain)
2015-09-08 03:42 UTC, Igor A. Shmakov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Felipe Gustavo de Oliveira 2014-12-08 22:55:53 UTC
Application: kate (3.14.2)
KDE Platform Version: 4.14.2
Qt Version: 4.8.6
Operating System: Linux 3.17.3 x86_64
Distribution: Debian GNU/Linux 8.0 (jessie)

-- Information about the crash:
Kate and Kwrite crashs everytime on startup, even on starting it from open menu in blank files or any other file created.

When starting both from running a command, or clicking at it icon, the programs works ok. Also its possible open any file through program menu.

Opening files that crashs those programs in Libreoffice or non-qt based text editors dont crash applications.

The crash can be reproduced every time.

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f86a49a4780 (LWP 4941))]

Thread 2 (Thread 0x7f868fa57700 (LWP 5203)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f869110aafa in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f869110ab29 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f86a185a0a4 in start_thread (arg=0x7f868fa57700) at pthread_create.c:309
#4  0x00007f86a4303ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f86a49a4780 (LWP 4941)):
[KCrash Handler]
#6  d_func (this=0x0) at ../../kdecore/sycoca/ksycocaentry.h:154
#7  KSycocaEntry::name (this=0x0) at ../../kdecore/sycoca/ksycocaentry.cpp:159
#8  0x00007f869171e7d2 in TextLoader (proberType=<optimized out>, filename=..., this=0x7fff09b0b830) at ../../part/buffer/katetextloader.h:72
#9  Kate::TextBuffer::load (this=0x2190220, filename=..., encodingErrors=@0x21902e8: false, tooLongLinesWrapped=@0x21902e9: false, enforceTextCodec=false) at ../../part/buffer/katetextbuffer.cpp:529
#10 0x00007f869179749e in KateBuffer::openFile (this=0x2190220, m_file=..., enforceTextCodec=enforceTextCodec@entry=false) at ../../part/document/katebuffer.cpp:214
#11 0x00007f869178cb3f in KateDocument::openFile (this=0x22cbfe0) at ../../part/document/katedocument.cpp:1970
#12 0x00007f869e6fe72a in KParts::ReadOnlyPartPrivate::openLocalFile (this=this@entry=0x218f240) at ../../kparts/part.cpp:591
#13 0x00007f869e700b66 in KParts::ReadOnlyPart::openUrl (this=this@entry=0x22cbfe0, url=...) at ../../kparts/part.cpp:555
#14 0x00007f8691777dde in KateDocument::openUrl (this=0x22cbfe0, url=...) at ../../part/document/katedocument.cpp:2332
#15 0x00007f8691782465 in KateDocument::readParameterizedSessionConfig (this=0x22cbfe0, kconfig=..., configParameters=0) at ../../part/document/katedocument.cpp:1564
#16 0x00007f86a2df0d54 in KateDocManager::loadMetaInfos (this=0x21bea90, doc=0x22cbfe0, url=...) at ../../../kate/app/katedocmanager.cpp:657
#17 0x00007f86a2df0fa4 in KateDocManager::openUrl (this=this@entry=0x21bea90, url=..., encoding=..., isTempFile=isTempFile@entry=false, docInfo=...) at ../../../kate/app/katedocmanager.cpp:252
#18 0x00007f86a2df14ec in KateDocManager::openUrls (this=0x21bea90, urls=..., encoding=..., isTempFile=isTempFile@entry=false, docInfo=...) at ../../../kate/app/katedocmanager.cpp:228
#19 0x00007f86a2e00971 in KateViewManager::openUrls (this=0x2391610, urls=..., encoding=..., isTempFile=isTempFile@entry=false, docInfo=...) at ../../../kate/app/kateviewmanager.cpp:337
#20 0x00007f86a2de8f29 in KateApp::startupKate (this=0x7fff09b0c4b0) at ../../../kate/app/kateapp.cpp:225
#21 0x00007f86a2de9e35 in KateApp::initKate (this=this@entry=0x7fff09b0c4b0) at ../../../kate/app/kateapp.cpp:135
#22 0x00007f86a2dea230 in KateApp::KateApp (this=0x7fff09b0c4b0, args=<optimized out>) at ../../../kate/app/kateapp.cpp:72
#23 0x00007f86a45cc7fc in kdemain (argc=162576400, argv=0x0) at ../../../kate/app/katemain.cpp:377
#24 0x00007f86a423fb45 in __libc_start_main (main=0x4006d0 <main(int, char**)>, argc=3, argv=0x7fff09b0c638, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff09b0c628) at libc-start.c:287
#25 0x00000000004006fe in _start ()

Possible duplicates by query: bug 315690.

Reported using DrKonqi
Comment 1 Mikhail Ivchenko 2014-12-09 12:41:06 UTC
Hello. Please, try to open any of files from console (using "kate filename", where filename is name of file to open) and check if it works.
Comment 2 Felipe Gustavo de Oliveira 2014-12-09 14:45:37 UTC
(In reply to Mihail Ivchenko from comment #1)
> Hello. Please, try to open any of files from console (using "kate filename",
> where filename is name of file to open) and check if it works.

Using console it works. Using Alt+F2 launcher too.

nemesis@midgard:~$ kate ~/Desktop/supervisão.txt 
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
kate(31102)/kate-filetree KateFileTreePluginView::KateFileTreePluginView: BEGIN: mw: Kate::MainWindow(0x1a6bcf0)
kate(31102)/kate-filetree ProxyItem::ProxyItem: ProxyItem(0x1d8f690,0x0,-1,QObject(0x0) ,"m_root")
kate(31102)/kate-filetree ProxyItem::ProxyItem: ProxyItem(0x1d8f9c0,0x0,-1,QObject(0x0) ,"Sem título")
kate(31102)/kate-filetree KateFileTreeModel::documentOpened: before add: ProxyItem(0x1d8f9c0,0x0,-1,KateDocument(0x1aee360) , "Sem título" )
kate(31102)/kate-filetree KateFileTreeModel::setupIcon: BEGIN!
kate(31102)/kate-filetree KateFileTreeModel::setupIcon: END!
kate(31102)/kate-filetree KateFileTreeModel::handleInsert: BEGIN!
kate(31102)/kate-filetree KateFileTreeModel::handleInsert: empty item
kate(31102)/kate-filetree ProxyItem::addChild: added ProxyItem(0x1d8f9c0,0x1d8f690,0,KateDocument(0x1aee360) , "Sem título" )   to ProxyItemDir(0x1d8f690,0x0,-1,"m_root", children:1)
kate(31102)/kate-filetree KateFileTreeModel::documentOpened: after add: ProxyItem(0x1d8f9c0,0x1d8f690,0,KateDocument(0x1aee360) , "Sem título" )
kate(31102)/kate-filetree KateFileTreeProxyModel::KateFileTreeProxyModel: BEGIN!
kate(31102)/kate-filetree KateFileTreePluginView::setListMode: BEGIN
kate(31102)/kate-filetree KateFileTreePluginView::setListMode: treeMode
kate(31102)/kate-filetree KateFileTreePluginView::setListMode: END
kate(31102)/kate-filetree KateFileTreePluginView::viewChanged: BEGIN!
kate(31102)/kate-filetree KateFileTreePluginView::viewChanged: BEGIN!
kate(31102)/kate-filetree KateFileTreeProxyModel::docIndex: !
kate(31102)/kate-filetree KateFileTreeModel::docIndex: BEGIN!
kate(31102)/kate-filetree KateFileTreeModel::docIndex: END!
kate(31102)/kate-filetree KateFileTreePluginView::viewChanged: selected doc= KateDocument(0x1aee360) QModelIndex(0,0,0x1d907e0,KateFileTreeProxyModel(0x1c173d0) )
kate(31102)/kate-filetree KateFileTreePluginView::viewChanged: display= "Sem título"
kate(31102)/kate-filetree KateFileTreeModel::documentActivated: BEGIN!
kate(31102)/kate-filetree KateFileTreeModel::documentActivated: adding viewHistory ProxyItem(0x1d8f9c0,0x1d8f690,0,KateDocument(0x1aee360) , "Sem título" )
kate(31102)/kate-filetree KateFileTreeModel::updateBackgrounds: BEGIN!
kate(31102)/kate-filetree KateFileTreeModel::updateBackgrounds: m_editHistory contains  0  elements
kate(31102)/kate-filetree KateFileTreeModel::updateBackgrounds: END!
kate(31102)/kate-filetree KateFileTreeModel::documentActivated: END!
kate(31102)/kate-filetree KateFileTree::slotCurrentChanged: current: QModelIndex(0,0,0x1d907e0,KateFileTreeProxyModel(0x1c173d0) )  previous: QModelIndex(-1,-1,0x0,QObject(0x0) )
kate(31102)/kate-filetree KateFileTree::slotCurrentChanged: got doc, setting prev: QModelIndex(0,0,0x1d907e0,KateFileTreeProxyModel(0x1c173d0) )
kate(31102)/kate-filetree KateFileTreePluginView::viewChanged: END!
kate(31102)/kate-filetree KateFileTreeModel::documentNameChanged: BEGIN!
kate(31102)/kate-filetree KateFileTreeModel::documentNameChanged: change to unnamed item
kate(31102)/kate-filetree KateFileTreeModel::documentNameChanged: ProxyItem(0x1d8f9c0,0x1d8f690,0,KateDocument(0x1aee360) , "Sem título" )
kate(31102)/kate-filetree KateFileTreeModel::documentNameChanged: "Sem título" -> "Sem título"
kate(31102)/kate-filetree KateFileTreeModel::documentNameChanged: removing brush ProxyItem(0x1d8f9c0,0x1d8f690,0,KateDocument(0x1aee360) , "Sem título" )
kate(31102)/kate-filetree KateFileTreeModel::documentNameChanged: removing/replacing view history ProxyItem(0x1d8f9c0,0x1d8f690,0,KateDocument(0x1aee360) , "Sem título" )
kate(31102)/kate-filetree KateFileTreeModel::handleNameChange: BEGIN!
kate(31102)/kate-filetree KateFileTreeModel::handleNameChange: bogus name change
kate(31102)/kate-filetree KateFileTreePluginView::viewChanged: BEGIN!
kate(31102)/kate-filetree KateFileTreeProxyModel::docIndex: !
kate(31102)/kate-filetree KateFileTreeModel::docIndex: BEGIN!
kate(31102)/kate-filetree KateFileTreeModel::docIndex: END!
kate(31102)/kate-filetree KateFileTreePluginView::viewChanged: selected doc= KateDocument(0x1aee360) QModelIndex(0,0,0x1d907e0,KateFileTreeProxyModel(0x1c173d0) )
kate(31102)/kate-filetree KateFileTreePluginView::viewChanged: display= "Sem título"
kate(31102)/kate-filetree KateFileTreeModel::documentActivated: BEGIN!
kate(31102)/kate-filetree KateFileTreeModel::documentActivated: adding viewHistory ProxyItem(0x1d8f9c0,0x1d8f690,0,KateDocument(0x1aee360) , "Sem título" )
kate(31102)/kate-filetree KateFileTreeModel::updateBackgrounds: BEGIN!
kate(31102)/kate-filetree KateFileTreeModel::updateBackgrounds: m_editHistory contains  0  elements
kate(31102)/kate-filetree KateFileTreeModel::updateBackgrounds: END!
kate(31102)/kate-filetree KateFileTreeModel::documentActivated: END!
kate(31102)/kate-filetree KateFileTreePluginView::viewChanged: END!
kate(31102)/kate-filetree KateFileTreeModel::documentNameChanged: END!
kate(31102) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.VAR_VENDOR_NAME.VAR_PRODUCT_NAME-dwg" 
kate(31102) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.VAR_VENDOR_NAME.VAR_PRODUCT_NAME-dxf" 
kate(31102)/kate-filetree KateFileTreeModel::documentNameChanged: BEGIN!
kate(31102)/kate-filetree KateFileTreeModel::documentNameChanged: ProxyItem(0x1d8f9c0,0x1d8f690,0,KateDocument(0x1aee360) , "Sem título" )
kate(31102)/kate-filetree KateFileTreeModel::documentNameChanged: "Sem título" -> "/home/nemesis/Desktop/supervisão.txt"
kate(31102)/kate-filetree KateFileTreeModel::documentNameChanged: removing brush ProxyItem(0x1d8f9c0,0x1d8f690,0,KateDocument(0x1aee360) , "Sem título" )
kate(31102)/kate-filetree KateFileTreeModel::documentNameChanged: removing/replacing view history ProxyItem(0x1d8f9c0,0x1d8f690,0,KateDocument(0x1aee360) , "Sem título" )
kate(31102)/kate-filetree KateFileTreeModel::handleNameChange: BEGIN!
kate(31102)/kate-filetree KateFileTreeModel::handleNameChange: removing ProxyItem(0x1d8f9c0,0x1d8f690,0,KateDocument(0x1aee360) , "/home/nemesis/Desktop/supervisão.txt" )   from ProxyItemDir(0x1d8f690,0x0,-1,"m_root", children:1)
kate(31102)/kate-filetree KateFileTree::slotCurrentChanged: current: QModelIndex(-1,-1,0x0,QObject(0x0) ) previous: QModelIndex(0,0,0x1d907e0,KateFileTreeProxyModel(0x1c173d0) )
kate(31102)/kate-filetree ProxyItem::remChild: remove ProxyItem(0x1d8f9c0,0x1d8f690,0,KateDocument(0x1aee360) , "/home/nemesis/Desktop/supervisão.txt" )   from ProxyItemDir(0x1d8f690,0x0,-1,"m_root", children:1)
kate(31102)/kate-filetree KateFileTreeModel::handleEmptyParents: BEGIN!
kate(31102)/kate-filetree KateFileTreeModel::handleEmptyParents: parent ProxyItemDir(0x1d8f690,0x0,-1,"m_root", children:0) grandparentProxyItemDir(0x0)
kate(31102)/kate-filetree KateFileTreeModel::setupIcon: BEGIN!
kate(31102)/kate-filetree KateFileTreeModel::setupIcon: END!
kate(31102)/kate-filetree KateFileTreeModel::handleNameChange: inserting ProxyItem(0x1d8f9c0,0x0,0,KateDocument(0x1aee360) , "/home/nemesis/Desktop/supervisão.txt" )
kate(31102)/kate-filetree KateFileTreeModel::handleInsert: BEGIN!
kate(31102)/kate-filetree KateFileTreeModel::handleInsert: creating a new root
kate(31102)/kate-filetree ProxyItem::ProxyItem: ProxyItem(0x2042400,0x0,-1,QObject(0x0) ,"/home/nemesis/Desktop")
kate(31102)/kate-filetree KateFileTreeModel::handleInsert: add ProxyItemDir(0x2042400,0x0,-1,"/home/nemesis/Desktop", children:0) to m_root
kate(31102)/kate-filetree ProxyItem::addChild: added ProxyItem(0x2042400,0x1d8f690,0,QObject(0x0) ,"/home/nemesis/Desktop") toProxyItemDir(0x1d8f690,0x0,-1,"m_root", children:1)
kate(31102)/kate-filetree KateFileTreeModel::handleInsert: attempting to merge some existing roots
kate(31102)/kate-filetree KateFileTreeModel::handleInsert: adding ProxyItem(0x1d8f9c0,0x0,0,KateDocument(0x1aee360) , "/home/nemesis/Desktop/supervisão.txt" )   to ProxyItemDir(0x2042400,0x1d8f690,0,"/home/nemesis/Desktop", children:0)
kate(31102)/kate-filetree ProxyItem::addChild: added ProxyItem(0x1d8f9c0,0x2042400,0,KateDocument(0x1aee360) , "/home/nemesis/Desktop/supervisão.txt" )   to ProxyItemDir(0x2042400,0x1d8f690,0,"/home/nemesis/Desktop", children:1)
kate(31102)/kate-filetree KateFileTreeModel::handleInsert: END!
kate(31102)/kate-filetree KateFileTreeModel::handleNameChange: END!
kate(31102)/kate-filetree KateFileTreePluginView::viewChanged: BEGIN!
kate(31102)/kate-filetree KateFileTreeProxyModel::docIndex: !
kate(31102)/kate-filetree KateFileTreeModel::docIndex: BEGIN!
kate(31102)/kate-filetree KateFileTreeModel::docIndex: END!
kate(31102)/kate-filetree KateFileTreePluginView::viewChanged: selected doc= KateDocument(0x1aee360) QModelIndex(0,0,0x2033400,KateFileTreeProxyModel(0x1c173d0) )
kate(31102)/kate-filetree KateFileTreePluginView::viewChanged: display= "supervisão.txt"
kate(31102)/kate-filetree KateFileTreeModel::documentActivated: BEGIN!
kate(31102)/kate-filetree KateFileTreeModel::documentActivated: adding viewHistory ProxyItem(0x1d8f9c0,0x2042400,0,KateDocument(0x1aee360) , "/home/nemesis/Desktop/supervisão.txt" )
kate(31102)/kate-filetree KateFileTreeModel::updateBackgrounds: BEGIN!
kate(31102)/kate-filetree KateFileTreeModel::updateBackgrounds: m_editHistory contains  0  elements
kate(31102)/kate-filetree KateFileTreeModel::updateBackgrounds: END!
kate(31102)/kate-filetree KateFileTreeModel::documentActivated: END!
kate(31102)/kate-filetree KateFileTree::slotCurrentChanged: current: QModelIndex(0,0,0x2033400,KateFileTreeProxyModel(0x1c173d0) )  previous: QModelIndex(-1,-1,0x0,QObject(0x0) )
kate(31102)/kate-filetree KateFileTree::slotCurrentChanged: got doc, setting prev: QModelIndex(0,0,0x2033400,KateFileTreeProxyModel(0x1c173d0) )
kate(31102)/kate-filetree KateFileTreePluginView::viewChanged: END!
kate(31102)/kate-filetree KateFileTreeModel::documentNameChanged: END!
kate(31102)/kate-filetree KateFileTreeModel::documentNameChanged: BEGIN!
kate(31102)/kate-filetree KateFileTreeModel::documentNameChanged: ProxyItem(0x1d8f9c0,0x2042400,0,KateDocument(0x1aee360) , "/home/nemesis/Desktop/supervisão.txt" )
kate(31102)/kate-filetree KateFileTreeModel::documentNameChanged: "supervisão.txt" -> "/home/nemesis/Desktop/supervisão.txt"
kate(31102)/kate-filetree KateFileTreeModel::documentNameChanged: removing brush ProxyItem(0x1d8f9c0,0x2042400,0,KateDocument(0x1aee360) , "/home/nemesis/Desktop/supervisão.txt" )
kate(31102)/kate-filetree KateFileTreeModel::documentNameChanged: removing/replacing view history ProxyItem(0x1d8f9c0,0x2042400,0,KateDocument(0x1aee360) , "/home/nemesis/Desktop/supervisão.txt" )
kate(31102)/kate-filetree KateFileTreeModel::handleNameChange: BEGIN!
kate(31102)/kate-filetree KateFileTreeModel::handleNameChange: bogus name change
kate(31102)/kate-filetree KateFileTreePluginView::viewChanged: BEGIN!
kate(31102)/kate-filetree KateFileTreeProxyModel::docIndex: !
kate(31102)/kate-filetree KateFileTreeModel::docIndex: BEGIN!
kate(31102)/kate-filetree KateFileTreeModel::docIndex: END!
kate(31102)/kate-filetree KateFileTreePluginView::viewChanged: selected doc= KateDocument(0x1aee360) QModelIndex(0,0,0x2033400,KateFileTreeProxyModel(0x1c173d0) )
kate(31102)/kate-filetree KateFileTreePluginView::viewChanged: display= "supervisão.txt"
kate(31102)/kate-filetree KateFileTreeModel::documentActivated: BEGIN!
kate(31102)/kate-filetree KateFileTreeModel::documentActivated: adding viewHistory ProxyItem(0x1d8f9c0,0x2042400,0,KateDocument(0x1aee360) , "/home/nemesis/Desktop/supervisão.txt" )
kate(31102)/kate-filetree KateFileTreeModel::updateBackgrounds: BEGIN!
kate(31102)/kate-filetree KateFileTreeModel::updateBackgrounds: m_editHistory contains  0  elements
kate(31102)/kate-filetree KateFileTreeModel::updateBackgrounds: END!
kate(31102)/kate-filetree KateFileTreeModel::documentActivated: END!
kate(31102)/kate-filetree KateFileTreePluginView::viewChanged: END!
kate(31102)/kate-filetree KateFileTreeModel::documentNameChanged: END!
kate(31102)/kate-filetree KateFileTreePluginView::viewChanged: BEGIN!
kate(31102)/kate-filetree KateFileTreeProxyModel::docIndex: !
kate(31102)/kate-filetree KateFileTreeModel::docIndex: BEGIN!
kate(31102)/kate-filetree KateFileTreeModel::docIndex: END!
kate(31102)/kate-filetree KateFileTreePluginView::viewChanged: selected doc= KateDocument(0x1aee360) QModelIndex(0,0,0x2033400,KateFileTreeProxyModel(0x1c173d0) )
kate(31102)/kate-filetree KateFileTreePluginView::viewChanged: display= "supervisão.txt"
kate(31102)/kate-filetree KateFileTreeModel::documentActivated: BEGIN!
kate(31102)/kate-filetree KateFileTreeModel::documentActivated: adding viewHistory ProxyItem(0x1d8f9c0,0x2042400,0,KateDocument(0x1aee360) , "/home/nemesis/Desktop/supervisão.txt" )
kate(31102)/kate-filetree KateFileTreeModel::updateBackgrounds: BEGIN!
kate(31102)/kate-filetree KateFileTreeModel::updateBackgrounds: m_editHistory contains  0  elements
kate(31102)/kate-filetree KateFileTreeModel::updateBackgrounds: END!
kate(31102)/kate-filetree KateFileTreeModel::documentActivated: END!
kate(31102)/kate-filetree KateFileTreePluginView::viewChanged: END!
kate(31102)/kate-filetree KateFileTreeModel::documentNameChanged: BEGIN!
kate(31102)/kate-filetree KateFileTreeModel::documentNameChanged: ProxyItem(0x1d8f9c0,0x2042400,0,KateDocument(0x1aee360) , "/home/nemesis/Desktop/supervisão.txt" )
kate(31102)/kate-filetree KateFileTreeModel::documentNameChanged: "supervisão.txt" -> "/home/nemesis/Desktop/supervisão.txt"
kate(31102)/kate-filetree KateFileTreeModel::documentNameChanged: removing brush ProxyItem(0x1d8f9c0,0x2042400,0,KateDocument(0x1aee360) , "/home/nemesis/Desktop/supervisão.txt" )
kate(31102)/kate-filetree KateFileTreeModel::documentNameChanged: removing/replacing view history ProxyItem(0x1d8f9c0,0x2042400,0,KateDocument(0x1aee360) , "/home/nemesis/Desktop/supervisão.txt" )
kate(31102)/kate-filetree KateFileTreeModel::handleNameChange: BEGIN!
kate(31102)/kate-filetree KateFileTreeModel::handleNameChange: bogus name change
kate(31102)/kate-filetree KateFileTreePluginView::viewChanged: BEGIN!
kate(31102)/kate-filetree KateFileTreeProxyModel::docIndex: !
kate(31102)/kate-filetree KateFileTreeModel::docIndex: BEGIN!
kate(31102)/kate-filetree KateFileTreeModel::docIndex: END!
kate(31102)/kate-filetree KateFileTreePluginView::viewChanged: selected doc= KateDocument(0x1aee360) QModelIndex(0,0,0x2033400,KateFileTreeProxyModel(0x1c173d0) )
kate(31102)/kate-filetree KateFileTreePluginView::viewChanged: display= "supervisão.txt"
kate(31102)/kate-filetree KateFileTreeModel::documentActivated: BEGIN!
kate(31102)/kate-filetree KateFileTreeModel::documentActivated: adding viewHistory ProxyItem(0x1d8f9c0,0x2042400,0,KateDocument(0x1aee360) , "/home/nemesis/Desktop/supervisão.txt" )
kate(31102)/kate-filetree KateFileTreeModel::updateBackgrounds: BEGIN!
kate(31102)/kate-filetree KateFileTreeModel::updateBackgrounds: m_editHistory contains  0  elements
kate(31102)/kate-filetree KateFileTreeModel::updateBackgrounds: END!
kate(31102)/kate-filetree KateFileTreeModel::documentActivated: END!
kate(31102)/kate-filetree KateFileTreePluginView::viewChanged: END!
kate(31102)/kate-filetree KateFileTreeModel::documentNameChanged: END!
kate(31102)/kate-filetree KateFileTreePluginView::viewChanged: BEGIN!
kate(31102)/kate-filetree KateFileTreeProxyModel::docIndex: !
kate(31102)/kate-filetree KateFileTreeModel::docIndex: BEGIN!
kate(31102)/kate-filetree KateFileTreeModel::docIndex: END!
kate(31102)/kate-filetree KateFileTreePluginView::viewChanged: selected doc= KateDocument(0x1aee360) QModelIndex(0,0,0x2033400,KateFileTreeProxyModel(0x1c173d0) )
kate(31102)/kate-filetree KateFileTreePluginView::viewChanged: display= "supervisão.txt"
kate(31102)/kate-filetree KateFileTreeModel::documentActivated: BEGIN!
kate(31102)/kate-filetree KateFileTreeModel::documentActivated: adding viewHistory ProxyItem(0x1d8f9c0,0x2042400,0,KateDocument(0x1aee360) , "/home/nemesis/Desktop/supervisão.txt" )
kate(31102)/kate-filetree KateFileTreeModel::updateBackgrounds: BEGIN!
kate(31102)/kate-filetree KateFileTreeModel::updateBackgrounds: m_editHistory contains  0  elements
kate(31102)/kate-filetree KateFileTreeModel::updateBackgrounds: END!
kate(31102)/kate-filetree KateFileTreeModel::documentActivated: END!
kate(31102)/kate-filetree KateFileTreePluginView::viewChanged: END!
Comment 3 Myriam Schweingruber 2014-12-09 19:43:57 UTC
Looks like a shaky KDE installation, I can't reproduce this here on Kubuntu 14.10 at all, same version (3.14.2). See also bug 315690, same crash, also not reproducible.
Comment 4 Felipe Gustavo de Oliveira 2014-12-09 22:45:23 UTC
Created attachment 89895 [details]
Files for test - UTF8
Comment 5 Felipe Gustavo de Oliveira 2014-12-09 22:46:12 UTC
Created attachment 89896 [details]
Files for test - ANSI Latin
Comment 6 Felipe Gustavo de Oliveira 2014-12-09 22:48:33 UTC
I have tested te reproduction of this bug.

Looks it only happens when trying to open ANSI Latin coded files.

Files coded in UTF-8 don'tmake kwrite, kate crash.
Comment 7 Shlomi Fish 2014-12-11 13:42:32 UTC
Created attachment 89919 [details]
Test cases in a .zip - a UTF-8 file and the equivalent latin1 file

kate does not crash when opening either of these files here (or the files that you've given even after running «iconv -f utf-8 -t iso8859-1 TEST-ANSI-LATIN.txt  > t.txt»). I'm using KDE platform version 4.14.3 with kate-4.14.3-1.mga5 on Mageia Linux Cauldron.
Comment 8 Felipe Gustavo de Oliveira 2014-12-13 00:49:52 UTC
Did a complete KDE wipe (purge) and did a new kde instalation throught # apt-get kde-plasma-desktop kde-baseapps...

Bug still happens, and still didnt find a solution...

Currently using: KDE 4.14.2 QT 4.8.6, Linux Kerel 3.18.0 (git)

I ll do some more tasks trying to address the motive of kate/kwrite crashing on my system.
Comment 9 Shlomi Fish 2014-12-13 11:22:05 UTC
(In reply to Felipe Gustavo de Oliveira from comment #8)
> Did a complete KDE wipe (purge) and did a new kde instalation throught #
> apt-get kde-plasma-desktop kde-baseapps...
> 
> Bug still happens, and still didnt find a solution...
> 
> Currently using: KDE 4.14.2 QT 4.8.6, Linux Kerel 3.18.0 (git)
> 
> I ll do some more tasks trying to address the motive of kate/kwrite crashing
> on my system.

I installed Kate on my Debian Testing VM and it runs fine there. A few questions:

1. Does it happen in a new UNIX user account?

2. Which hardware do you have?

3. Does it happen on JWM, XFCE or LXDE?

Regards,

-- Shlomi Fish
Comment 10 Felipe Gustavo de Oliveira 2014-12-21 20:36:15 UTC
Shlomi, thanks for reply and sorry for delay.

Yes, it still crashing with new created users.

Yes, it crashs on other non-kde enviroments, like xfce and lxde, kwrite crashs too.

Opening files with Leafpad didnt crashed it.

The strange its, that this bug only happens with blank and non utf-8 files, even trying opening file properties causes plasma to crash, on any other DE the properties tab dun crash it.

My hardware its:

Asus M4A88TD-Evo
AMD Phenom ll x6 1090T @ 3400mHz
Corsair Vegeance 2x2GiB@ 1800 mHz
XFX ATI Radeon 5750
500GB Seagate Barracuda 7200
Comment 11 Felipe Gustavo de Oliveira 2014-12-22 02:44:42 UTC
Well,

After 2 weeks fighting against this bug, i decided do a entire system cleaning and a fresh Debian/Jessie reinstall.

With new install this bug wont happen anymore, so i'm marking it as Resolved/Invalid

Thanks for the help.
Comment 12 Shlomi Fish 2014-12-22 06:32:55 UTC
(In reply to Felipe Gustavo de Oliveira from comment #11)
> Well,
> 
> After 2 weeks fighting against this bug, i decided do a entire system
> cleaning and a fresh Debian/Jessie reinstall.
> 
> With new install this bug wont happen anymore, so i'm marking it as
> Resolved/Invalid
> 
> Thanks for the help.

You're welcome, and sorry we could not find the root of the problem.

Regards,

-- Shlomi Fish
Comment 13 Christoph Feck 2015-01-14 17:27:16 UTC
*** Bug 342286 has been marked as a duplicate of this bug. ***
Comment 14 Felipe Gustavo de Oliveira 2015-01-14 21:53:19 UTC
Created attachment 90410 [details]
Blank file - that is crashing kate/plasma/kwrite
Comment 15 Felipe Gustavo de Oliveira 2015-01-14 21:54:04 UTC
I would reopen this bug, because it started to happen on my fresh install after last dist-upgrade, while trying to open Blank files. Unicode and Latin are ok.

Also when trying get properties of new created txt blank file, entire plasma crash.

Above its the backtrace of plasma crash:

--------------
Application: Shell da área de trabalho do Plasma (plasma-desktop), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fada418b800 (LWP 25804))]

Thread 4 (Thread 0x7fad761f3700 (LWP 25807)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fad9cb89afa in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007fad9cb89b29 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007fad973b80a4 in start_thread (arg=0x7fad761f3700) at pthread_create.c:309
#4  0x00007fada3a81ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7facee138700 (LWP 25830)):
#0  0x00007fada3a7918d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fad96a94ee4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fad96a94ffc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fada053d507 in QEventDispatcherGlib::processEvents (this=0x7face80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fada050cae1 in QEventLoop::processEvents (this=this@entry=0x7facee137d80, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fada050ce45 in QEventLoop::exec (this=this@entry=0x7facee137d80, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fada0401b89 in QThread::exec (this=this@entry=0x28ce950) at thread/qthread.cpp:538
#7  0x00007fada04ed483 in QInotifyFileSystemWatcherEngine::run (this=0x28ce950) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007fada04043ef in QThreadPrivate::start (arg=0x28ce950) at thread/qthread_unix.cpp:349
#9  0x00007fad973b80a4 in start_thread (arg=0x7facee138700) at pthread_create.c:309
#10 0x00007fada3a81ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7facec8af700 (LWP 25835)):
#0  0x00007fada3a7af33 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fada04e9c0f in QProcessManager::run (this=0x7fada08765e0 <processManager()::processManager>) at io/qprocess_unix.cpp:270
#2  0x00007fada04043ef in QThreadPrivate::start (arg=0x7fada08765e0 <processManager()::processManager>) at thread/qthread_unix.cpp:349
#3  0x00007fad973b80a4 in start_thread (arg=0x7facec8af700) at pthread_create.c:309
#4  0x00007fada3a81ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fada418b800 (LWP 25804)):
[KCrash Handler]
#6  d_func (this=0x0) at ../../kdecore/sycoca/ksycocaentry.h:154
#7  KSycocaEntry::name (this=0x0) at ../../kdecore/sycoca/ksycocaentry.cpp:159
#8  0x00007fada31b4c9f in KDEPrivate::KFilePropsPlugin::KFilePropsPlugin (this=0x4716ca0, _props=0x0) at ../../kio/kfile/kpropertiesdialog.cpp:744
#9  0x00007fada31bdc2f in KPropertiesDialog::KPropertiesDialogPrivate::insertPages (this=this@entry=0x4644850) at ../../kio/kfile/kpropertiesdialog.cpp:500
#10 0x00007fada31be26d in KPropertiesDialog::KPropertiesDialogPrivate::init (this=0x4644850) at ../../kio/kfile/kpropertiesdialog.cpp:356
#11 0x00007fada31be4bf in KPropertiesDialog::KPropertiesDialog (this=0x461aef0, item=..., parent=<optimized out>) at ../../kio/kfile/kpropertiesdialog.cpp:228
#12 0x00007fada31be51d in KPropertiesDialog::showDialog (item=..., parent=parent@entry=0x2318620, modal=modal@entry=false) at ../../kio/kfile/kpropertiesdialog.cpp:300
#13 0x00007fada31bed3e in KPropertiesDialog::showDialog (_items=..., parent=0x2318620, modal=<optimized out>) at ../../kio/kfile/kpropertiesdialog.cpp:336
#14 0x00007fad80a4cac3 in ?? () from /usr/lib/libkonq.so.5abi1
#15 0x00007fada0522f4c in QMetaObject::activate (sender=sender@entry=0x4594b00, m=m@entry=0x7fada034b940 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff42934980) at kernel/qobject.cpp:3567
#16 0x00007fad9f85baf2 in QAction::triggered (this=this@entry=0x4594b00, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
#17 0x00007fad9f85d677 in QAction::activate (this=this@entry=0x4594b00, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257
#18 0x00007fad9fcb0ead in QMenuPrivate::activateCausedStack (this=this@entry=0x45e04b0, causedStack=..., action=action@entry=0x4594b00, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1037
#19 0x00007fad9fcb5869 in QMenuPrivate::activateAction (this=0x45e04b0, action=0x4594b00, action_e=QAction::Trigger, self=<optimized out>) at widgets/qmenu.cpp:1129
#20 0x00007fad9f8b54d8 in QWidget::event (this=0x454aef0, event=0x7fff42935030) at kernel/qwidget.cpp:8775
#21 0x00007fad9fcb983b in QMenu::event (this=0x454aef0, e=0x7fff42935030) at widgets/qmenu.cpp:2480
#22 0x00007fad9f86229c in QApplicationPrivate::notify_helper (this=this@entry=0x1cc0810, receiver=receiver@entry=0x454aef0, e=e@entry=0x7fff42935030) at kernel/qapplication.cpp:4570
#23 0x00007fad9f868f0f in QApplication::notify (this=this@entry=0x1c9d600, receiver=receiver@entry=0x454aef0, e=e@entry=0x7fff42935030) at kernel/qapplication.cpp:4113
#24 0x00007fada12322ca in KApplication::notify (this=0x1c9d600, receiver=0x454aef0, event=0x7fff42935030) at ../../kdeui/kernel/kapplication.cpp:311
#25 0x00007fada050df8d in QCoreApplication::notifyInternal (this=0x1c9d600, receiver=receiver@entry=0x454aef0, event=event@entry=0x7fff42935030) at kernel/qcoreapplication.cpp:955
#26 0x00007fad9f86856f in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#27 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x454aef0, event=event@entry=0x7fff42935030, alienWidget=alienWidget@entry=0x0, nativeWidget=nativeWidget@entry=0x454aef0, buttonDown=buttonDown@entry=0x7fada0384538 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3178
#28 0x00007fad9f8df43a in QETWidget::translateMouseEvent (this=this@entry=0x454aef0, event=event@entry=0x7fff42935360) at kernel/qapplication_x11.cpp:4474
#29 0x00007fad9f8dda9c in QApplication::x11ProcessEvent (this=0x1c9d600, event=event@entry=0x7fff42935360) at kernel/qapplication_x11.cpp:3663
#30 0x00007fad9f906ad2 in x11EventSourceDispatch (s=0x1cceb70, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#31 0x00007fad96a94c5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007fad96a94f48 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007fad96a94ffc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007fada053d4ed in QEventDispatcherGlib::processEvents (this=0x1c39b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#35 0x00007fad9f906b96 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007fada050cae1 in QEventLoop::processEvents (this=this@entry=0x7fff42935750, flags=...) at kernel/qeventloop.cpp:149
#37 0x00007fada050ce45 in QEventLoop::exec (this=this@entry=0x7fff42935750, flags=...) at kernel/qeventloop.cpp:204
#38 0x00007fad9fcb8447 in QMenu::exec (this=<optimized out>, p=..., action=0x0) at widgets/qmenu.cpp:2124
#39 0x00007fad80ca79a6 in ?? () from /usr/lib/kde4/plasma_applet_folderview.so
#40 0x00007fad80ca7e19 in ?? () from /usr/lib/kde4/plasma_applet_folderview.so
#41 0x00007fad80ca7e60 in ?? () from /usr/lib/kde4/plasma_applet_folderview.so
#42 0x00007fad80ca7fc3 in ?? () from /usr/lib/kde4/plasma_applet_folderview.so
#43 0x00007fada0522f4c in QMetaObject::activate (sender=0x2081530, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff42935af0) at kernel/qobject.cpp:3567
#44 0x00007fad80caec17 in ?? () from /usr/lib/kde4/plasma_applet_folderview.so
#45 0x00007fad80cb8ec9 in ?? () from /usr/lib/kde4/plasma_applet_folderview.so
#46 0x00007fad9fe45c28 in QGraphicsItem::sceneEvent (this=0x2081540, event=0x7fff42935fb0) at graphicsview/qgraphicsitem.cpp:6725
#47 0x00007fad9fe6ee9b in QGraphicsScene::contextMenuEvent (this=<optimized out>, contextMenuEvent=0x7fff42935fb0) at graphicsview/qgraphicsscene.cpp:3617
#48 0x00007fad9fe8592c in QGraphicsScene::event (this=0x1dd2b50, event=0x7fff42935fb0) at graphicsview/qgraphicsscene.cpp:3412
#49 0x00007fad9f86229c in QApplicationPrivate::notify_helper (this=this@entry=0x1cc0810, receiver=receiver@entry=0x1dd2b50, e=e@entry=0x7fff42935fb0) at kernel/qapplication.cpp:4570
#50 0x00007fad9f868da8 in QApplication::notify (this=this@entry=0x1c9d600, receiver=receiver@entry=0x1dd2b50, e=e@entry=0x7fff42935fb0) at kernel/qapplication.cpp:4356
#51 0x00007fada12322ca in KApplication::notify (this=0x1c9d600, receiver=0x1dd2b50, event=0x7fff42935fb0) at ../../kdeui/kernel/kapplication.cpp:311
#52 0x00007fada050df8d in QCoreApplication::notifyInternal (this=0x1c9d600, receiver=0x1dd2b50, event=event@entry=0x7fff42935fb0) at kernel/qcoreapplication.cpp:955
#53 0x00007fad9fe9e827 in sendEvent (event=0x7fff42935fb0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#54 QGraphicsView::contextMenuEvent (this=0x2dec8f0, event=0x7fff429364f0) at graphicsview/qgraphicsview.cpp:2892
#55 0x00007fad9f8b54d8 in QWidget::event (this=0x2dec8f0, event=0x7fff429364f0) at kernel/qwidget.cpp:8775
#56 0x00007fad9fc760be in QFrame::event (this=0x2dec8f0, e=0x7fff429364f0) at widgets/qframe.cpp:557
#57 0x00007fad9fe9e2b1 in QGraphicsView::viewportEvent (this=0x2dec8f0, event=0x7fff429364f0) at graphicsview/qgraphicsview.cpp:2866
#58 0x00007fada050e0f6 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x1cc0810, receiver=receiver@entry=0x2318620, event=event@entry=0x7fff429364f0) at kernel/qcoreapplication.cpp:1065
#59 0x00007fad9f86227c in QApplicationPrivate::notify_helper (this=this@entry=0x1cc0810, receiver=receiver@entry=0x2318620, e=e@entry=0x7fff429364f0) at kernel/qapplication.cpp:4566
#60 0x00007fad9f86a657 in QApplication::notify (this=this@entry=0x1c9d600, receiver=receiver@entry=0x2318620, e=e@entry=0x7fff429364f0) at kernel/qapplication.cpp:4192
#61 0x00007fada12322ca in KApplication::notify (this=0x1c9d600, receiver=0x2318620, event=0x7fff429364f0) at ../../kdeui/kernel/kapplication.cpp:311
#62 0x00007fada050df8d in QCoreApplication::notifyInternal (this=0x1c9d600, receiver=receiver@entry=0x2318620, event=event@entry=0x7fff429364f0) at kernel/qcoreapplication.cpp:955
#63 0x00007fad9f8df111 in sendSpontaneousEvent (event=0x7fff429364f0, receiver=0x2318620) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#64 QETWidget::translateMouseEvent (this=this@entry=0x2dec8f0, event=event@entry=0x7fff42936820) at kernel/qapplication_x11.cpp:4545
#65 0x00007fad9f8dda9c in QApplication::x11ProcessEvent (this=0x1c9d600, event=event@entry=0x7fff42936820) at kernel/qapplication_x11.cpp:3663
#66 0x00007fad9f906ad2 in x11EventSourceDispatch (s=0x1cceb70, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#67 0x00007fad96a94c5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#68 0x00007fad96a94f48 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#69 0x00007fad96a94ffc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#70 0x00007fada053d4ed in QEventDispatcherGlib::processEvents (this=0x1c39b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#71 0x00007fad9f906b96 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#72 0x00007fada050cae1 in QEventLoop::processEvents (this=this@entry=0x7fff42936c00, flags=...) at kernel/qeventloop.cpp:149
#73 0x00007fada050ce45 in QEventLoop::exec (this=this@entry=0x7fff42936c00, flags=...) at kernel/qeventloop.cpp:204
#74 0x00007fada05128b9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1227
#75 0x00007fada3d854bd in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_plasma-desktop.so
#76 0x00007fada39bdb45 in __libc_start_main (main=0x4006f0, argc=1, argv=0x7fff42936e58, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff42936e48) at libc-start.c:287
#77 0x000000000040071e in _start ()


=== Backtrace of kate crash===

pplication: Kate (kate), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f08df7ca780 (LWP 19783))]

Thread 2 (Thread 0x7f08ca9dc700 (LWP 19784)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f08cc085afa in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f08cc085b29 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f08dc6760a4 in start_thread (arg=0x7f08ca9dc700) at pthread_create.c:309
#4  0x00007f08df11fccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f08df7ca780 (LWP 19783)):
[KCrash Handler]
#6  d_func (this=0x0) at ../../kdecore/sycoca/ksycocaentry.h:154
#7  KSycocaEntry::name (this=0x0) at ../../kdecore/sycoca/ksycocaentry.cpp:159
#8  0x00007f08cc6997d2 in TextLoader (proberType=<optimized out>, filename=..., this=0x7fffbb4c1db0) at ../../part/buffer/katetextloader.h:72
#9  Kate::TextBuffer::load (this=0x1ef0160, filename=..., encodingErrors=@0x1ef0228: false, tooLongLinesWrapped=@0x1ef0229: false, enforceTextCodec=false) at ../../part/buffer/katetextbuffer.cpp:529
#10 0x00007f08cc71249e in KateBuffer::openFile (this=0x1ef0160, m_file=..., enforceTextCodec=enforceTextCodec@entry=false) at ../../part/document/katebuffer.cpp:214
#11 0x00007f08cc707b3f in KateDocument::openFile (this=0x1efae60) at ../../part/document/katedocument.cpp:1970
#12 0x00007f08d951a72a in KParts::ReadOnlyPartPrivate::openLocalFile (this=this@entry=0x2060c00) at ../../kparts/part.cpp:591
#13 0x00007f08d951cb66 in KParts::ReadOnlyPart::openUrl (this=this@entry=0x1efae60, url=...) at ../../kparts/part.cpp:555
#14 0x00007f08cc6f2dde in KateDocument::openUrl (this=0x1efae60, url=...) at ../../part/document/katedocument.cpp:2332
#15 0x00007f08ddc0d047 in KateDocManager::openUrl (this=this@entry=0x1f1ea60, url=..., encoding=..., isTempFile=isTempFile@entry=false, docInfo=...) at ../../../kate/app/katedocmanager.cpp:253
#16 0x00007f08ddc0d4ec in KateDocManager::openUrls (this=0x1f1ea60, urls=..., encoding=..., isTempFile=isTempFile@entry=false, docInfo=...) at ../../../kate/app/katedocmanager.cpp:228
#17 0x00007f08ddc1c971 in KateViewManager::openUrls (this=0x20a8a60, urls=..., encoding=..., isTempFile=isTempFile@entry=false, docInfo=...) at ../../../kate/app/kateviewmanager.cpp:337
#18 0x00007f08ddc04f29 in KateApp::startupKate (this=0x7fffbb4c2890) at ../../../kate/app/kateapp.cpp:225
#19 0x00007f08ddc05e35 in KateApp::initKate (this=this@entry=0x7fffbb4c2890) at ../../../kate/app/kateapp.cpp:135
#20 0x00007f08ddc06230 in KateApp::KateApp (this=0x7fffbb4c2890, args=<optimized out>) at ../../../kate/app/kateapp.cpp:72
#21 0x00007f08df3e87fc in kdemain (argc=-1152639600, argv=0x0) at ../../../kate/app/katemain.cpp:377
#22 0x00007f08df05bb45 in __libc_start_main (main=0x4006d0 <main(int, char**)>, argc=3, argv=0x7fffbb4c2a18, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffbb4c2a08) at libc-start.c:287
#23 0x00000000004006fe in _start ()
Comment 16 tonio.castro 2015-02-10 17:44:19 UTC
Created attachment 91010 [details]
New crash information added by DrKonqi

kate (3.14.2) on KDE Platform 4.14.2 using Qt 4.8.6

Kate crash opening empty file from remote konqueror tab (ftp, fish)

-- Backtrace (Reduced):
#6  0x00007f9779fe5c41 in KSycocaEntry::name() const () from /usr/lib/libkdecore.so.5
#7  0x00007f97682167d2 in Kate::TextBuffer::load(QString const&, bool&, bool&, bool) () from /usr/lib/libkatepartinterfaces.so.4
#8  0x00007f976828f49e in KateBuffer::openFile(QString const&, bool) () from /usr/lib/libkatepartinterfaces.so.4
#9  0x00007f9768284b3f in KateDocument::openFile() () from /usr/lib/libkatepartinterfaces.so.4
[...]
#12 0x00007f9779f13152 in KJob::result(KJob*) () from /usr/lib/libkdecore.so.5
Comment 18 Christoph Cullmann 2015-07-24 16:22:33 UTC
Yep, that is a dupe and no Kate problem.

*** This bug has been marked as a duplicate of bug 265188 ***
Comment 19 Igor A. Shmakov 2015-09-08 03:42:35 UTC
Created attachment 94466 [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:
Creating blank txt files in dolphine, and then open in Kate.

-- Backtrace (Reduced):
#7  KSycocaEntry::name (this=0x0) at ../../kdecore/sycoca/ksycocaentry.cpp:159
#8  0x00007f6d81e017d2 in TextLoader (proberType=<optimized out>, filename=..., this=0x7ffeef83abe0) at ../../part/buffer/katetextloader.h:72
#9  Kate::TextBuffer::load (this=0x161bdf0, filename=..., encodingErrors=@0x161beb8: false, tooLongLinesWrapped=@0x161beb9: false, enforceTextCodec=false) at ../../part/buffer/katetextbuffer.cpp:529
#10 0x00007f6d81e7a49e in KateBuffer::openFile (this=0x161bdf0, m_file=..., enforceTextCodec=enforceTextCodec@entry=false) at ../../part/document/katebuffer.cpp:214
#11 0x00007f6d81e6fb3f in KateDocument::openFile (this=0x161b5a0) at ../../part/document/katedocument.cpp:1970