Bug 345131 - kmid crashed when opening a song
Summary: kmid crashed when opening a song
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kmid
Classification: Unmaintained
Component: general (show other bugs)
Version: 2.4.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-03-14 01:34 UTC by lszkclek
Modified: 2015-03-14 15:15 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lszkclek 2015-03-14 01:34:51 UTC
Application: kmid (2.4.0)
KDE Platform Version: 4.14.5
Qt Version: 4.8.6
Operating System: Linux 3.16.7-7-desktop x86_64
Distribution: "openSUSE 13.2 (Harlequin) (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
opening a song on my computer

- Unusual behavior I noticed:
other applications have been crashing, e.g. Konqueror and Firefox

The crash can be reproduced every time.

-- Backtrace:
Application: KMid (kmid), signal: Bus error
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f40bd95b7c0 (LWP 5842))]

Thread 3 (Thread 0x7f40ac050700 (LWP 5843)):
#0  0x00007f40ba192c3d in poll () at /lib64/libc.so.6
#1  0x00007f40b732fbe4 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f40b732fcec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f40bae2d0de in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f40a40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#4  0x00007f40badfee6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f40ac04fde0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f40badff165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f40ac04fde0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f40bacfc0bf in QThread::exec() (this=this@entry=0x25bffc0) at thread/qthread.cpp:538
#7  0x00007f40bade0783 in QInotifyFileSystemWatcherEngine::run() (this=0x25bffc0) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f40bacfe79f in QThreadPrivate::start(void*) (arg=0x25bffc0) at thread/qthread_unix.cpp:349
#9  0x00007f40b84710a4 in start_thread () at /lib64/libpthread.so.0
#10 0x00007f40ba19b06d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f40aac82700 (LWP 5844)):
#0  0x00007f40ba192c3d in poll () at /lib64/libc.so.6
#1  0x00007f40aaf93625 in drumstick::MidiClient::SequencerInputThread::run() () at /usr/lib64/libdrumstick-alsa.so.0
#2  0x00007f40bacfe79f in QThreadPrivate::start(void*) (arg=0x27f9a90) at thread/qthread_unix.cpp:349
#3  0x00007f40b84710a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f40ba19b06d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f40bd95b7c0 (LWP 5842)):
[KCrash Handler]
#6  0x00007f40b6c113f0 in FT_Stream_GetUShort (stream=stream@entry=0x3f65950) at /usr/src/debug/freetype-2.5.3/src/base/ftstream.c:369
#7  0x00007f40b6c20e6c in tt_face_load_cvt (face=face@entry=0x3f66f80, stream=stream@entry=0x3f65950) at /usr/src/debug/freetype-2.5.3/src/truetype/ttpload.c:318
#8  0x00007f40b6c24f7d in tt_face_init (stream=0x3f65950, ttface=<optimized out>, face_index=<optimized out>, num_params=<optimized out>, params=<optimized out>) at /usr/src/debug/freetype-2.5.3/src/truetype/ttobjs.c:582
#9  0x00007f40b6c130e3 in open_face (driver=driver@entry=0x2796830, astream=astream@entry=0x7fffc7a64f38, external_stream=external_stream@entry=0 '\000', face_index=face_index@entry=0, num_params=0, params=0x0, aface=aface@entry=0x7fffc7a64f40) at /usr/src/debug/freetype-2.5.3/src/base/ftobjs.c:1191
#10 0x00007f40b6c15b40 in FT_Open_Face (library=0x2785120, args=args@entry=0x7fffc7a65130, face_index=0, aface=0x7fffc7a651f0) at /usr/src/debug/freetype-2.5.3/src/base/ftobjs.c:2123
#11 0x00007f40b6c1614b in FT_New_Face (library=<optimized out>, pathname=<optimized out>, face_index=<optimized out>, aface=<optimized out>) at /usr/src/debug/freetype-2.5.3/src/base/ftobjs.c:1254
#12 0x00007f40bbfcbf57 in QFreetypeFace::getFace(QFontEngine::FaceId const&, QByteArray const&) (face_id=..., fontData=...) at text/qfontengine_ft.cpp:247
#13 0x00007f40bbfcc280 in QFontEngineFT::init(QFontEngine::FaceId, bool, QFontEngine::GlyphFormat, QByteArray const&) (this=this@entry=0x3f65d70, faceId=..., antialias=<optimized out>, format=QFontEngine::Format_A8, fontData=...) at text/qfontengine_ft.cpp:666
#14 0x00007f40bbfc2afb in QFontEngineX11FT::QFontEngineX11FT(_FcPattern*, QFontDef const&, int) (this=0x3f65d70, pattern=0x3f1d290, fd=..., screen=<optimized out>) at text/qfontengine_x11.cpp:1135
#15 0x00007f40bbfc3c1b in QFontEngineMultiFT::loadEngine(int) (screen=<optimized out>, request=..., match=0x3f1d290) at text/qfontengine_x11.cpp:866
#16 0x00007f40bbfc3c1b in QFontEngineMultiFT::loadEngine(int) (this=0x3f1d100, at=<optimized out>) at text/qfontengine_x11.cpp:944
#17 0x00007f40bbef9649 in QFontEngineMulti::stringToCMap(QChar const*, int, QGlyphLayout*, int*, QFlags<QTextEngine::ShaperFlag>) const (this=0x3f1d100, str=0x3f3ff2a, len=41, glyphs=0x7fffc7a65660, nglyphs=0x7fffc7a6554c, flags=...) at text/qfontengine.cpp:1353
#18 0x00007f40bbf276bc in stringToGlyphs(HB_ShaperItem*, QGlyphLayout*, QFontEngine*) (item=item@entry=0x7fffc7a656e0, glyphs=glyphs@entry=0x7fffc7a65660, fontEngine=fontEngine@entry=0x3f1d100) at text/qtextengine.cpp:854
#19 0x00007f40bbf2a613 in QTextEngine::shapeTextWithHarfbuzz(int) const (this=this@entry=0x3b277d0, item=item@entry=4) at text/qtextengine.cpp:1238
#20 0x00007f40bbf2b3f2 in QTextEngine::shapeText(int) const (this=this@entry=0x3b277d0, item=item@entry=4) at text/qtextengine.cpp:935
#21 0x00007f40bbf2b715 in QTextEngine::shape(int) const (this=this@entry=0x3b277d0, item=item@entry=4) at text/qtextengine.cpp:1450
#22 0x00007f40bbf3c9af in QTextLine::layout_helper(int) (this=<optimized out>, maxGlyphs=maxGlyphs@entry=2147483647) at text/qtextlayout.cpp:1761
#23 0x00007f40bbf3d8db in QTextLine::setLineWidth(double) (this=<optimized out>, width=<optimized out>) at text/qtextlayout.cpp:1534
#24 0x00007f40bbf71eed in QTextDocumentLayoutPrivate::layoutBlock(QTextBlock const&, int, QTextBlockFormat const&, QTextLayoutStruct*, int, int, QTextBlockFormat const*) (this=this@entry=0x26ab070, bl=..., blockPosition=blockPosition@entry=0, blockFormat=..., layoutStruct=layoutStruct@entry=0x7fffc7a66540, layoutFrom=layoutFrom@entry=0, layoutTo=layoutTo@entry=2147483647, previousBlockFormat=previousBlockFormat@entry=0x0) at text/qtextdocumentlayout.cpp:2629
#25 0x00007f40bbf79313 in QTextDocumentLayoutPrivate::layoutFlow(QTextFrame::iterator, QTextLayoutStruct*, int, int, QFixed) (this=this@entry=0x26ab070, it=..., layoutStruct=layoutStruct@entry=0x7fffc7a66540, layoutFrom=layoutFrom@entry=0, layoutTo=layoutTo@entry=2147483647, width=..., width@entry=...) at text/qtextdocumentlayout.cpp:2415
#26 0x00007f40bbf77d25 in QTextDocumentLayoutPrivate::layoutFrame(QTextFrame*, int, int, QFixed, QFixed, QFixed) (this=this@entry=0x26ab070, f=f@entry=0x26ab550, layoutFrom=layoutFrom@entry=0, layoutTo=layoutTo@entry=2147483647, frameWidth=..., frameWidth@entry=..., frameHeight=..., parentY=parentY@entry=...) at text/qtextdocumentlayout.cpp:2156
#27 0x00007f40bbf7839d in QTextDocumentLayoutPrivate::layoutFrame(QTextFrame*, int, int, QFixed) (this=this@entry=0x26ab070, f=f@entry=0x26ab550, layoutFrom=layoutFrom@entry=0, layoutTo=layoutTo@entry=2147483647, parentY=parentY@entry=...) at text/qtextdocumentlayout.cpp:2062
#28 0x00007f40bbf7acf0 in QTextDocumentLayout::doLayout(int, int, int) (this=0x26bad40, from=0, oldLength=oldLength@entry=0, length=2147483647) at text/qtextdocumentlayout.cpp:2952
#29 0x00007f40bbf7af68 in QTextDocumentLayoutPrivate::ensureLayoutedByPosition(int) const (this=0x26ab070, position=1000) at text/qtextdocumentlayout.cpp:3124
#30 0x00007f40bbf7b0fd in QTextDocumentLayoutPrivate::layoutStep() const (position=<optimized out>, this=0x26ab070) at text/qtextdocumentlayout.cpp:3132
#31 0x00007f40bbf7b0fd in QTextDocumentLayoutPrivate::layoutStep() const (this=this@entry=0x26ab070) at text/qtextdocumentlayout.cpp:3130
#32 0x00007f40bbf7be30 in QTextDocumentLayout::documentChanged(int, int, int) (this=0x26bad40, from=0, oldLength=0, length=122) at text/qtextdocumentlayout.cpp:2912
#33 0x00007f40bbf59e71 in QTextDocumentPrivate::finishEdit() (this=0x26baf90) at text/qtextdocument_p.cpp:1220
#34 0x00007f40bbf5a3b4 in QTextDocumentPrivate::endEditBlock() (this=<optimized out>) at text/qtextdocument_p.cpp:1201
#35 0x00007f40bbf5a40e in QTextDocumentPrivate::endEditBlock() (this=<optimized out>) at text/qtextdocument_p.cpp:1187
#36 0x00007f40bbf805c5 in QTextCursor::endEditBlock() (this=this@entry=0x7fffc7a66900) at text/qtextcursor.cpp:2517
#37 0x00007f40bbf1d51a in QTextControlPrivate::setContent(Qt::TextFormat, QString const&, QTextDocument*) (this=0x26bae00, format=format@entry=Qt::PlainText, text=..., document=document@entry=0x0) at text/qtextcontrol.cpp:475
#38 0x00007f40bbf1d850 in QTextControl::setPlainText(QString const&) (this=<optimized out>, text=...) at text/qtextcontrol.cpp:1157
#39 0x00007f40bc135bd1 in QTextEdit::setPlainText(QString const&) (this=<optimized out>, text=...) at widgets/qtextedit.cpp:1133
#40 0x000000000042820b in _start ()

Reported using DrKonqi
Comment 1 Christoph Feck 2015-03-14 15:15:12 UTC
This is a crash in the freetype font rendering library. If you can isolate the font that causes it, please report this issue directly to freetype developers via https://savannah.nongnu.org/bugs/?group=freetype