Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-16122

libGLESv2.dll assertion failure while running Qt Creator on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 4.0.0-beta1
    • All Other Issues
    • None

    Description

      Hi, Everyone,

      Got assertion failure while running Qt Creator. Visual Studio Debugger results:

      Output:
      'qtcreator.exe' (Win32): Loaded 'C:\ProgramData\QtCreator\MSVC64d\dll\bin\qtcreator.exe'. Cannot find or open the PDB file.
      'qtcreator.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. Cannot find or open the PDB file.
      [snip]
      'qtcreator.exe' (Win32): Loaded 'C:\Windows\System32\igdumd64.dll'. Cannot find or open the PDB file.
      'qtcreator.exe' (Win32): Unloaded 'C:\Windows\System32\igdumd64.dll'
      Assertion failed!
      
      Program: ...\libQT-5.7-dev\MSVC64d\dll\bin\libGLESv2d.dll
      File: ..\..\..\3rdparty\angle\src\libANGLE\re...\Renderer9.cpp
      Line: 308
      
      Expression: result == ((HRESULT) (((unsigned long)(1)<<31) | ((unsigned long)(0x876)<<16) | ((unsigned long)(380))) ) || result == ((HRESULT)0x8007000EL) || result == ((HRESULT) (((unsigned long)(1)<<31) | ((unsigned long)(0x876)<<16) | ((un...
      
      For information on how your program can cause an assertion
      failure, see the Visual C++ documentation on asserts
      
      (Press Retry to debug the application - JIT must be enabled)qtcreator.exe has triggered a breakpoint.
      
      
      Call stack:
       	ucrtbased.dll!00007ffe271966c5()	Unknown
       	ucrtbased.dll!00007ffe271964e3()	Unknown
       	ucrtbased.dll!00007ffe27198e7f()	Unknown
      >	libGLESv2d.dll!rx::Renderer9::initialize() Line 308	C++
       	libGLESv2d.dll!rx::CreateRendererD3D(egl::Display * display, rx::RendererD3D * * outRenderer) Line 105	C++
       	libGLESv2d.dll!rx::DisplayD3D::initialize(egl::Display * display) Line 250	C++
       	libGLESv2d.dll!egl::Display::initialize() Line 231	C++
       	libGLESv2d.dll!egl::Initialize(void * dpy, int * major, int * minor) Line 59	C++
       	libEGLd.dll!eglInitialize(void * dpy, int * major, int * minor) Line 88	C++
       	qwindowsd.dll!QWindowsEGLStaticContext::create(QFlags<enum QWindowsOpenGLTester::Renderer> preferredType) Line 262	C++
       	qwindowsd.dll!QWindowsStaticOpenGLContext::doCreate() Line 415	C++
       	qwindowsd.dll!QWindowsStaticOpenGLContext::create() Line 432	C++
       	qwindowsd.dll!QWindowsIntegration::staticOpenGLContext() Line 465	C++
       	qwindowsd.dll!QWindowsIntegration::openGLModuleType() Line 452	C++
       	Qt5Guid.dll!QOpenGLContext::openGLModuleType() Line 1243	C++
       	Qt5WebEngineWidgetsd.dll!initialize() Line 58	C++
       	Qt5WebEngineWidgetsd.dll!`anonymous namespace'::initialize_ctor_class_::initialize_ctor_class_() Line 65	C++
       	Qt5WebEngineWidgetsd.dll!`anonymous namespace'::`dynamic initializer for 'initialize_ctor_instance_''() Line 65	C++
       	ucrtbased.dll!00007ffe271996dd()	Unknown
       	Qt5WebEngineWidgetsd.dll!dllmain_crt_process_attach(HINSTANCE__ * const instance, void * const reserved) Line 67	C++
       	Qt5WebEngineWidgetsd.dll!dllmain_crt_dispatch(HINSTANCE__ * const instance, const unsigned long reason, void * const reserved) Line 133	C++
       	Qt5WebEngineWidgetsd.dll!dllmain_dispatch(HINSTANCE__ * const instance, const unsigned long reason, void * const reserved) Line 182	C++
       	Qt5WebEngineWidgetsd.dll!_DllMainCRTStartup(HINSTANCE__ * const instance, const unsigned long reason, void * const reserved) Line 251	C++
       	ntdll.dll!00007ffe4bfd4fc8()	Unknown
       	ntdll.dll!00007ffe4c031d7a()	Unknown
       	ntdll.dll!00007ffe4c031bbf()	Unknown
       	ntdll.dll!00007ffe4c031bdd()	Unknown
       	ntdll.dll!00007ffe4bfcbab5()	Unknown
       	ntdll.dll!00007ffe4bfd1bd4()	Unknown
       	ntdll.dll!00007ffe4bfd16fe()	Unknown
       	ntdll.dll!00007ffe4bfd0934()	Unknown
       	KernelBase.dll!00007ffe491ec77f()	Unknown
       	Qt5Cored.dll!QLibraryPrivate::load_sys() Line 115	C++
       	Qt5Cored.dll!QLibraryPrivate::load() Line 538	C++
       	Qt5Cored.dll!QLibraryPrivate::loadPlugin() Line 586	C++
       	Qt5Cored.dll!QPluginLoader::load() Line 239	C++
       	ExtensionSystemd.dll!ExtensionSystem::Internal::PluginSpecPrivate::loadLibrary() Line 939	C++
       	ExtensionSystemd.dll!ExtensionSystem::Internal::PluginManagerPrivate::loadPlugin(ExtensionSystem::PluginSpec * spec, ExtensionSystem::PluginSpec::State destState) Line 1389	C++
       	ExtensionSystemd.dll!ExtensionSystem::Internal::PluginManagerPrivate::loadPlugins() Line 1223	C++
       	ExtensionSystemd.dll!ExtensionSystem::PluginManager::loadPlugins() Line 364	C++
       	qtcreator.exe!00007ff6be249542()	Unknown
       	qtcreator.exe!00007ff6be24fdfd()	Unknown
       	qtcreator.exe!00007ff6be24e14d()	Unknown
       	qtcreator.exe!00007ff6be24e05e()	Unknown
       	qtcreator.exe!00007ff6be24df1e()	Unknown
       	qtcreator.exe!00007ff6be24e169()	Unknown
       	kernel32.dll!00007ffe4beb8102()	Unknown
       	ntdll.dll!00007ffe4c01c264()	Unknown
      
      
      Locals:
      Name Value Type
      +		this	0x000002413df995f0 {mD3d9Module=d3d9.dll!0x00007ffe1f830000 {unused=9460301 } mAdapter=0 mDeviceType=...}	rx::Renderer9 *
      		behaviorFlags	2054	unsigned long
      +		className	0x00007ffe19dd4258 L"STATIC"	const wchar_t[7]
      +		currentDisplayMode	{Width=3435973836 Height=3435973836 RefreshRate=3435973836 ...}	_D3DDISPLAYMODE
      		Direct3DCreate9ExPtr	d3d9.dll!0x00007ffe1f865de0 (load symbols for additional information)	HRESULT(*)(unsigned int, IDirect3D9Ex * *)
      		minShaderModel	3	unsigned __int64
      +		presentParameters	{BackBufferWidth=1 BackBufferHeight=1 BackBufferFormat=D3DFMT_X8R8G8B8 (22) ...}	_D3DPRESENT_PARAMETERS_
      		result	0x8876086c	HRESULT
      +		trace_event_unique_catstatic191	0x00007ffe19f1aa7b ""	const unsigned char *
      +		trace_event_unique_catstatic303	0x00007ffe19f1aa7b ""	const unsigned char *
      +		trace_event_unique_profileScope191	{m_pdata=0x0000000000000000 <NULL> m_data={categoryEnabled=0xcccccccccccccccc <Error reading characters of string.> ...} }	gl::TraceEvent::TraceEndOnScopeClose
      +		trace_event_unique_profileScope303	{m_pdata=0x0000000000000000 <NULL> m_data={categoryEnabled=0xcccccccccccccccc <Error reading characters of string.> ...} }	gl::TraceEvent::TraceEndOnScopeClose
      +		windowName	0x00007ffe19dd4228 L"AngleHiddenWindow"	const wchar_t[18]
      

      (screenshot added in attachment).

      Inherent to MSVC+Debug builds only. No such error for MSVC+Release or <MinGW,ICC>+<Debug,Release> configurations. Does not block Qt Creator executing (could be ignored).

      Uses build commands:

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

      Regards,
      Alexander

      Attachments

        Issue Links

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

          Activity

            People

              lagocs Laszlo Agocs
              sav sav
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes