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

Race conditions in QJSEngine

    XMLWordPrintable

    Details

    • Commits:
      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

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

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes