Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.10.1, 5.11.0 Beta 4
-
Windows 10 UWP 32/64bit with Windows Update 1803.
Description
After installing the latest Windows Update (1803) a crash started to happen when calling camera.start(). The crash happens in qtmultimediasrcpluginswinrtqwinrtcameracontrol.cpp
hr = encodingProfile->get_Video(&videoProperties;); Exception thrown: read access violation. **encodingProfile** was nullptr.
This is reproducible only on Windows 10 UWP platform with 32 and 64 bit, but it is not reproducible on Windows Classic. It has been tested only with MSVC2017.
See the attached example project. Click start button to start camera and see the crash.
Attachments
For Gerrit Dashboard: QTBUG-68054 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
228200,3 | WinRT: Keep camera as uninitialized when error | 5.11 | qt/qtmultimedia | Status: MERGED | +2 | 0 |
228301,2 | WinRT: Add ref to prevent seg fault | 5.11 | qt/qtmultimedia | Status: MERGED | +2 | 0 |