Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.15.0
-
90d24b807373f7b4c10d1a88ffdb5d4ebed08de8 (qt/qtdeclarative/dev) 79eb26ddf76b8e74467a5930ec8269be823921eb (qt/qtdeclarative/5.15)
Description
Looks like newQObject() has a cache that is not safe and also it looks like QJSEngine constructor can also crash. Documentation says that all QJSEngine functions should be reentrant, but this looks like the cache is shared and not protected. To reproduce, run attached application a while and it crashes.
Attachments
For Gerrit Dashboard: QTBUG-84692 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
302943,6 | Fix race condition in QQmlData::createPropertyCache | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
303205,5 | Fix race condition in QQmlData::createPropertyCache | 5.15 | qt/qtdeclarative | Status: MERGED | +2 | 0 |