[Webkit-unassigned] [Bug 16961] New: Out of memory exception is raised only once

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 21 13:47:32 PST 2008


http://bugs.webkit.org/show_bug.cgi?id=16961

           Summary: Out of memory exception is raised only once
           Product: WebKit
           Version: 525+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ap at webkit.org


Steps to reproduce:

run-webkit-tests fast/js/out-of-memory.html fast/js/out-of-memory.html

The second run of the the test often takes a huge amount of time, and fails
(sometimes, crashes).

That's because a global Collector::memoryFull flag is only reset when collect()
sees that memory is not full any more - but in this case, a new instance of the
test can fill the memory again before collect() is invoked. 

After an out of memory condition is detected, and an exception is raised on all
ExecStates, further allocations go unchecked.

As far as I can tell, this can easily happen in Safari, too.


-- 
Configure bugmail: http://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