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

[Reg 6.4->6.5] Stopping QCamera when it is not started properly causes crash

    XMLWordPrintable

Details

    • Windows
    • 084ea0f07 (dev), 706d92fe3 (6.6), 1629115d1 (6.5)

    Description

      issue can be reproduced by widget-based camera example that uses QCamera.
      To force QCamera not to start correctly, one can launch Windows built-in Camera app first. Then start camera example.

      At first, one will be greeted by a warning message which is either "Hardware MFT failed to start streaming due to lack of hardware resources" (6.5) or "Streaming error" (6.4), which is as expected because we force it to.

      Close the warning message and File->Stop Camera. QCamera of 6.4 stops properly and application itself still runs. But QCamera of 6.5 does not and crashes the application. Application stays unresponsive and one has to kill it.

      Attachments

        Issue Links

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

          Activity

            People

              padubsky Pavel Dubsky
              luqiaochen Luqiao Chen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes