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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.8.0 Alpha
    • Fix Version/s: 5.8.0 Beta
    • Labels:
      None
    • Environment:
      Windows 10 Pro (up to date, non preview)
    • Platform/s:
      WinRT
    • Commits:
      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

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

          Activity

            People

            Assignee:
            owolff Oliver Wolff
            Reporter:
            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