Closed
Bug 376419
Opened 19 years ago
Closed 18 years ago
Crash [@ nsLineLayout::ReflowFrame][@ nsInlineFrame::ReparentFloatsForInlineChild] with generated content and ::first-line and -moz-column
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: martijn.martijn, Assigned: roc)
References
Details
(Keywords: crash, regression, testcase)
Crash Data
Attachments
(1 file)
|
676 bytes,
text/html
|
Details |
See testcase, this crashes current Mozilla trunk build on load.
It doesn't crash in a 2007-02-06 build, but does crash in a 2007-02-07 build:
http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=explicit&mindate=2007-02-06+09&maxdate=2007-02-07+07&cvsroot=%2Fcvsroot
I guess a regression from bug 177805, somehow. Not sure if that really is useful.
Talkback ID: TB30862761G
0x034a6c9e
nsLineLayout::ReflowFrame [mozilla/layout/generic/nslinelayout.cpp, line 1045]
Updated•19 years ago
|
Summary: [columns] Crash [@ nsLineLayout::ReflowFrame] with generated content and ::first-line → Crash [@ nsLineLayout::ReflowFrame] with generated content and ::first-line and -moz-column
Comment 1•18 years ago
|
||
WFM, Mac trunk nightly. Does it still crash for you?
Does the crash depend on the width of your browser window? If so, you might try making a testcase that doesn't.
| Reporter | ||
Comment 2•18 years ago
|
||
The testcase is still crashing, using:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a4pre) Gecko/20070423 Minefield/3.0a4pre
I tried 3 different browser window sizes, it crashes in all 3 of them, so it doesn't seem to depend on the window size.
Talkback ID: TB31478740Z
nsInlineFrame::ReparentFloatsForInlineChild [mozilla/layout/generic/nsinlineframe.cpp, line 263]
nsInlineFrame::ReflowInlineFrame [mozilla/layout/generic/nsinlineframe.cpp, line 649]
nsInlineFrame::ReflowFrames [mozilla/layout/generic/nsinlineframe.cpp, line 489]
nsInlineFrame::Reflow [mozilla/layout/generic/nsinlineframe.cpp, line 408]
nsLineLayout::ReflowFrame [mozilla/layout/generic/nslinelayout.cpp, line 889]
| Reporter | ||
Updated•18 years ago
|
Summary: Crash [@ nsLineLayout::ReflowFrame] with generated content and ::first-line and -moz-column → Crash [@ nsLineLayout::ReflowFrame][@ nsInlineFrame::ReparentFloatsForInlineChild] with generated content and ::first-line and -moz-column
| Reporter | ||
Comment 3•18 years ago
|
||
Still crashing, using:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a6pre) Gecko/20070611 Minefield/3.0a6pre
Comment 4•18 years ago
|
||
Is this still crashing for you? It works fine for me in a build from today.
Comment 5•18 years ago
|
||
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a6pre) Gecko/20070629 Minefield/3.0a6pre ID:2007062910
I still see a crash if I load the testcase and increase the font-size three times. (I'm not getting talkback/breakpad appear, so I can't be sure it's the same crash tho)
Comment 6•18 years ago
|
||
I wonder if the crash depends on what fonts are installed?
Comment 7•18 years ago
|
||
Is this still crashing?
| Reporter | ||
Comment 8•18 years ago
|
||
Yes, still crashing, using:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a7pre) Gecko/2007072505 Minefield/3.0a7pre
As Steve said in comment 5, you need to increase the font-size now a bunch of times to get the crash.
| Reporter | ||
Updated•18 years ago
|
Flags: blocking1.9?
Comment 9•18 years ago
|
||
I get a crash if I increase the font size three times, but the crash seems to be a text thing (bug 385270 / bug 386476) and not a -moz-column / :first-line layout thing. The crash is [@ nsTextFrameUtils::TransformText] and it is preceded by
###!!! ASSERTION: Attempting to allocate excessively large array: 'Error', file nsTArray.cpp, line 68
I'm testing with Mac trunk debug.
Comment 10•18 years ago
|
||
Now, when I increase the font size three times, I get:
yikes! spinning on a line over 1000 times!
(abort in debug / hang in opt)
That happens now with a few other testcases related to bug 385270 as well. Hmm.
| Assignee | ||
Comment 11•18 years ago
|
||
The patch in bug 390050 fixes some more serious issues with textruns and columns.
Comment 12•18 years ago
|
||
I still see the problem in comment 10 even now that bug 390050 is fixed.
Comment 13•18 years ago
|
||
Just before the "yikes!" abort, I see a bunch of repeated assertions, including:
###!!! ASSERTION: Invalid offset: 'aOffset <= mSkipChars->mCharCount', file /Users/jruderman/trunk/mozilla/gfx/thebes/src/gfxSkipChars.cpp, line 92
Comment 14•18 years ago
|
||
Now instead of the hang and "invalid offset", I get
###!!! ASSERTION: Attempting to allocate excessively large array: 'Error', file nsTArray.cpp, line 68
and a crash like in bug 384527.
| Assignee | ||
Updated•18 years ago
|
Assignee: nobody → roc
Flags: blocking1.9? → blocking1.9+
Comment 15•18 years ago
|
||
Now (still on Mac) I get:
###!!! ASSERTION: no element to return: '!empty()', file /Users/jruderman/trunk/mozilla/layout/generic/nsLineBox.h, line 1247
###!!! ASSERTION: running past end: 'mCurrent != mListLink', file /Users/jruderman/trunk/mozilla/layout/base/../generic/nsLineBox.h, line 620
like in bug 397007. I haven't tested to see whether roc's patch in that bug helps here.
Depends on: 397007
Comment 16•18 years ago
|
||
Before bug 397007 was fixed, I see the same assertions as in last comment and
then a crash. With bug 397007 fixed the assertions and crash is gone. On Linux.
I still see:
###!!! ASSERTION: ResolveBidi called on non-first continuation: '!GetPrevInFlow()', file nsBlockFrame.cpp, line 6670
but bug 394805 should fix that.
Flags: in-testsuite?
Whiteboard: FIXED?
| Assignee | ||
Comment 17•18 years ago
|
||
Yes, the testcase loads without assertions now that 394805 is fixed.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•18 years ago
|
Whiteboard: FIXED?
Updated•14 years ago
|
Crash Signature: [@ nsLineLayout::ReflowFrame]
[@ nsInlineFrame::ReparentFloatsForInlineChild]
Comment 18•13 years ago
|
||
Crash Signature: [@ nsLineLayout::ReflowFrame]
[@ nsInlineFrame::ReparentFloatsForInlineChild] → [@ nsLineLayout::ReflowFrame]
[@ nsInlineFrame::ReparentFloatsForInlineChild]
Flags: in-testsuite? → in-testsuite+
Comment 19•13 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•