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

Crash on DisplaySoftwareOutputSurface::Device::swapFrame() with nullptr access

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.5.3
    • WebEngine
    • None
    • Windows

    Description

      Unfortunately have no reproducer or any details how this may be reproduced on purpose.
      I just see such crashes on users side in our crash reporting system.

      Unhandled exception thrown: read access violation.
      **this** was nullptr.
      

      Call stack:

       	[Inline Frame] Qt6WebEngineCore.dll!std::unique_ptr<SkCanvas,std::default_delete<SkCanvas>>::operator bool() Line 3223	C++
       	[Inline Frame] Qt6WebEngineCore.dll!std::operator==(void *) Line 3472	C++
       	[Inline Frame] Qt6WebEngineCore.dll!SkSurface_Base::getCachedCanvas() Line 185	C++
      >	Qt6WebEngineCore.dll!SkSurface::getCanvas() Line 210	C++
       	Qt6WebEngineCore.dll!SkSurface::peekPixels(SkPixmap * pmap) Line 249	C++
       	Qt6WebEngineCore.dll!QtWebEngineCore::DisplaySoftwareOutputSurface::Device::swapFrame() Line 97	C++
       	Qt6WebEngineCore.dll!QtWebEngineCore::RenderWidgetHostViewQtDelegateItem::updatePaintNode(QSGNode * oldNode, QQuickItem::UpdatePaintNodeData * __formal) Line 373	C++
       	Qt6Quick.dll!QQuickWindowPrivate::updateDirtyNode(QQuickItem * item) Line 2165	C++
       	Qt6Quick.dll!QQuickWindowPrivate::updateDirtyNodes() Line 1905	C++
       	Qt6Quick.dll!QQuickWindowPrivate::syncSceneGraph() Line 557	C++
       	Qt6Quick.dll!QSGRenderThread::sync(bool inExpose) Line 551	C++
       	Qt6Quick.dll!QSGRenderThread::syncAndRender() Line 691	C++
       	Qt6Quick.dll!QSGRenderThread::run() Line 942	C++
       	Qt6Core.dll!QThreadPrivate::start(void * arg) Line 292	C++
       	[External Code]	
      

      Attachments

        Issue Links

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

          Activity

            People

              qt_webengine_team Qt WebEngine Team
              studiosus Vladimir Belyavsky
              Votes:
              5 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes