Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-13082

qt crashes somewhere down in QFreetypeFace

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 4.6.2
    • GUI: Font handling
    • None
    • Kubuntu 10.4 Lucid, Qt installed from distributor's packages.

    Description

      During webbrowsing with khtml Konqueror suddenly crashed with this backtrace.

      I can't reproduce the bug, so I can't give any more details.

      Thread 1 (Thread 0xb7805aa0 (LWP 1648)):
      [KCrash Handler]
      #6 0x0167db11 in QFreetypeFace::getSfntTable (this=0xb5c32a8, tag=1195656518, buffer=0x0, length=0xbfcfc86c) at text/qfontengine_ft.cpp:409
      #7 0x0167b589 in QFontEngineXLFD::getSfntTableData (this=0x9f30fe0, tag=1195656518, buffer=0x0, length=0xbfcfc86c) at text/qfontengine_x11.cpp:775
      #8 0x015a7006 in hb_getSFntTable (font=0x9f30fe0, tableTag=1195656518, buffer=0x0, length=0xbfcfc86c) at text/qfontengine.cpp:164
      #9 0x0107ce30 in getTableStream (font=0x9f30fe0, tableFunc=<value optimized out>, tag=1195656518) at ../3rdparty/harfbuzz/src/harfbuzz-shaper.cpp:938
      #10 0x0107cf32 in HB_NewFace (font=0x9f30fe0, tableFunc=0x15a6fe0 <hb_getSFntTable>) at ../3rdparty/harfbuzz/src/harfbuzz-shaper.cpp:982
      #11 0x01082c24 in qHBNewFace (font=0x9f30fe0, tableFunc=0x15a6fe0 <hb_getSFntTable>) at tools/qharfbuzz.cpp:155
      #12 0x015a8e22 in QFontEngine::harfbuzzFace (this=0x9f30fe0) at text/qfontengine.cpp:229
      #13 0x015dea4d in QTextEngine::shapeTextWithHarfbuzz (this=0xbfcfd4dc, item=0) at text/qtextengine.cpp:1228
      #14 0x015df72a in QTextEngine::shapeText (this=0xbfcfd4dc, item=0) at text/qtextengine.cpp:874
      #15 0x015dfbea in QTextEngine::shape (this=0xbfcfd4dc, item=0) at text/qtextengine.cpp:1359
      #16 0x015e725a in QTextLine::layout_helper (this=0xbfcffdd4, maxGlyphs=2147483647) at text/qtextlayout.cpp:1752
      #17 0x015e8384 in QTextLine::setLineWidth (this=0xbfcffdd4, width=16777216) at text/qtextlayout.cpp:1597
      #18 0x014ccf6d in qt_format_text (fnt=..., _r=..., tf=540672, option=0x0, str=..., brect=0xbfcfff58, tabstops=0, tabarraylen=0, painter=0x0) at painting/qpainter.cpp:7727
      #19 0x014cdda1 in qt_format_text (fnt=..., _r=..., tf=540672, str=..., brect=0xbfcfff58, tabstops=0, ta=0x0, tabarraylen=0, painter=0x0) at painting/qpainter.cpp:7567
      #20 0x015b84cb in QFontMetrics::boundingRect (this=0xbfd0023c, rect=..., flags=524288, text=..., tabStops=0, tabArray=0x0) at text/qfontmetrics.cpp:771
      #21 0x015b858c in QFontMetrics::size (this=0xbfd0023c, flags=0, text=..., tabStops=0, tabArray=0x0) at text/qfontmetrics.cpp:801
      #22 0x0169371b in QCommonStyle::sizeFromContents (this=0x91bf1d8, ct=QStyle::CT_HeaderSection, opt=0xbfd0021c, csz=..., widget=0xd3f70a8) at styles/qcommonstyle.cpp:4820
      #23 0x017497c3 in QWindowsStyle::sizeFromContents (this=0x91bf1d8, ct=199043592, opt=0xbfd0021c, csz=..., widget=0xd3f70a8) at styles/qwindowsstyle.cpp:3240
      #24 0x016e964b in QPlastiqueStyle::sizeFromContents (this=0x91bf1d8, type=QStyle::CT_HeaderSection, option=0xbfd0021c, size=..., widget=0xd3f70a8) at styles/qplastiquestyle.cpp:4972
      #25 0x019097c2 in QHeaderView::sectionSizeFromContents (this=0xd3f70a8, logicalIndex=0) at itemviews/qheaderview.cpp:2563
      #26 0x01907af2 in QHeaderView::sizeHint (this=0xd3f70a8) at itemviews/qheaderview.cpp:536
      #27 0x0192a8b4 in QTableView::updateGeometries (this=0xc054bb0) at itemviews/qtableview.cpp:1999
      #28 0x018fe6f8 in QAbstractItemView::qt_metacall (this=0xc054bb0, _c=QMetaObject::InvokeMetaMethod, _id=23, _a=0xbfd005ac) at .moc/release-shared/moc_qabstractitemview.cpp:241
      #29 0x01936d0a in QTableView::qt_metacall (this=0xc054bb0, _c=QMetaObject::InvokeMetaMethod, _id=54, _a=0xbfd005ac) at .moc/release-shared/moc_qtableview.cpp:118
      #30 0x0197690a in QTableWidget::qt_metacall (this=0xc054bb0, _c=QMetaObject::InvokeMetaMethod, _id=54, _a=0xbfd005ac) at .moc/release-shared/moc_qtablewidget.cpp:135
      #31 0x01114c9a in QMetaObject::metacall (object=0xc054bb0, cl=199043592, idx=54, argv=0xbfd005ac) at kernel/qmetaobject.cpp:237
      #32 0x011233d5 in QMetaObject::activate (sender=0xd3f70a8, m=0x1c8f37c, local_signal_index=9, argv=0x0) at kernel/qobject.cpp:3293
      #33 0x01905af7 in QHeaderView::geometriesChanged (this=0xd3f70a8) at .moc/release-shared/moc_qheaderview.cpp:274
      #34 0x0190da3c in QHeaderView::viewportEvent (this=0xd3f70a8, e=0xbfd00adc) at itemviews/qheaderview.cpp:2406
      #35 0x01851c65 in QAbstractScrollAreaPrivate::viewportEvent (this=0xa857f30, o=0xb6ef300, e=0xbfd00adc) at widgets/qabstractscrollarea_p.h:100
      #36 QAbstractScrollAreaFilter::eventFilter (this=0xa857f30, o=0xb6ef300, e=0xbfd00adc) at widgets/qabstractscrollarea_p.h:116
      #37 0x0110ecda in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x9135ba8, receiver=0xb6ef300, event=0xbfd00adc) at kernel/qcoreapplication.cpp:819
      #38 0x0135a4b9 in QApplicationPrivate::notify_helper (this=0x9135ba8, receiver=0xb6ef300, e=0xbfd00adc) at kernel/qapplication.cpp:4296
      #39 0x013610f9 in QApplication::notify (this=0xbfd02f44, receiver=0xb6ef300, e=0xbfd00adc) at kernel/qapplication.cpp:4265
      #40 0x00bb6f2a in KApplication::notify (this=0xbfd02f44, receiver=0xb6ef300, event=0xbfd00adc) at ../../kdeui/kernel/kapplication.cpp:302
      #41 0x0110fa3b in QCoreApplication::notifyInternal (this=0xbfd02f44, receiver=0xb6ef300, event=0xbfd00adc) at kernel/qcoreapplication.cpp:704
      #42 0x013b209a in QCoreApplication::sendEvent (this=0x11d05210, font=...) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
      #43 QWidgetPrivate::updateFont (this=0x11d05210, font=...) at kernel/qwidget.cpp:4660
      #44 0x013b1e6e in QWidgetPrivate::setFont_helper (this=0x11d05210) at ../../include/QtGui/private/../../../src/gui/kernel/qwidget_p.h:367
      #45 QWidgetPrivate::resolveFont (this=0x11d05210) at kernel/qwidget.cpp:4594
      #46 0x013b2029 in QWidgetPrivate::updateFont (this=0x12ed3578, font=...) at kernel/qwidget.cpp:4648
      #47 0x013b1e6e in QWidgetPrivate::setFont_helper (this=0x12ed3578) at ../../include/QtGui/private/../../../src/gui/kernel/qwidget_p.h:367
      #48 QWidgetPrivate::resolveFont (this=0x12ed3578) at kernel/qwidget.cpp:4594
      #49 0x013b2029 in QWidgetPrivate::updateFont (this=0xab335e8, font=...) at kernel/qwidget.cpp:4648
      #50 0x013b95d7 in QWidgetPrivate::setFont_helper (this=0xc054bb0, font=...) at ../../include/QtGui/private/../../../src/gui/kernel/qwidget_p.h:367
      #51 QWidget::setFont (this=0xc054bb0, font=...) at kernel/qwidget.cpp:4534
      #52 0x00d0cec8 in KCupsOptionsJobWidget (this=0xa67d650, parent=0xac220d0) at ../../kdeui/dialogs/kcupsoptionsjobwidget_p.cpp:43
      #53 0x00b15465 in KdePrint::createPrintDialog (printer=0xbfd00fb4, pageSelectPolicy=KdePrint::SystemSelectsPages, customTabs=..., parent=0xad7e0990) at ../../kdeui/dialogs/kdeprintdialog.cpp:56
      #54 0x0729eaad in KHTMLView::print (this=0xad7e0990, quick=false) at ../../khtml/khtmlview.cpp:3177
      #55 0x075321ba in KJS::WindowFunc::callAsFunction (this=0xb3a8faa0, exec=0xbfd01670, thisObj=0xb3a90040, args=...) at ../../khtml/ecma/kjs_window.cpp:2099
      #56 0x029d110d in KJS::JSObject::call (this=0xbdd2a08, exec=0xbfd01670, thisObj=0xb3a90040, args=...) at ../../kjs/object.cpp:70
      #57 0x029ef3a2 in KJS::Machine::runBlock (exec=0xbfd01670, codeBlock=..., parentExec=0xad9da2a8) at codes.def:1192
      #58 0x029cd4cb in KJS::FunctionImp::callAsFunction (this=0xb3a8fb40, exec=0xad9da2a8, thisObj=0xb3a90040, args=...) at ../../kjs/function.cpp:144
      #59 0x029d110d in KJS::JSObject::call (this=0xbdd2a08, exec=0xad9da2a8, thisObj=0xb3a90040, args=...) at ../../kjs/object.cpp:70
      #60 0x07557167 in KJS::JSEventListener::handleEvent (this=0x9950a58, evt=...) at ../../khtml/ecma/kjs_events.cpp:106
      #61 0x07324b59 in DOM::DocumentImpl::defaultEventHandler (this=0x9e7f7c8, evt=0xd3f4398) at ../../khtml/xml/dom_docimpl.cpp:2749
      #62 0x0733c987 in DOM::NodeImpl::dispatchWindowEvent (this=0x9e7f7d4, _id=16, canBubbleArg=<value optimized out>, cancelableArg=<value optimized out>) at ../../khtml/xml/dom_nodeimpl.cpp:568
      #63 0x07398025 in DOM::HTMLDocumentImpl::close (this=0x9e7f7c8) at ../../khtml/html/html_documentimpl.cpp:249
      #64 0x072b5e76 in KHTMLPart::checkEmitLoadEvent (this=0xb375e2d8) at ../../khtml/khtml_part.cpp:2500
      #65 0x072beace in KHTMLPart::slotFinishedParsing (this=0xb375e2d8) at ../../khtml/khtml_part.cpp:2219
      #66 0x072e7333 in KHTMLPart::qt_metacall (this=0xb375e2d8, _c=QMetaObject::InvokeMetaMethod, _id=22, _a=0xbfd01a4c) at ./khtml_part.moc:280
      #67 0x01114c9a in QMetaObject::metacall (object=0xb375e2d8, cl=199043592, idx=36, argv=0xbfd01a4c) at kernel/qmetaobject.cpp:237
      #68 0x011233d5 in QMetaObject::activate (sender=0x9e7f7c8, m=0x77cf4c8, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
      #69 0x07320627 in DOM::DocumentImpl::finishedParsing (this=0x9e7f7c8) at ./dom_docimpl.moc:85
      #70 0x07320681 in DOM::DocumentImpl::qt_metacall (this=0x9e7f7c8, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfd01b8c) at ./dom_docimpl.moc:74
      #71 0x07397a97 in DOM::HTMLDocumentImpl::qt_metacall (this=0x9e7f7c8, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfd01b8c) at ./html_documentimpl.moc:69
      #72 0x01114c9a in QMetaObject::metacall (object=0x9e7f7c8, cl=199043592, idx=4, argv=0xbfd01b8c) at kernel/qmetaobject.cpp:237
      #73 0x011233d5 in QMetaObject::activate (sender=0xa1fe408, m=0x77d0fe8, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
      #74 0x07359037 in khtml::Tokenizer::finishedParsing (this=0xa1fe408) at ./xml_tokenizer.moc:83
      #75 0x0737bdd9 in khtml::HTMLTokenizer::end (this=0xa1fe408) at ../../khtml/html/htmltokenizer.cpp:1946
      #76 0x07382b19 in khtml::HTMLTokenizer::finish (this=0xa1fe408) at ../../khtml/html/htmltokenizer.cpp:1995
      #77 0x07320218 in DOM::DocumentImpl::finishParsing (this=0x9e7f7c8) at ../../khtml/xml/dom_docimpl.cpp:1692
      #78 0x072b9d5d in KHTMLPart::end (this=0xb375e2d8) at ../../khtml/khtml_part.cpp:2138
      #79 0x072c35de in KHTMLPart::slotFinished (this=0xb375e2d8, job=0xaf3774f0) at ../../khtml/khtml_part.cpp:1982
      #80 0x072e7398 in KHTMLPart::qt_metacall (this=0xb375e2d8, _c=QMetaObject::InvokeMetaMethod, _id=17, _a=0xbfd01ec8) at ./khtml_part.moc:275
      #81 0x01114c9a in QMetaObject::metacall (object=0xb375e2d8, cl=199043592, idx=31, argv=0xbfd01ec8) at kernel/qmetaobject.cpp:237
      #82 0x011233d5 in QMetaObject::activate (sender=0xaf3774f0, m=0x9cec88, local_signal_index=3, argv=0xbfd01ec8) at kernel/qobject.cpp:3293
      #83 0x00860183 in KJob::result (this=0xaf3774f0, _t1=0xaf3774f0) at ./kjob.moc:194
      #84 0x008604e8 in KJob::emitResult (this=0xaf3774f0) at ../../kdecore/jobs/kjob.cpp:312
      #85 0x00561f30 in KIO::SimpleJob::slotFinished (this=0xaf3774f0) at ../../kio/kio/job.cpp:486
      #86 0x0056296d in KIO::TransferJob::slotFinished (this=0xaf3774f0) at ../../kio/kio/job.cpp:1058
      #87 0x00560343 in KIO::TransferJob::qt_metacall (this=0xaf3774f0, _c=QMetaObject::InvokeMetaMethod, _id=47, _a=0xbfd0215c) at ./jobclasses.moc:367
      #88 0x01114c9a in QMetaObject::metacall (object=0xaf3774f0, cl=199043592, idx=47, argv=0xbfd0215c) at kernel/qmetaobject.cpp:237
      #89 0x011233d5 in QMetaObject::activate (sender=0xb55b2530, m=0x710f44, local_signal_index=4, argv=0x0) at kernel/qobject.cpp:3293
      #90 0x0062c707 in KIO::SlaveInterface::finished (this=0xb55b2530) at ./slaveinterface.moc:171
      #91 0x0062fa2d in KIO::SlaveInterface::dispatch (this=0xb55b2530, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:175
      #92 0x0062cbc3 in KIO::SlaveInterface::dispatch (this=0xb55b2530) at ../../kio/kio/slaveinterface.cpp:91
      #93 0x00620088 in KIO::Slave::gotInput (this=0xb55b2530) at ../../kio/kio/slave.cpp:324
      #94 0x00620293 in KIO::Slave::qt_metacall (this=0xb55b2530, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbfd0246c) at ./slave.moc:82
      #95 0x01114c9a in QMetaObject::metacall (object=0xb55b2530, cl=199043592, idx=30, argv=0xbfd0246c) at kernel/qmetaobject.cpp:237
      #96 0x011233d5 in QMetaObject::activate (sender=0xadb80368, m=0x70d820, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
      #97 0x0052abd7 in KIO::Connection::readyRead (this=0xadb80368) at ./connection.moc:92
      #98 0x0052cf8e in KIO::ConnectionPrivate::dequeue (this=0xae16c080) at ../../kio/kio/connection.cpp:82
      #99 0x0052d0be in KIO::Connection::qt_metacall (this=0xadb80368, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xaea7068) at ./connection.moc:79
      #100 0x01114c9a in QMetaObject::metacall (object=0xadb80368, cl=199043592, idx=5, argv=0xaea7068) at kernel/qmetaobject.cpp:237
      #101 0x0111f336 in QMetaCallEvent::placeMetaCall (this=0xa52cd58, object=0xadb80368) at kernel/qobject.cpp:561
      #102 0x011203fe in QObject::event (this=0xadb80368, e=0xa52cd58) at kernel/qobject.cpp:1248
      #103 0x0135a4dc in QApplicationPrivate::notify_helper (this=0x9135ba8, receiver=0xadb80368, e=0xa52cd58) at kernel/qapplication.cpp:4300
      #104 0x0136105e in QApplication::notify (this=0xbfd02f44, receiver=0xadb80368, e=0xa52cd58) at kernel/qapplication.cpp:3704
      #105 0x00bb6f2a in KApplication::notify (this=0xbfd02f44, receiver=0xadb80368, event=0xa52cd58) at ../../kdeui/kernel/kapplication.cpp:302
      #106 0x0110fa3b in QCoreApplication::notifyInternal (this=0xbfd02f44, receiver=0xadb80368, event=0xa52cd58) at kernel/qcoreapplication.cpp:704
      #107 0x01112473 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x90e7fc8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
      #108 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x90e7fc8) at kernel/qcoreapplication.cpp:1345
      #109 0x011125dd in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238
      #110 0x0113badf in QCoreApplication::sendPostedEvents (s=0x9137d78) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
      #111 postEventSourceDispatch (s=0x9137d78) at kernel/qeventdispatcher_glib.cpp:276
      #112 0x01cdc5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
      #113 0x01ce02d8 in ?? () from /lib/libglib-2.0.so.0
      #114 0x01ce04b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
      #115 0x0113b5d5 in QEventDispatcherGlib::processEvents (this=0x90e8b48, flags=...) at kernel/qeventdispatcher_glib.cpp:412
      #116 0x0141a135 in QGuiEventDispatcherGlib::processEvents (this=0x90e8b48, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
      #117 0x0110e059 in QEventLoop::processEvents (this=0xbfd02d24, flags=) at kernel/qeventloop.cpp:149
      #118 0x0110e4aa in QEventLoop::exec (this=0xbfd02d24, flags=...) at kernel/qeventloop.cpp:201
      #119 0x0111269f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
      #120 0x0135a577 in QApplication::exec () at kernel/qapplication.cpp:3579
      #121 0x027e51ee in kdemain () from /usr/lib/libkdeinit4_konqueror.so
      #122 0x0804e133 in launch (argc=<value optimized out>, _name=<value optimized out>, args=<value optimized out>, cwd=0x0, envc=0, envs=0x911e8f4 "", reset_env=false, tty=0x0, avoid_loops=false,
      startup_id_str=0x8051465 "0") at ../../kinit/kinit.cpp:717
      #123 0x0804ec6d in handle_launcher_request (sock=<value optimized out>, who=<value optimized out>) at ../../kinit/kinit.cpp:1209
      #124 0x0804f190 in handle_requests (waitForPid=<value optimized out>) at ../../kinit/kinit.cpp:1402
      #125 0x0804fe4f in main (argc=4, argv=0xbfd03b24, envp=0xbfd03b38) at ../../kinit/kinit.cpp:1845

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            leo Leo Savernik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes