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

winrt "Access is denied" error not correctely reported in bluetooth

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.8.0 Beta
    • 5.8.0 Alpha
    • None
    • Windows 10 Pro (up to date, non preview)
    • WinRT
    • bd7dda4614eb776c40a1eb3b6f1bbe531fa8abb5

    Description

      How to reproduce

      • Remove Bluetooth capabilities from manifest
      • Start a device discovery

      What is expected
      Error report that access is denied

      What is get

      No error reported at the Bluetooth level.
      BluetoothDeviceDiscoveryAgent_winrt.cpp:75 QWinRTFunctions::await(deviceFromIdOperation, device.GetAddressOf()); returns 0 (S_OK)
      Warning : i talk about the method effective response, not the fact that the response is not checked (https://bugreports.qt.io/browse/QTBUG-56191).

      An exception is logged :

      Exception at 0x745096c2, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in Windows_Devices_Bluetooth
      onecoreuap\drivers\wdm\bluetooth\user\winrt\device\bluetoothdevice.cpp(1489)\Windows.Devices.Bluetooth.dll!11A44321: (caller: 11A4760A) Exception(2) tid(347c) 80070005 Access is denied.

      Attachments

        For Gerrit Dashboard: QTBUG-56219
        # Subject Branch Project Status CR V

        Activity

          People

            owolff Oliver Wolff
            cmr Christian Müller
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes