Closed Bug 757413 Opened 14 years ago Closed 10 years ago

Crash [@ mozilla::layout::FrameChildListIterator::FrameChildListIterator] with ASSERTION: Null out-of-flow for placeholder

Categories

(Core :: Layout, defect)

defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox15 - ---
firefox16 - ---

People

(Reporter: decoder, Unassigned)

References

Details

(5 keywords, Whiteboard: [native-crash])

Crash Data

Attachments

(4 files)

This bug was filed from the Socorro interface and is report bp-cbbf3665-0c50-48f4-8514-9ffdc2120522 . ============================================================= The following HTML code (save as .xhtml file), crashes Fennec Native (tested on nightly and debug build rev 95437bcc43dc) when visiting the page and then navigating away from it: <html xmlns="http://www.w3.org/1999/xhtml"> <head> <script> function aC(r, n) { if (r) { r.appendChild(n); } else { rM(n); } } function iB(r, n) { if (r) { r.parentNode.insertBefore(n, r); } else { rM(n); } } allNodes = []; allNodes[0] = document.documentElement; allNodes[50] = document.createTextNode("Foo"); allNodes[63] = document.createElementNS("http://www.w3.org/1999/xhtml", "tr"); allNodes[73] = document.createElementNS("http://www.w3.org/1999/xhtml", "select"); allNodes[76] = document.createElementNS("http://www.w3.org/1999/xhtml", "option"); (allNodes[73] || allNodes[72] || allNodes[63] || allNodes[44] || allNodes[5] || document.documentElement).appendChild(allNodes[76]); allNodes[78] = document.createTextNode("\n "); (allNodes[63] || allNodes[44] || allNodes[5] || document.documentElement).appendChild(allNodes[78]); allNodes[88] = document.createElementNS("http://www.w3.org/1999/xhtml", "legend"); allNodes[89] = document.createTextNode("Your name"); allNodes[98] = document.createTextNode("\n "); allNodes[125] = document.createElementNS("http://www.w3.org/1999/xhtml", "option"); allNodes[0].style.MozColumnCount = "115"; aC(allNodes[88], allNodes[98]); iB(allNodes[98], allNodes[63]); allNodes[63].style.cssFloat = "right"; aC(allNodes[0], allNodes[88]); aC(allNodes[88], allNodes[125]); iB(allNodes[88], allNodes[73]); function run() { iB(allNodes[78], allNodes[89]); aC(allNodes[76], allNodes[50]); } setTimeout(run, 1000); </script> </head> </html> Furthermore, this code triggers an assertion on debug builds before crashing: ###!!! ASSERTION: Null out-of-flow for placeholder?: 'outOfFlow', file layout/base/../generic/nsPlaceholderFrame.h, line 199
Component: General → Layout
Product: Fennec Native → Core
QA Contact: general → layout
Hardware: All → ARM
Whiteboard: [native-crash]
Crashes desktop when navigating away from the page as well. Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:15.0) Gecko/15.0 Firefox/15.0a1 http://hg.mozilla.org/mozilla-central/rev/c20d415ef1b5
Also crashes my Linux64 debug build using a fresh profile. Before the assertion mentioned in the description, I see these two: ###!!! ASSERTION: frame tree not empty, but caller reported complete status: 'aSubtreeRoot->GetPrevInFlow()', file layout/base/nsLayoutUtils.cpp, line 4317 ###!!! ASSERTION: frame tree not empty, but caller reported complete status: 'start == end || IsInLetterFrame(aSubtreeRoot)', file layout/base/nsLayoutUtils.cpp, line 4331
OS: Android → All
Hardware: ARM → All
Whiteboard: [native-crash]
Attached file stack
The native-crash whiteboard means it happens also in FennecAndroid.
Whiteboard: [native-crash]
Somewhat simplified test...
Before crashing, this triggers: ###!!! ASSERTION: null parameters passed in: 'nsnull != aFrame && nsnull != aState', file layout/base/nsFrameManager.cpp, line 1747
Depends on: 772320
Assigning to Mats (as he's also the assignee on bug 772320) and setting for tracking 15 since this is a regression in 15 that has a reproducible crash we'd prefer not to ship with.
Assignee: nobody → matspal
Keywords: reproducible
At this stage in the cycle, we're about to go to build on our last beta for FF15 so I'm moving the tracking for this to 16 in the hopes that we can still get a fix here for a reproducible crash.
Assignee: matspal → nobody
Spoke with the team - won't be able to fix this in a low risk fashion, and the crash volume here isn't bad. Untracking for release.
I can't reproduce this in a recent Nightly, nor a local ASAN build, on Linux64. There's been at least one fix a while ago (involving nsOverflowContinuationTracker and deleting column next-in-flows) that might have fixed this bug. Can anyone else still repro this crash? (bug 772320 have a couple of STR too)
Flags: in-testsuite?
Keywords: qawanted
I can still reproduce the crash with attachment 626336 [details] testcase 3 (close to crash) on Firefox31b9. But not crash on Aurora32.0a2 and Nightly33.0a1.
Sounds like this is WFM on trunk
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
Flags: in-testsuite? → in-testsuite+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: