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

ScopeChainNode memory leak in QtScript/JavaScriptCore

XMLWordPrintable

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

      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?

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes