-
Bug
-
Resolution: Unresolved
-
P1: Critical
-
None
-
6.8.3, 6.9.2
-
None
-
Windows 11
MediaPlayer consistently crashes when playing a video on graphics device lost.
Can be reproduced with standard QML Media Player demo app on any video file
Call stack:
1 `anonymous namespace'::freeTextureAndData qffmpeghwaccel_d3d11.cpp 62 0x7ffee3c85486
7 QVideoFrame::operator= qvideoframe.cpp 246 0x7ffedef19899
8 QQuickVideoOutput::setFrame qquickvideooutput.cpp 646 0x7fff13dd6987
10 doActivate<0> qobject.cpp 4157 0x7ffed9a79b21
11 QMetaObject::activate qobject.cpp 4218 0x7ffed9a7c844
13 QPlatformVideoSink::setVideoFrame qplatformvideosink.cpp 54 0x7ffedeef8380
14 QFFmpeg::VideoRenderer::renderInternal qffmpegvideorenderer.cpp 80 0x7ffee3c96614
15 QFFmpeg::Renderer::doNextStep qffmpegrenderer.cpp 171 0x7ffee3c8abcd
16 QFFmpeg::PlaybackEngineObject::scheduleNextStep qffmpegplaybackengineobject.cpp 108 0x7ffee3c8cf6d
17 QFFmpeg::Renderer::render qffmpegrenderer.cpp 97 0x7ffee3c8b9e8
19 QMetaCallEvent::placeMetaCall qobject.cpp 630 0x7ffed9a8624b
20 QObject::event qobject.cpp 1432 0x7ffed9a83f92
21 QCoreApplication::notify qcoreapplication.cpp 1191 0x7ffed9a3850b
22 QCoreApplication::notifyInternal2 qcoreapplication.cpp 1106 0x7ffed9a38621
23 QCoreApplicationPrivate::sendPostedEvents qcoreapplication.cpp 1891 0x7ffed9a3acb2
24 QEventDispatcherWin32::processEvents qeventdispatcher_win.cpp 470 0x7ffed9bcf210
25 QEventLoop::exec qeventloop.cpp 185 0x7ffed9a3f244
26 QThread::exec qthread.cpp 659 0x7ffed9b2b88f
27 QThreadPrivate::start qthread_win.cpp 189 0x7ffed9bd6362
Debug output before crash:
15:31:38: Starting C:\Qt\Examples\Qt-6.9.2\demos\mediaplayer\build\Desktop_Qt_6_9_2_MSVC2022_64bit-RelWithDebInfo\MediaPlayerApp.exe... qt.multimedia.ffmpeg: Using Qt multimedia with FFmpeg version 7.1.1 LGPL version 2.1 or later Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'https://download.qt.io/learning/videos/media-player-example/Qt_LogoMergeEffect.mp4': Metadata: major_brand : mp42 minor_version : 0 compatible_brands: mp42mp41 creation_time : 2023-03-27T06:25:14.000000Z Duration: 00:00:19.03, start: 0.000000, bitrate: 4026 kb/s Stream #0:0[0x1](eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 4019 kb/s, 60 fps, 60 tbr, 60k tbn (default) Metadata: creation_time : 2023-03-27T06:25:14.000000Z handler_name : ?Mainconcept Video Media Handler vendor_id : [0][0][0][0] encoder : AVC Coding D3D11: Removing Device. qt.multimedia.hwaccel: Unable to copy frame from decoder pool VSyncService: Failed to find adapter (via EnumAdapters1), skipping D3D11: Removing Device. qt.multimedia.hwaccel: Unable to copy frame from decoder pool qt.multimedia.hwaccel: Unable to copy frame from decoder pool qt.multimedia.hwaccel: Unable to copy frame from decoder pool [h264 @ 000001DEC94D9E80] Failed to execute: 0x887601c2 [h264 @ 000001DEC94D9E80] hardware accelerator failed to decode picture 15:31:47: The command "C:\Qt\Examples\Qt-6.9.2\demos\mediaplayer\build\Desktop_Qt_6_9_2_MSVC2022_64bit-RelWithDebInfo\MediaPlayerApp.exe" terminated abnormally.