[Webkit-unassigned] [Bug 22753] New: Reproducible global object leak.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 9 00:39:25 PST 2008


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

           Summary: Reproducible global object leak.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
               URL: http://ejohn.org/apps/processing.js/examples/basic/noise
                    wave.html
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: oliver at apple.com
                CC: mjs at apple.com, darin at apple.com, ap at webkit.org,
                    sam at webkit.org, ggaren at apple.com, cwzwarich at uwaterloo.ca


I have discovered a reproducible global object leak (a valuable property of our
GC: when you leak a global object, it takes very little time for maths to
become ludicrously expensive and my browsing patterns show tihs really quickly.
 Because all i look at are js raytracers :D )

Steps to reproduce:
1. Start webkit
2. Open caches window
3. Navigate to
http://ejohn.org/apps/processing.js/examples/basic/noisewave.html
4. Navigate to another page (say google.com)
5. Close browser window
6. Force GC a few times

Results:
We end up with 2 global objects leaked, probably due to the one protected
function that hangs around indefinitely. The global object contained by that
function, then history probably holds onto all the other global objects, and
subsequently everything else.


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



More information about the webkit-unassigned mailing list