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

QQmlObjectCreator::beginPopulateDeferred: Incorrct usage of scope

    XMLWordPrintable

Details

    • 61d7cf160 (dev)

    Description

      beginPopulateDeferred creates a scope, uses its alloc function to initalize a pointer, and then the scope gets destroyed immediately, leaving a dangling pointer to the JS heap.

      This needs to be fixed (either by getting rid of the need to initialize allJavaScriptObjects, or by tying the lifetime of the scope to it).

      Attachments

        For Gerrit Dashboard: QTBUG-122956
        # Subject Branch Project Status CR V

        Activity

          People

            fabiankosmale Fabian Kosmale
            fabiankosmale Fabian Kosmale
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes