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

access violation after calling adjustSize in class constrctor before calling show

    XMLWordPrintable

Details

    • Windows

    Description

      here is the stack trace

      Qt5Gui!OT::hb_sanitize_context_t::check_array c:\users\qt\work\qt\qtbase\src\3rdparty\harfbuzz-ng\src\hb-open-type-private.hh(254)
      Qt5Gui!OT::ArrayOf<OT::IntType<unsigned short,2>,OT::IntType<unsigned short,2>>::sanitize_shallow c:\users\qt\work\qt\qtbase\src\3rdparty\harfbuzz-ng\src\hb-open-type-private.hh(929)
      Qt5Gui!OT::ArrayOf<OT::IntType<unsigned short,2>,OT::IntType<unsigned short,2>>::sanitize c:\users\qt\work\qt\qtbase\src\3rdparty\harfbuzz-ng\src\hb-open-type-private.hh(880)
      Qt5Gui!OT::Sequence::sanitize c:\users\qt\work\qt\qtbase\src\3rdparty\harfbuzz-ng\src\hb-ot-layout-gsub-table.hh(320)
      Qt5Gui!OT::OffsetTo<OT::Sequence,OT::IntType<unsigned short,2>>::sanitize c:\users\qt\work\qt\qtbase\src\3rdparty\harfbuzz-ng\src\hb-open-type-private.hh(796)
      Qt5Gui!OT::ArrayOf<OT::OffsetTo<OT::Sequence,OT::IntType<unsigned short,2>>,OT::IntType<unsigned short,2>>::sanitize c:\users\qt\work\qt\qtbase\src\3rdparty\harfbuzz-ng\src\hb-open-type-private.hh(899)
      Qt5Gui!OT::MultipleSubstFormat1::sanitize c:\users\qt\work\qt\qtbase\src\3rdparty\harfbuzz-ng\src\hb-ot-layout-gsub-table.hh(397)
      Qt5Gui!OT::hb_sanitize_context_t::dispatch c:\users\qt\work\qt\qtbase\src\3rdparty\harfbuzz-ng\src\hb-open-type-private.hh(197)
      Qt5Gui!OT::MultipleSubst::dispatch<OT::hb_sanitize_context_t> c:\users\qt\work\qt\qtbase\src\3rdparty\harfbuzz-ng\src\hb-ot-layout-gsub-table.hh(436)
      Qt5Gui!OT::Lookup::dispatch c:\users\qt\work\qt\qtbase\src\3rdparty\harfbuzz-ng\src\hb-ot-layout-common-private.hh(624)
      Qt5Gui!OT::SubstLookup::dispatch c:\users\qt\work\qt\qtbase\src\3rdparty\harfbuzz-ng\src\hb-ot-layout-gsub-table.hh(1263)
      Qt5Gui!OT::SubstLookup::sanitize c:\users\qt\work\qt\qtbase\src\3rdparty\harfbuzz-ng\src\hb-ot-layout-gsub-table.hh(1269)
      Qt5Gui!OT::OffsetTo<OT::SubstLookup,OT::IntType<unsigned short,2>>::sanitize c:\users\qt\work\qt\qtbase\src\3rdparty\harfbuzz-ng\src\hb-open-type-private.hh(796)
      Qt5Gui!OT::ArrayOf<OT::OffsetTo<OT::SubstLookup,OT::IntType<unsigned short,2>>,OT::IntType<unsigned short,2>>::sanitize c:\users\qt\work\qt\qtbase\src\3rdparty\harfbuzz-ng\src\hb-open-type-private.hh(899)
      Qt5Gui!OT::OffsetListOf<OT::SubstLookup>::sanitize c:\users\qt\work\qt\qtbase\src\3rdparty\harfbuzz-ng\src\hb-open-type-private.hh(957)
      Qt5Gui!OT::OffsetTo<OT::OffsetListOf<OT::SubstLookup>,OT::IntType<unsigned short,2>>::sanitize c:\users\qt\work\qt\qtbase\src\3rdparty\harfbuzz-ng\src\hb-open-type-private.hh(796)
      Qt5Gui!OT::GSUB::sanitize c:\users\qt\work\qt\qtbase\src\3rdparty\harfbuzz-ng\src\hb-ot-layout-gsub-table.hh(1308)
      Qt5Gui!OT::Sanitizer<OT::GSUB>::sanitize c:\users\qt\work\qt\qtbase\src\3rdparty\harfbuzz-ng\src\hb-open-type-private.hh(329)
      Qt5Gui!_hb_ot_layout_create c:\users\qt\work\qt\qtbase\src\3rdparty\harfbuzz-ng\src\hb-ot-layout.cc(57)
      Qt5Gui!_hb_ot_shaper_face_data_create c:\users\qt\work\qt\qtbase\src\3rdparty\harfbuzz-ng\src\hb-ot-shape.cc(136)
      Qt5Gui!hb_ot_shaper_face_data_ensure c:\users\qt\work\qt\qtbase\src\3rdparty\harfbuzz-ng\src\hb-ot-shape.cc(131)
      Qt5Gui!hb_shape_plan_plan c:\users\qt\work\qt\qtbase\src\3rdparty\harfbuzz-ng\src\hb-shaper-list.hh(43)
      Qt5Gui!hb_shape_plan_create2 c:\users\qt\work\qt\qtbase\src\3rdparty\harfbuzz-ng\src\hb-shape-plan.cc(172)
      Qt5Gui!hb_shape_plan_create_cached2 c:\users\qt\work\qt\qtbase\src\3rdparty\harfbuzz-ng\src\hb-shape-plan.cc(537)
      Qt5Gui!hb_shape_full c:\users\qt\work\qt\qtbase\src\3rdparty\harfbuzz-ng\src\hb-shape.cc(132)
      Qt5Gui!QTextEngine::shapeTextWithHarfbuzzNG c:\users\qt\work\qt\qtbase\src\gui\text\qtextengine.cpp(1662)
      Qt5Gui!QTextEngine::shapeText c:\users\qt\work\qt\qtbase\src\gui\text\qtextengine.cpp(1503)
      Qt5Gui!QTextEngine::shape c:\users\qt\work\qt\qtbase\src\gui\text\qtextengine.cpp(2005)
      Qt5Gui!QTextLine::layout_helper c:\users\qt\work\qt\qtbase\src\gui\text\qtextlayout.cpp(1846)
      Qt5Gui!QTextLine::setLineWidth c:\users\qt\work\qt\qtbase\src\gui\text\qtextlayout.cpp(1606)
      Qt5Gui!qt_format_text c:\users\qt\work\qt\qtbase\src\gui\painting\qpainter.cpp(7671)
      Qt5Gui!qt_format_text c:\users\qt\work\qt\qtbase\src\gui\painting\qpainter.cpp(7490)
      Qt5Gui!QFontMetrics::boundingRect c:\users\qt\work\qt\qtbase\src\gui\text\qfontmetrics.cpp(881)
      Qt5Gui!QFontMetrics::boundingRect c:\users\qt\work\qt\qtbase\src\gui\text\qfontmetrics.h(128)
      Qt5Widgets!QLabelPrivate::sizeForWidth c:\users\qt\work\qt\qtbase\src\widgets\widgets\qlabel.cpp(633)
      Qt5Widgets!QLabel::minimumSizeHint c:\users\qt\work\qt\qtbase\src\widgets\widgets\qlabel.cpp(843)
      Qt5Widgets!QLabel::sizeHint c:\users\qt\work\qt\qtbase\src\widgets\widgets\qlabel.cpp(826)
      Qt5Widgets!QWidgetItemV2::updateCacheIfNecessary c:\users\qt\work\qt\qtbase\src\widgets\kernel\qlayoutitem.cpp(725)
      Qt5Widgets!QWidgetItemV2::maximumSize c:\users\qt\work\qt\qtbase\src\widgets\kernel\qlayoutitem.cpp(813)
      Qt5Widgets!QBoxLayoutPrivate::setupGeom c:\users\qt\work\qt\qtbase\src\widgets\kernel\qboxlayout.cpp(290)
      Qt5Widgets!QBoxLayout::maximumSize c:\users\qt\work\qt\qtbase\src\widgets\kernel\qboxlayout.cpp(640)
      Qt5Widgets!QBoxLayoutPrivate::setupGeom c:\users\qt\work\qt\qtbase\src\widgets\kernel\qboxlayout.cpp(290)
      Qt5Widgets!QBoxLayout::sizeHint c:\users\qt\work\qt\qtbase\src\widgets\kernel\qboxlayout.cpp(617)
      Qt5Widgets!QLayout::totalSizeHint c:\users\qt\work\qt\qtbase\src\widgets\kernel\qlayout.cpp(722)
      Qt5Widgets!QWidget::sizeHint c:\users\qt\work\qt\qtbase\src\widgets\kernel\qwidget.cpp(8797)
      Qt5Widgets!QWidgetPrivate::adjustedSize c:\users\qt\work\qt\qtbase\src\widgets\kernel\qwidget.cpp(8708)
      Qt5Widgets!QWidget::adjustSize c:\users\qt\work\qt\qtbase\src\widgets\kernel\qwidget.cpp(8768)

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            fogelton fogelton
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes