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

[D3D11] Crash on QRhiD3D11::executeCommandBuffer (UpdateSubRes cmd) - could not create buffers and textures at all?

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.8.3
    • Qt RHI
    • None
    • Various GPU's vendors/models
      Various Windows 10/11 build version
    • Windows

    Description

      Observing this when analyzing our users' crashes in Sentry.

      It's never reproduced in our testing environment, so I have no idea about step/preconditions.

       

      Unhandled exception at 0x00007FFBC65398A0 (d3d11.dll) in b04f204a-c693-499c-95df-b29ad6f85ae1.dmp: 0xC0000005: Access violation reading location 0x000000000000010C.
      

      Call stack:

       	d3d11.dll!CContext::TID3D11DeviceContext_UpdateSubresource_<1>()	Unknown
      >	Qt6Gui.dll!QRhiD3D11::executeCommandBuffer(QD3D11CommandBuffer * cbD) Line 2914	C++
       	Qt6Gui.dll!QRhiD3D11::endFrame(QRhiSwapChain * swapChain, QFlags<enum QRhi::EndFrameFlag> flags) Line 1402	C++
       	Qt6Gui.dll!QRhi::endFrame(QRhiSwapChain * swapChain, QFlags<enum QRhi::EndFrameFlag> flags) Line 10870	C++
       	Qt6Quick.dll!QSGRenderThread::syncAndRender() Line 772	C++
       	Qt6Quick.dll!QSGRenderThread::run() Line 979	C++
       	Qt6Core.dll!QThreadPrivate::start(void * arg) Line 273	C++
       	[External Code]	
      

      There are also a lot of warnings in affected user logs (we collect it as Senty's breadcrumbs), such us:

      Failed to build uniform buffer of size 128 bytes
      Failed to build uniform buffer of size 76 bytes
      Failed to build texture for QSGPlainTexture (size 14x16)
      Failed to (re)build vertex/index buffer of size 168
      Failed to (re)build vertex/index buffer of size 10000
      Failed to create distance field glyph cache
      Failed to build stencil clip vertex buffer
      etc.

       

      Attachments

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

        Activity

          People

            lagocs Laszlo Agocs
            studiosus Vladimir Belyavsky
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes