Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-84692

Race conditions in QJSEngine

XMLWordPrintable

    • 90d24b807373f7b4c10d1a88ffdb5d4ebed08de8 (qt/qtdeclarative/dev) 79eb26ddf76b8e74467a5930ec8269be823921eb (qt/qtdeclarative/5.15)

      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.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            fabiankosmale Fabian Kosmale
            poikelin Joni Poikelin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes