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

ScopeChainNode memory leak in QtScript/JavaScriptCore

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 4.7.2
    • 4.7.1
    • Qt Script
    • None

    Description

      Playing Mine Hunt Declarative demo application causes continuous memory increase. This was checked by playing the Mine Hunt long time in Windows XP and checking the memory consumption in Task Manager. Similar increase is seen also with Symbian QML Components applications (list scrolling and panning and many other cases).

      It seems that the count of ScopeChainNode objects (in \Qt\4.7.1\src\3rdparty\javascriptcore\JavaScriptCore\runtime\ScopeChain.h) keeps increasing.

      There is also a related suspicious comment in JSFunction.cpp:
      scopeChain().~ScopeChain(); // FIXME: Don't we need to do this in the interpreter too?

      Attachments

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

        Activity

          People

            aakenned Aaron Kennedy
            kiilholm Mikko Kiilholma
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes