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.