Created attachment 69249 [details] Backtrace I was opening a large XML file (128 MB) when Kate crashed. This is with KDE 4.7.4 on Qt4.4.7.4. Attaching backtrace.
Paste the backgtrace: Thread 1 (Thread 0xb4e88930 (LWP 22651)): [KCrash Handler] #7 hb_getAdvances (font=0x9f7afb8, glyphs=0xa9aa7784, numGlyphs=4096, advances=0xd9c59a84, flags=0) at text/qfontengine.cpp:108 #8 0xb61b50d1 in HB_OpenTypePosition (item=0xbfaa0040, availableGlyphs=4096, doLogClusters=1 '\001') at ../3rdparty/harfbuzz/src/harfbuzz-shaper.cpp:1207 #9 0xb61b869c in HB_BasicShape (shaper_item=0xbfaa0040) at ../3rdparty/harfbuzz/src/harfbuzz-shaper.cpp:575 #10 0xb61b9284 in HB_ShapeItem (shaper_item=0xbfaa0040) at ../3rdparty/harfbuzz/src/harfbuzz-shaper.cpp:1335 #11 0xb61b951b in qShapeItem (item=0xbfaa0040) at tools/qharfbuzz.cpp:120 #12 0xb6f49459 in QTextEngine::shapeTextWithHarfbuzz (this=0xa1e76e8, item=0) at text/qtextengine.cpp:1278 #13 0xb6f49cb4 in QTextEngine::shapeText (this=0xa1e76e8, item=0) at text/qtextengine.cpp:874 #14 0xb6f4a114 in QTextEngine::shape (this=0xa1e76e8, item=0) at text/qtextengine.cpp:1384 #15 0xb6f548d4 in QTextLine::layout_helper (this=0xbfaa08bc, maxGlyphs=2147483647) at text/qtextlayout.cpp:1874 #16 0xb6f55a70 in QTextLine::setLineWidth (this=0xbfaa08bc, width=<optimized out>) at text/qtextlayout.cpp:1649 #17 0xb3a73f67 in ?? () from /usr/lib/libkatepartinterfaces.so.4 #18 0xb3a79083 in ?? () from /usr/lib/libkatepartinterfaces.so.4 #19 0xb3a7a311 in ?? () from /usr/lib/libkatepartinterfaces.so.4 #20 0xb3ad253d in ?? () from /usr/lib/libkatepartinterfaces.so.4 #21 0xb3ad2d9d in ?? () from /usr/lib/libkatepartinterfaces.so.4 #22 0xb3ab9639 in KateView::updateView(bool) () from /usr/lib/libkatepartinterfaces.so.4 #23 0xb3abb3b0 in KateView::updateDocumentConfig() () from /usr/lib/libkatepartinterfaces.so.4 #24 0xb3a34033 in KateDocument::updateConfig() () from /usr/lib/libkatepartinterfaces.so.4 #25 0xb3b3960d in KateDocumentConfig::updateConfig() () from /usr/lib/libkatepartinterfaces.so.4 #26 0xb3b3371c in ?? () from /usr/lib/libkatepartinterfaces.so.4 #27 0xb3b34751 in KateDocumentConfig::setEncoding(QString const&) () from /usr/lib/libkatepartinterfaces.so.4 #28 0xb3a4ef06 in KateBuffer::openFile(QString const&) () from /usr/lib/libkatepartinterfaces.so.4 #29 0xb3a4a10f in KateDocument::openFile() () from /usr/lib/libkatepartinterfaces.so.4 #30 0xb597722e in KParts::ReadOnlyPartPrivate::openLocalFile (this=0x9de4840) at ../../kparts/part.cpp:590 #31 0xb59778e5 in KParts::ReadOnlyPart::openUrl (this=0x9de4700, url=...) at ../../kparts/part.cpp:554 #32 0xb685bd3d in ?? () from /usr/lib/libkateinterfaces.so.4 #33 0xb686bb31 in ?? () from /usr/lib/libkateinterfaces.so.4 #34 0xb684fb0f in KateApp::startupKate() () from /usr/lib/libkateinterfaces.so.4 #35 0xb6850955 in KateApp::initKate() () from /usr/lib/libkateinterfaces.so.4 #36 0xb6850ba8 in KateApp::KateApp(KCmdLineArgs*) () from /usr/lib/libkateinterfaces.so.4
This is an issue in Qt: https://bugreports.qt-project.org/browse/QTBUG-20728 Unfortunately, no one there can reproduce and thus it was closed. If you have a way to reproduce, please let us know. In the meanwhile, I'll close this, as it needs to be fixed in Qt anyway.
I'm on KDE 4.8.4 now with Qt 4.8.1 now, so I'll see if I can still make it happen and comment upstream if I do. Thanks for looking into it.