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

Program terminates unexpectedly when connecting to an unpaired device with a some protected attributes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.13.0 Beta2
    • 5.13.0 Beta 1
    • None
    • Windows 10 (1803 / 17134.648), Qt 5.13.0 Beta 1
    • Windows
    • 86b4ccddf476f0c18fe04542c52e29b728dbe679

    Description

      When calling discoverDetails on a device which has not been paired but with a number of secure attributes, windows seems to throw an exception  that is not handled and the program ends.

      When running in the debugger, it shows the following log:

      debug 2019-03-27T14:42:02 qt.bluetooth.winrt: QWinRTLowEnergyServiceHandlerNew::obtainCharList
      debug 2019-03-27T14:42:02 qt.bluetooth.winrt: QWinRTLowEnergyServiceHandlerNew::obtainCharList
      onecoreuap\drivers\wdm\bluetooth\user\winrt\gatt\gattcharacteristic.cpp(971)\Windows.Devices.Bluetooth.dll!00007FFD068FFD1E: (caller: 00007FFD06906AAE) Exception(1) tid(1070) 80650005 The attribute requires authentication before it can be read or written.
      
      
      Exception at 0x7ffd2df9a388, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in Windows_Devices_Bluetooth
      
      
      Exception at 0x7ffd2df9a388, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in Windows_Devices_Bluetooth
      

       

      A screenshot of the stacktrace (with debug symbols) is attached.

      Attachments

        Issue Links

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

          Activity

            People

              owolff Oliver Wolff
              ThiemoVanEngelen Thiemo van Engelen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes