-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.15.2, 5.15.3
Doesn't seem to crash with Qt 6, or perhaps it was just good luck.
Unfortunately I couldn't reduce the example further, but attached example crashes if retranslate() is called repeatedly. To do that, click the button at the top few times.
Qt 5 in debug build triggers an assert QList::at which is called by QQmlDelegateModelPrivate::itemsRemoved().
| For Gerrit Dashboard: QTBUG-91276 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V |
| 336045,4 | qqmldelegatemodel: Fix out of bounds cache removal | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
| 338561,2 | qqmldelegatemodel: Fix out of bounds cache removal | 6.1 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
| 338562,2 | qqmldelegatemodel: Fix out of bounds cache removal | 6.0 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
| 338686,2 | qqmldelegatemodel: Fix out of bounds cache removal | tqtc/lts-5.15 | qt/tqtc-qtdeclarative | Status: MERGED | +2 | 0 |