[Webkit-unassigned] [Bug 104684] [GTK] fast/xmlhttprequest/xmlhttprequest-recursive-sync-event.html is crashing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jan 19 11:15:21 PST 2013


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





--- Comment #4 from Zan Dobersek <zandobersek at gmail.com>  2013-01-19 11:17:10 PST ---
The test started failing on the 64-bit debug builder after the swap on that system was increased in size. It seems that caused an increase in the stack size as well, causing this test to crash but other test failures as well (bug #107257).

At the moment I don't have any clear idea of how to approach that. In the case of this test and the current soup behavior, this seems as an occurrence that any user could stumble upon.

(In reply to comment #3)
> Eventually, we should switch to using the new "plain" SoupSession (rather than SoupSessionAsync), which lets you do both blocking and async I/O with the same session, and then we can just do blocking I/O here rather than async-I/O-on-a-new-GMainContext, so we wouldn't use an extra fd per sync request.

That seems ideal.

> There might be other issues with that though that will take some time to iron out, so an easier short-term fix would be to add our own xmlhttprequest nesting limit and throw StackOverflowError earlier than we normally would.

I'm not sure if that is doable. The stack is controlled solely in JavaScriptCore, with (to me) no clear way of limiting the XHR nesting count from WebCore.

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