[Webkit-unassigned] [Bug 107257] [GTK] fast/js/toString-stack-overflow.html is crashing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 18 13:16:35 PST 2013


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





--- Comment #1 from Zan Dobersek <zandobersek at gmail.com>  2013-01-18 13:18:23 PST ---
This test is crashing due to stack size being too large. This was caused by increasing the swap size on the debug builder (I believe from 8GB to 12GB, while the system also has 8GB of RAM).

Two more tests started failing because of the same cause:
fast/dom/Window/window-postmessage-clone-deep-array.html
fast/js/large-expressions.html

On the setup I'm using (8GB of RAM, 18GB of swap), I've ran a simple test in both Chrome and GtkLauncher:
var i = 0;
function rec() {
    i++;
    rec();
}

try {
    rec();
} catch (error) {
    console.log("Got error " + error);
    console.log("Hit the top at " + i);
}

In Chrome, I get 25083 recursions while in GtkLauncher I get 58034 of those.

Debugging the stack size, the stack made available through pthread is (on my setup) 8MB large.
http://trac.webkit.org/browser/trunk/Source/WTF/wtf/StackBounds.cpp#L131

-- 
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