[Webkit-unassigned] [Bug 51086] New: QWebView::setUrl leaks 6 MB

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 14 18:59:22 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=51086

           Summary: QWebView::setUrl leaks 6 MB
           Product: WebKit
           Version: 523.x (Safari 3)
          Platform: PC
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Major
          Priority: P2
         Component: WebKit Qt
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: webkit95 at gmail.com


According to BoundsChecker, and verified with Memory Validator, the following code results 10,245 leaks for a total 6 MB in memory leaked:

#include <QApplication>
#include <QWebView>

int main(int argc, char *argv[])
{
  QApplication a(argc, argv);
  QWebView*  pWidget = new QWebView();
  pWidget->setUrl(QUrl("http://www.google.com"));
  pWidget->show();

  a.exec();

  delete pWidget;

  return 0;
}

using Qt 4.6.3.  The largest single leak is 4.2 MB with the following call stack:

RegisterFile::RegisterFile
Interpreter::Interpreter
JSGlobalData::JSGlobalData
JSGlobalData::create
JSGlobalData::createLeaked

Additional calls to setUrl add 6-7 additional MBs.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list