Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.15.7, 6.2.1
-
None
-
-
21
-
Team 1 Foundation_Sprint 46, Team 1 Foundation_Sprint 47
Description
this task is continuing from task: https://bugreports.qt.io/browse/QTBUG-96057
Issue 1: Hang
QT versions: 5.15.7, 6.2.1. Note: 5.15.6 and before don't see the hang
hang after do some steps scan device information on both of unpaired/paired mode.
Connect to a BLE device unpaired mode. cannot connected, but it hang and blocked application. then also cannot restart application correctly, need to restart windows. i used Windows 11, for the issue why cannot connect to a unpaired on windows 11, i created a task for it. this task is focus on process of BT lib should not crash and hang in every cases.
Log file: Issue_1_Hang.txt
I tested the same case, but change to my custom build lib that use
- https://codereview.qt-project.org/c/qt/qtbase/+/372601 (note that this one goes to qtbase)
- https://codereview.qt-project.org/c/qt/qtconnectivity/+/372912
i didn't see hang. LogCustomBuildLib.txt
issue 2: after received signal: QLowEnergyController::discoveryFinished (scan services done).
if call QLowEnergyService::discoverDetails right aways to get characterictics infos, with some device types that don't work, that meant, it doesn't have this messages:
QWinRTLowEnergyServiceHandlerNew::obtainCharList Registering characteristic "{00002a19-0000-1000-8000-00805f9b34fb}" in service "{0000180f-0000-1000-8000-00805f9b34fb}" for value changes
but, if i change to wait 500ms, or 1000ms before call QLowEnergyService::discoverDetails. it works. and also need to wait a time for next service details.
and the waiting time is not clear. on windows 10, i just set it to 500ms. but on windows 11, i need to set it 1000ms.
Issue 3: crash on 6.2.1 - debug mode. happened everytimes
task fixed: https://bugreports.qt.io/browse/QTBUG-98005
cc ivan.solovev , andreasbuhr