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

[ANGLE] Crash on QSGTexture::comparisonKey()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P1: Critical
    • None
    • 5.15.2
    • Quick: SceneGraph
    • None
    • Windows 10, ANGLE
    • Windows

    Description

      There are a lot of such crashes according to AppCenter Diagnostics on users side.
      Sorry I have no exact steps or minimal reproducible example, but most probably the reason is similar to QTBUG-65170, QTBUG-84606 except the fact that it's reproduced now only on Windows with ANGLE (i.e. with "windows" render loop).

      Unhandled exception thrown: read access violation.
      **d** was 0x100000000.
      
      >	Qt5Quick.dll!QSGTexture::comparisonKey() Line 512	C++
       	Qt5Quick.dll!QSGOpaqueTextureMaterial::compare(const QSGMaterial * o) Line 381	C++
       	[Inline Frame] Qt5Quick.dll!QSGBatchRenderer::Batch::isMaterialCompatible(QSGBatchRenderer::Element *) Line 835	C++
       	Qt5Quick.dll!QSGBatchRenderer::Renderer::nodeChanged(QSGNode * node, QFlags<enum QSGNode::DirtyStateBit> state) Line 1558	C++
       	[Inline Frame] Qt5Quick.dll!QSGRootNode::notifyNodeChange(QSGNode *) Line 1277	C++
       	Qt5Quick.dll!QSGNode::markDirty(QFlags<enum QSGNode::DirtyStateBit> bits) Line 671	C++
       	Qt5Quick.dll!QSGBasicInternalImageNode::setTexture(QSGTexture * texture) Line 126	C++
       	Qt5Quick.dll!QQuickImage::updatePaintNode(QSGNode * oldNode, QQuickItem::UpdatePaintNodeData * __formal) Line 819	C++
       	Qt5Quick.dll!QQuickWindowPrivate::updateDirtyNode(QQuickItem * item) Line 3865	C++
       	Qt5Quick.dll!QQuickWindowPrivate::updateDirtyNodes() Line 3610	C++
       	Qt5Quick.dll!QQuickWindowPrivate::syncSceneGraph() Line 526	C++
       	Qt5Quick.dll!QSGWindowsRenderLoop::renderWindow(QQuickWindow * window) Line 504	C++
       	Qt5Quick.dll!QSGWindowsRenderLoop::render() Line 403	C++
       	Qt5Gui.dll!QWindow::event(QEvent * ev) Line 2456	C++
       	Qt5Widgets.dll!QApplicationPrivate::notify_helper(QObject * receiver, QEvent * e) Line 3634	C++
       	Qt5Widgets.dll!QApplication::notify(QObject * receiver, QEvent * e) Line 3586	C++
       	Qt5Core.dll!QCoreApplication::notifyInternal2(QObject * receiver, QEvent * event) Line 1063	C++
       	Qt5Gui.dll!QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent * e) Line 3259	C++
       	Qt5Gui.dll!QWindowSystemInterface::sendWindowSystemEvents(QFlags<enum QEventLoop::ProcessEventsFlag> flags) Line 1175	C++
       	Qt5Gui.dll!QWindowSystemInterface::flushWindowSystemEvents(QFlags<enum QEventLoop::ProcessEventsFlag> flags) Line 1140	C++
       	qwindows.dll!QWindowsWindow::handleWmPaint(HWND__ * hwnd, unsigned int message, unsigned __int64 __formal, __int64 __formal) Line 2115	C++
       	qwindows.dll!QWindowsContext::windowsProc(HWND__ * hwnd, unsigned int message, QtWindows::WindowsEventType et, unsigned __int64 wParam, __int64 lParam, __int64 * result, QWindowsWindow * * platformWindowPtr) Line 1337	C++
       	qwindows.dll!qWindowsWndProc(HWND__ * hwnd, unsigned int message, unsigned __int64 wParam, __int64 lParam) Line 1684	C++
       	[External Code]	
       	libGLESv2.dll!rx::SurfaceWindowProc(HWND__ * hwnd, unsigned int message, unsigned __int64 wparam, __int64 lparam) Line 280	C++
       	[External Code]	
       	Qt5Core.dll!QEventDispatcherWin32::processEvents(QFlags<enum QEventLoop::ProcessEventsFlag> flags) Line 615	C++
       	qwindows.dll!QWindowsGuiEventDispatcher::processEvents(QFlags<enum QEventLoop::ProcessEventsFlag> flags) Line 74	C++
       	[Inline Frame] Qt5Core.dll!QEventLoop::processEvents(QFlags<enum QEventLoop::ProcessEventsFlag>) Line 139	C++
       	Qt5Core.dll!QEventLoop::exec(QFlags<enum QEventLoop::ProcessEventsFlag> flags) Line 232	C++
       	Qt5Core.dll!QCoreApplication::exec() Line 1371	C++
      

      Attachments

        Issue Links

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

          Activity

            People

              janichol Andy Nichols
              studiosus Vladimir Belyavsky
              Votes:
              5 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes