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

[Windows UWP] Crashes when calling camera.start/stop after Windows Update 1803

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.10.1, 5.11.0 Beta 4
    • Fix Version/s: 5.11.1
    • Component/s: Multimedia
    • Environment:
      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

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

          Activity

            People

            Assignee:
            valentyn.doroshchuk Valentyn Doroshchuk
            Reporter:
            qtcomsupport Qt Support
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes