Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.7.0 FF, dev
-
None
-
0a7f89007 (dev), 1207d0a37 (6.7)
Description
I first noticed it while doing a UI update for Bluetooth HeartRate Game, but I can also reproduce a similar crash with Bluetooth Low Energy Scanner example.
I use an ASAN build of Qt.
Steps to reproduce:
- Build HeartRate Game example from the dev branch.
- Run it with the --simulator command line argument, so that it would not require an actual bluetooth device to connect to.
- Press "START SEARCH" for the first time - it will simulate the search and show a bunch of "Demo device" entries.
- Staying on the same page, press "START SEARCH" again -> the application will trigger an ASAN "heap-use-after-free" error and crash.
The full ASAN log is attached.
I suspect that it is caused by https://codereview.qt-project.org/c/qt/qtdeclarative/+/520292 because it's where the ASAN log points to.
Attachments
For Gerrit Dashboard: QTBUG-120113 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
525728,5 | DelegateModel: Do not redundantly re-scan model data all the time | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
527468,2 | DelegateModel: Do not redundantly re-scan model data all the time | 6.7 | qt/qtdeclarative | Status: MERGED | +2 | 0 |