[Webkit-unassigned] [Bug 18282] WebKit crashes with deeply nested divs

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 16 15:53:03 PDT 2009


Keith Kyzivat <kkyzivat at ovi.com> changed:

           What    |Removed                     |Added
                 CC|                            |kkyzivat at ovi.com

--- Comment #11 from Keith Kyzivat <kkyzivat at ovi.com>  2009-10-16 15:53:03 PDT ---
Not surprisingly, this problem also occurs with other nested elements.
I uncovered this in a page with deeply nested lists, and again reproduced it
with Eric Seidel's divs.html attachment.

This bug particularly affects mobile devices, as these devices typically are
low-memory, and have a maximum stack size set to orders of magnitude smaller
than desktop webkit uses.  The maximum element depth before crash on these
devices is significantly smaller - typically hundreds of levels deep instead of

Reproduced this with latest r49687 webkit sources under Linux using QtWebkit.

Attached is a backtrace from a run of QtWebkit rendering nested divs 3500 deep,
with maximum stack set to 256KBytes (ulimit -s 256).

Also attached is a modified version of Eric Seidel's divs.html, adding
parameterization of the number of levels, which I used in this testing.

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