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

crash calling QPlainTextEdit::appendHtml

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Incomplete
    • Affects Version/s: 6.1.2
    • Fix Version/s: None
    • Labels:
      None
    • Platform/s:
      Windows

      Description

      Crash happens, when I try to call QPlainTextEdit::appendHtml with invalid symbols.

      Compiler used: MSVC2019

      Platform Window 10

       

      Call trace:

      5 QWindowsFontDatabase::createEngine qwindowsfontdatabase.cpp 1188 0x7ffa8ef6eeca
      6 QWindowsFontDatabase::fontEngine qwindowsfontdatabase.cpp 764 0x7ffa8ef6c94b
      7 loadSingleEngine qfontdatabase.cpp 790 0x7ffa8ec50bf7
      8 loadEngine qfontdatabase.cpp 820 0x7ffa8ec50ef1
      9 QFontDatabasePrivate::findFont qfontdatabase.cpp 2407 0x7ffa8ec4c66d
      10 QFontEngineMulti::loadEngine qfontengine.cpp 1786 0x7ffa8ec731c4
      11 QFontEngineMulti::ensureEngineAt qfontengine.cpp 1766 0x7ffa8ec729d6
      12 QFontEngineMulti::stringToCMap qfontengine.cpp 1879 0x7ffa8ec708bd
      13 QTextEngine::shapeText qtextengine.cpp 1487 0x7ffa8ed74e81
      14 QTextEngine::shape qtextengine.cpp 1866 0x7ffa8ed6c5c7
      15 QTextLine::layout_helper qtextlayout.cpp 1829 0x7ffa8eddf9e8
      16 QTextLine::setLineWidth qtextlayout.cpp 1580 0x7ffa8eddddf1
      17 QPlainTextDocumentLayout::layoutBlock qplaintextedit.cpp 391 0x7ffa901de02f
      18 QPlainTextDocumentLayout::blockBoundingRect qplaintextedit.cpp 201 0x7ffa901dd3b8
      19 QPlainTextEditControl::blockBoundingRect qplaintextedit.cpp 598 0x7ffa901df101
      20 QWidgetTextControlPrivate::_q_updateBlock qwidgettextcontrol.cpp 1410 0x7ffa90250501
      21 QWidgetTextControl::qt_static_metacall moc_qwidgettextcontrol_p.cpp 293 0x7ffa9023b2fa
      22 doActivate<0> qobject.cpp 3858 0x7ffa888f9d3b
      23 QMetaObject::activate qobject.cpp 3904 0x7ffa888e3288
      24 QAbstractTextDocumentLayout::updateBlock moc_qabstracttextdocumentlayout.cpp 208 0x7ffa8ec024ea
      25 QPlainTextDocumentLayout::documentChanged qplaintextedit.cpp 348 0x7ffa901ddc17
      26 QTextDocumentPrivate::finishEdit qtextdocument_p.cpp 1225 0x7ffa8ecfe48b
      27 QTextDocumentPrivate::endEditBlock qtextdocument_p.cpp 1205 0x7ffa8ecfe2d3
      28 QTextCursor::endEditBlock qtextcursor.cpp 2536 0x7ffa8ecc591a
      29 QWidgetTextControlPrivate::append qwidgettextcontrol.cpp 3228 0x7ffa902503b3
      30 QWidgetTextControl::appendHtml qwidgettextcontrol.cpp 3241 0x7ffa90241d63
      31 QPlainTextEditPrivate::append qplaintextedit.cpp 3011 0x7ffa901e2caf
      32 QPlainTextEdit::appendHtml qplaintextedit.cpp 3072 0x7ffa901d9773

       

        Attachments

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

          Activity

            People

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            andymal Andrei Malashkin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes