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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.11.1
    • 5.10.1, 5.11.0 Beta 4
    • Multimedia
    • 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

        1. crash_screenshot.PNG
          121 kB
          shobana
        2. qtbug68054.tar.gz
          2 kB
          Qt Support
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            valentyn.doroshchuk Valentyn Doroshchuk
            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