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

Qt5Gui.dll unhandled exception while running Qt Creator on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P4: Low
    • None
    • 5.7.0 Beta
    • GUI: Text handling

    Description

      Hi, Everyone,

      Got runtime error while running Qt Creator. Visual Studio Debugger results:

      Output:
      'qtcreator.exe' (Win32): Loaded 'C:\ProgramData\QtCreator\ICC64r\dll\bin\qtcreator.exe'. Symbols loaded.
      'qtcreator.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. Cannot find or open the PDB file.
      [snip]
      'qtcreator.exe' (Win32): Loaded 'C:\libQT-5.7-dev\ICC64r\dll\plugins\imageformats\qwbmp.dll'. Symbols loaded.
      'qtcreator.exe' (Win32): Loaded 'C:\libQT-5.7-dev\ICC64r\dll\plugins\imageformats\qwebp.dll'. Symbols loaded.
      The thread 0x2274 has exited with code 0 (0x0).
      Unhandled exception at 0x00007FFE2D912B01 (Qt5Gui.dll) in qtcreator.exe: 0xC0000005: Access violation writing location 0x00007FFE2D9A8728.
      
      
      Call stack:
      >	Qt5Gui.dll!_hb_shapers_get() Line 1996	C++
       	Qt5Gui.dll!hb_shape_plan_create_cached(hb_face_t * face, const hb_segment_properties_t * props, const hb_feature_t * user_features, unsigned int num_user_features, const char * * shaper_list) Line 69	C++
       	Qt5Gui.dll!hb_shape_full(hb_font_t * font, hb_buffer_t * buffer, const hb_feature_t * features, unsigned int num_features, const char * * shaper_list) Line 374	C++
       	Qt5Gui.dll!QTextEngine::shapeTextWithHarfbuzzNG(const QScriptItem & si, const unsigned short * string, int itemLength, QFontEngine * fontEngine, const QVector<uint> & itemBoundaries, bool kerningEnabled, bool hasLetterSpacing) Line 1214	C++
       	Qt5Gui.dll!QTextEngine::shapeText(int item) Line 1068	C++
       	Qt5Gui.dll!QTextEngine::shape(int item) Line 1536	C++
       	Qt5Gui.dll!QTextEngine::boundingBox(glyph_metrics_t *, int from, int len) Line 1875	C++
       	Qt5Gui.dll!QFontMetrics::boundingRect(QRect *, const QString & text) Line 679	C++
       	Qt5Widgets.dll!QComboBoxPrivate::recomputeSizeHint(QSize *, QSize & sh) Line 334	C++
       	Qt5Widgets.dll!QComboBox::sizeHint(QSize *) Line 2433	C++
       	Qt5Widgets.dll!QWidgetItemV2::updateCacheIfNecessary() Line 711	C++
       	Qt5Widgets.dll!QWidgetItemV2::maximumSize(QSize *) Line 799	C++
       	Qt5Widgets.dll!QBoxLayoutPrivate::setupGeom() Line 290	C++
       	Qt5Widgets.dll!QBoxLayout::sizeHint(QSize *) Line 617	C++
       	Qt5Widgets.dll!QLayout::totalSizeHint(QSize *) Line 718	C++
       	Qt5Widgets.dll!QWidget::sizeHint(QSize *) Line 8626	C++
       	Qt5Widgets.dll!QWidgetItemV2::updateCacheIfNecessary() Line 711	C++
       	Qt5Widgets.dll!QWidgetItemV2::maximumSize(QSize *) Line 799	C++
       	Qt5Widgets.dll!QBoxLayoutPrivate::setupGeom() Line 290	C++
       	Qt5Widgets.dll!QBoxLayout::setGeometry(const QRect & r) Line 765	C++
       	Qt5Widgets.dll!QLayoutPrivate::doResize(const QSize & r) Line 581	C++
       	Qt5Widgets.dll!QLayout::activate() Line 1125	C++
       	Qt5Widgets.dll!QWidget::setVisible(bool visible) Line 758	C++
       	Qt5Widgets.dll!QWidget::show() Line 7758	C++
       	Qt5Widgets.dll!QStackedLayout::setCurrentIndex(int index) Line 330	C++
       	Qt5Widgets.dll!QStackedLayout::addWidget(QWidget * widget) Line 231	C++
       	Core.dll!Core::Internal::SplitterOrView::SplitterOrView(Core::IEditor * editor) Line 624	C++
       	Core.dll!Core::Internal::EditorArea::EditorArea() Line 42	C++
       	Core.dll!Core::Internal::EditorManagerPrivate::init() Line 453	C++
       	Core.dll!Core::EditorManager::EditorManager(QObject * parent) Line 2112	C++
       	Core.dll!Core::Internal::MainWindow::MainWindow() Line 195	C++
       	Core.dll!Core::Internal::CorePlugin::parseArguments(const QStringList & arguments) Line 137	C++
       	Core.dll!Core::Internal::CorePlugin::initialize(const QStringList & arguments, QString * errorMessage) Line 155	C++
       	ExtensionSystem.dll!ExtensionSystem::Internal::PluginSpecPrivate::initializePlugin() Line 978	C++
       	ExtensionSystem.dll!ExtensionSystem::Internal::PluginManagerPrivate::loadPlugin(ExtensionSystem::PluginSpec * spec, ExtensionSystem::PluginSpec::State destState) Line 1394	C++
       	ExtensionSystem.dll!ExtensionSystem::PluginManager::loadPlugins() Line 303	C++
       	qtcreator.exe!main(int argc, char * * argv) Line 512	C++
       	qtcreator.exe!WinMain(HINSTANCE__ *, HINSTANCE__ *, char *, int) Line 123	C++
       	qtcreator.exe!__scrt_common_main_seh() Line 264	C++
       	kernel32.dll!00007ffe4beb8102()	Unknown
       	ntdll.dll!00007ffe4c01c264()	Unknown
      
      
      Locals:
      Name Value Type
      +		cached_plan_nodes	0x00007ffe00000001 {shape_plan=??? next=??? }	hb_face_t::plan_node_t *
      		face	Error reading register value.	
      +		node	0x00007ffe00000001 {shape_plan=??? next=??? }	hb_face_t::plan_node_t *
      		num_user_features	Variable is optimized away and not available.	
      +		proposal	{props={direction=HB_DIRECTION_LTR (4) script=HB_SCRIPT_COMMON (1517910393) language=0x00000179c49b5d40 {...} ...} ...}	hb_shape_plan_proposal_t
      +		props	0x0000000000000000 <NULL>	const hb_segment_properties_t *
      +		shape_plan	0x00007ffe00000001 {header={ref_count={ref_count={v=??? } } user_data={lock={m={DebugInfo=??? LockCount=...} } ...} } ...}	hb_shape_plan_t *
      +		shaper_item	0x00007ffe00000001 {???}	const char * *
      +		shaper_list	0x0000000000000000 {???}	const char * *
      		user_features	Error reading register value.	
      

      Inherent to ICC+Release builds only. No such error for ICC+Debug or <MinGW,ICC>+<Debug,Release> configurations.

      Uses build commands:

      configure -prefix "%CD%\..\ICC64r\dll" -release -opensource -c++std c++11 -shared -plugin-sql-sqlite -opengl dynamic -openvg -platform win32-icc -iconv -qt-zlib -qt-pcre -icu -I "%CD%\..\..\libICU-57.1\ICC64r\include" -L "%CD%\..\..\libICU-57.1\ICC64r\lib" -qt-libpng -qt-libjpeg -avx -openssl -I "%CD%\..\..\libOPENSSL-1.1.0-dev\ICC64r\dll\include" -L "%CD%\..\..\libOPENSSL-1.1.0-dev\ICC64r\dll\lib" -dbus-runtime -confirm-license -skip qtscript && jom
      
      [snip]
      
      cd <Qt Creator DIR> && qmake QTC_PREFIX="%ProgramData%\QtCreator\ICC64r\dll" && jom
      

      Regards,
      Alexander

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            sav sav
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes