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

[EVR] Crash on OpenGlVideoBuffer::mapTextures

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P2: Important
    • None
    • 6.2.4, 6.3.2
    • Multimedia
    • None
    • Different GPUs
      Different Win 10 revisions
    • Windows

    Description

      I found this among our user's crash reports. And this's one of the most
      frequent crashes inside Qt for our app on Windows.
      Unfortunately I can't reproduce this locally, and have only stack

      0xC0000005: Access violation reading location 0xFFFFFFFFFFFFFFFF.
      
      >	Qt6Multimedia.dll!OpenGlVideoBuffer::mapTextures() Line 239	C++
       	Qt6Multimedia.dll!QVideoFrame::textureHandle(int plane) Line 649	C++
       	Qt6Multimedia.dll!QVideoTextureHelper::updateRhiTextures(QVideoFrame frame, QRhi * rhi, QRhiResourceUpdateBatch * resourceUpdates, QRhiTexture * * textures) Line 507	C++
       	[Inline Frame] Qt6MultimediaQuick.dll!QSGVideoMaterial::updateTextures(QRhi *) Line 170	C++
       	Qt6MultimediaQuick.dll!QSGVideoMaterialRhiShader::updateUniformData(QSGMaterialShader::RenderState & state, QSGMaterial * newMaterial, QSGMaterial * oldMaterial) Line 197	C++
       	Qt6Quick.dll!QSGBatchRenderer::Renderer::updateMaterialDynamicData(QSGBatchRenderer::ShaderManagerShader * sms, QSGMaterialShader::RenderState & renderState, QSGMaterial * material, const QSGBatchRenderer::Batch * batch, QSGBatchRenderer::Element * e, int ubufOffset, int ubufRegionSize) Line 2847	C++
       	Qt6Quick.dll!QSGBatchRenderer::Renderer::prepareRenderMergedBatch(QSGBatchRenderer::Batch * batch, QSGBatchRenderer::Renderer::PreparedRenderBatch * renderBatch) Line 3128	C++
       	Qt6Quick.dll!QSGBatchRenderer::Renderer::prepareRenderPass(QSGBatchRenderer::Renderer::RenderPassContext * ctx) Line 3717	C++
       	Qt6Quick.dll!QSGBatchRenderer::Renderer::render() Line 3505	C++
       	Qt6Quick.dll!QSGRenderer::renderScene() Line 176	C++
       	Qt6Quick.dll!QSGRhiLayer::grab() Line 423	C++
       	Qt6Quick.dll!QSGRhiLayer::updateTexture() Line 107	C++
       	Qt6Quick.dll!QSGRhiShaderEffectNode::preprocess() Line 776	C++
       	Qt6Quick.dll!QSGRenderer::preprocess() Line 261	C++
       	Qt6Quick.dll!QSGRenderer::renderScene() Line 175	C++
       	Qt6Quick.dll!QSGRhiLayer::grab() Line 423	C++
       	Qt6Quick.dll!QSGRhiLayer::updateTexture() Line 107	C++
       	Qt6Quick.dll!QSGRhiShaderEffectNode::preprocess() Line 776	C++
       	Qt6Quick.dll!QSGRenderer::preprocess() Line 261	C++
       	Qt6Quick.dll!QSGRenderer::renderScene() Line 175	C++
       	Qt6Quick.dll!QSGRhiLayer::grab() Line 423	C++
       	Qt6Quick.dll!QSGRhiLayer::updateTexture() Line 107	C++
       	Qt6Quick.dll!QSGRhiShaderEffectNode::preprocess() Line 776	C++
       	Qt6Quick.dll!QSGRenderer::preprocess() Line 261	C++
       	Qt6Quick.dll!QSGRenderer::renderScene() Line 175	C++
       	[Inline Frame] Qt6Quick.dll!QQuickWindow::afterRendering() Line 696	C++
       	Qt6Quick.dll!QQuickWindowPrivate::renderSceneGraph(const QSize & size, const QSize & surfaceSize) Line 690	C++
       	Qt6Quick.dll!QSGRenderThread::syncAndRender() Line 783	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
      

      Attachments

        1. image-2022-12-07-14-44-47-729.png
          image-2022-12-07-14-44-47-729.png
          151 kB
        2. qtdiag.txt
          10 kB
        3. sample_960x540.avi
          594 kB
        4. screenshot-1.png
          screenshot-1.png
          179 kB

        Issue Links

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

          Activity

            People

              padubsky Pavel Dubsky
              studiosus Vladimir Belyavsky
              Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes