Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.15, 6.2
-
None
-
-
246ed1d928 (qt/qtconnectivity/dev) e0852fed60 (qt/qtconnectivity/6.3) e0852fed60 (qt/tqtc-qtconnectivity/6.3) 246ed1d928 (qt/tqtc-qtconnectivity/dev) 48070b83d5 (qt/tqtc-qtconnectivity/5.15) 48070b83d5 (qt/tqtc-qtconnectivity/5.15.10)
Description
In some cases the service discovery agent crashes if the application calls stop() as soon as it has discovered a service of interest.
This seems to happen because the stop() releases the broadcast receiver object, but the code that sent the "serviceDiscovered" signal still uses the receiver after the signal emission (which by then is released by the apps signal handler/stop() call).
Attachments
For Gerrit Dashboard: QTBUG-102319 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
404553,3 | Fix crash when service discovery agent (SDA) is stopped on Android | dev | qt/qtconnectivity | Status: MERGED | +2 | 0 |
410148,2 | Fix crash when service discovery agent (SDA) is stopped on Android | 6.3 | qt/qtconnectivity | Status: MERGED | +2 | 0 |
410150,2 | Fix crash when service discovery agent (SDA) is stopped on Android | tqtc/lts-6.2 | qt/tqtc-qtconnectivity | Status: MERGED | +2 | 0 |
410153,2 | Fix crash when service discovery agent (SDA) is stopped on Android | tqtc/lts-5.15 | qt/tqtc-qtconnectivity | Status: MERGED | +2 | 0 |