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

Crash in QRhiD3D11::endFrame() with nullptr access

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.3.2
    • Qt RHI
    • None
    • Windows

    Description

      I see such crashes among our users crash reports. It's never reproduced for me locally and I have no idea why this may happen for end users.

      Unhandled exception at 0x00007FFE67B9E1C3 (Qt6Gui.dll) in minidump (10).dmp: 0xC0000005: Access violation reading location 0x0000000000000000.
      

      Stack:

      >	Qt6Gui.dll!QRhiD3D11::endFrame(QRhiSwapChain * swapChain, QFlags<enum QRhi::EndFrameFlag> flags) Line 1185	C++
       	Qt6Gui.dll!QRhi::endFrame(QRhiSwapChain * swapChain, QFlags<enum QRhi::EndFrameFlag> flags) Line 6799	C++
       	Qt6Quick.dll!QSGRenderThread::syncAndRender() Line 792	C++
       	Qt6Quick.dll!QSGRenderThread::run() Line 990	C++
       	Qt6Core.dll!QThreadPrivate::start(void * arg) Line 328	C++
       	kernel32.dll!BaseThreadInitThunk()	Unknown
       	ntdll.dll!RtlUserThreadStart()	Unknown
      

       

      Seems swapChainD->swapChain might be nullptr in some cases and this provokes the crash.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: