Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
5.11.2
-
None
-
Windows 10
Description
In evrd3dpresentengine.cpp :
QVariant IMFSampleVideoBuffer::handle() const { QVariant handle; #ifdef MAYBE_ANGLE if (handleType() != GLTextureHandle) return handle; if (m_textureUpdated || m_engine->updateTexture(m_surface)) { m_textureUpdated = true; handle = QVariant::fromValue<unsigned int>(m_engine->m_glResources->glTexture()); } #endif return handle; }
At some point the m_glResources of m_engine is nullptr.
Here's the relevant part of the backtrace :
0000009b`790ed728 00007ff8`97ccba2e dsengined!OpenGLResources::glTexture(void)+0xa [c:\qt\5.11.2\src\qtmultimedia\src\plugins\common\evr\evrd3dpresentengine.cpp @ 143] 0000009b`790ed730 00007ff8`98084e25 dsengined!IMFSampleVideoBuffer::handle(void)+0x9e [c:\qt\5.11.2\src\qtmultimedia\src\plugins\common\evr\evrd3dpresentengine.cpp @ 325] 0000009b`790ed7a0 00007ff8`9e3ac10b Qt5Multimediad!QVideoFrame::handle(void)+0x65 [c:\qt\5.11.2\src\qtmultimedia\src\multimedia\video\qvideoframe.cpp @ 835] 0000009b`790ed820 00007ff8`9e3ab590 Qt5MultimediaQuickd!QSGVideoMaterial_Texture::bind(void)+0x5b [c:\qt\5.11.2\src\qtmultimedia\src\qtmultimediaquicktools\qsgvideonode_texture.cpp @ 184] 0000009b`790ed890 00007ff8`79b131e7 Qt5MultimediaQuickd!QSGVideoMaterialShader_Texture::updateState(class QSGMaterialShader::RenderState * state = 0x0000009b`790edcc8, class QSGMaterial * newMaterial = 0x0000021f`934c6810, class QSGMaterial * oldMaterial = 0x00000000`00000000)+0x70 [c:\qt\5.11.2\src\qtmultimedia\src\qtmultimediaquicktools\qsgvideonode_texture.cpp @ 241] 0000009b`790ed940 00007ff8`79b123f2 Qt5Quickd!QSGBatchRenderer::Renderer::renderMergedBatch(struct QSGBatchRenderer::Batch * batch = 0x0000021f`b02b4b40)+0xb97 [c:\qt\5.11.2\src\qtdeclarative\src\quick\scenegraph\coreapi\qsgbatchrenderer.cpp @ 2309] 0000009b`790ede30 00007ff8`79b0da13 Qt5Quickd!QSGBatchRenderer::Renderer::renderBatches(void)+0x7d2 [c:\qt\5.11.2\src\qtdeclarative\src\quick\scenegraph\coreapi\qsgbatchrenderer.cpp @ 2533] 0000009b`790ee0d0 00007ff8`79b04ac2 Qt5Quickd!QSGBatchRenderer::Renderer::render(void)+0x16e3 [c:\qt\5.11.2\src\qtdeclarative\src\quick\scenegraph\coreapi\qsgbatchrenderer.cpp @ 2737] 0000009b`790ee760 00007ff8`79b04d16 Qt5Quickd!QSGRenderer::renderScene(class QSGBindable * bindable = 0x0000009b`790ee8a0)+0x222 [c:\qt\5.11.2\src\qtdeclarative\src\quick\scenegraph\coreapi\qsgrenderer.cpp @ 245] 0000009b`790ee880 00007ff8`79b8913b Qt5Quickd!QSGRenderer::renderScene(unsigned int fboId = 0)+0x56 [c:\qt\5.11.2\src\qtdeclarative\src\quick\scenegraph\coreapi\qsgrenderer.cpp @ 198] 0000009b`790ee8d0 00007ff8`79c57d27 Qt5Quickd!QSGDefaultRenderContext::renderNextFrame(class QSGRenderer * renderer = 0x0000021f`936d0940, unsigned int fboId = 0)+0x4b [c:\qt\5.11.2\src\qtdeclarative\src\quick\scenegraph\qsgdefaultrendercontext.cpp @ 184] 0000009b`790ee910 00007ff8`79ba80bb Qt5Quickd!QQuickWindowPrivate::renderSceneGraph(class QSize * size = 0x0000009b`790eecf0)+0x477 [c:\qt\5.11.2\src\qtdeclarative\src\quick\items\qquickwindow.cpp @ 483] 0000009b`790eeac0 00007ff8`79ba7752 Qt5Quickd!QSGWindowsRenderLoop::renderWindow(class QQuickWindow * window = 0x0000021f`85dbe970)+0x60b [c:\qt\5.11.2\src\qtdeclarative\src\quick\scenegraph\qsgwindowsrenderloop.cpp @ 483] 0000009b`790eedf0 00007ff8`79ba8825 Qt5Quickd!QSGWindowsRenderLoop::render(void)+0x122 [c:\qt\5.11.2\src\qtdeclarative\src\quick\scenegraph\qsgwindowsrenderloop.cpp @ 390] 0000009b`790eef80 00007ff8`7bf091f9 Qt5Quickd!QSGWindowsRenderLoop::event(class QEvent * event = 0x0000009b`790ef240)+0x1c5 [c:\qt\5.11.2\src\qtdeclarative\src\quick\scenegraph\qsgwindowsrenderloop.cpp @ 370] 0000009b`790ef040 00007ff8`7bf0abaf Qt5Cored!QCoreApplicationPrivate::notify_helper(class QObject * receiver = 0x0000021f`859c67d0, class QEvent * event = 0x0000009b`790ef240)+0xb9 [c:\qt\5.11.2\src\qtbase\src\corelib\kernel\qcoreapplication.cpp @ 1198]
Attachments
Issue Links
- duplicates
-
QTBUG-70672 When ANGLE is used and video playback is switched very quickly then it can cause a crash.
- Closed