Closed
Bug 56182
Opened 24 years ago
Closed 2 years ago
stack overflow in frame construction
Categories
(Core :: Layout, defect, P3)
Tracking
()
RESOLVED
WORKSFORME
mozilla1.2alpha
People
(Reporter: rickg, Unassigned)
References
()
Details
The layout system uses a recursive stack-based model for frame construction
which can blowup on mac after a depth of 75. For RTM, we've hacked around the
problem by prevented excessively deep trees from being stored in the content
model (via the parser). This is ugly.
The right answer is to eliminate the stack limitation in frame construction. We
can 1) use a linear rather than recursive technique; 2) switch to heap
allocation for our data structures after a certain depth (1..n); 3) switch to
arenas; 4) other?
In any event, this should be fixed post RTM. Bad dog -- no biscuit.
This should be handled in the layout. --> Mark.
Assignee: harishd → attinasi
Updated•23 years ago
|
Target Milestone: --- → mozilla1.0
Updated•23 years ago
|
Target Milestone: mozilla1.0 → mozilla1.2
Comment 7•21 years ago
|
||
*** Bug 156359 has been marked as a duplicate of this bug. ***
Updated•15 years ago
|
Assignee: attinasi → nobody
Status: ASSIGNED → NEW
QA Contact: chrispetersen → layout
Comment 8•2 years ago
|
||
For the most part we limit frame tree depth in other ways now. Reflow also is recursive, so we need to limit frame tree depth there and other engines do the same. If we want to revisit it we'd need to re-evaluate this a bit more.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•