Bug 295238 - Crash when opening large XML file (repeatable)
Summary: Crash when opening large XML file (repeatable)
Status: RESOLVED UPSTREAM
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: VHI crash
Target Milestone: ---
Assignee: KWrite Developers
URL: https://bugreports.qt-project.org/bro...
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-03 04:44 UTC by Scott Kitterman
Modified: 2012-07-03 21:31 UTC (History)
0 users

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


Attachments
Backtrace (3.58 KB, application/octet-stream)
2012-03-03 04:44 UTC, Scott Kitterman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Kitterman 2012-03-03 04:44:36 UTC
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.
Comment 1 Dominik Haumann 2012-03-03 08:07:57 UTC
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
Comment 2 Dominik Haumann 2012-07-03 21:22:03 UTC
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.
Comment 3 Scott Kitterman 2012-07-03 21:31:30 UTC
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.