Summary: | [GTK] fast/js/toString-stack-overflow.html is crashing | ||
---|---|---|---|
Product: | WebKit | Reporter: | Zan Dobersek <zan> |
Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW --- | ||
Severity: | Normal | CC: | bugs-noreply, spenap |
Priority: | P2 | Keywords: | Gtk, LayoutTestFailure |
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | 113168 | ||
Bug Blocks: |
Description
Zan Dobersek
2013-01-18 04:19:27 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 This test now fails but doesn't crash any more. |