-
Type:
Bug
-
Status: Closed
-
Priority:
P1: Critical
-
Resolution: Done
-
Affects Version/s: 5.13.0 Beta 1
-
Fix Version/s: 5.13.0 Beta2
-
Component/s: Connectivity: Bluetooth
-
Labels:None
-
Environment:Windows 10 (1803 / 17134.648), Qt 5.13.0 Beta 1
-
Platform/s:
-
Commits:86b4ccddf476f0c18fe04542c52e29b728dbe679
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.