Closed Bug 266754 Opened 17 years ago Closed 14 years ago

Reflow of frame failed in nsLineLayout, file nsLineLayout.cpp, line 1003 ###!!! ASSERTION: reflow dirty lines failed: 'NS_SUCCEEDED(rv)', file nsBlockFrame.cpp, line 827

Categories

(Core :: DOM: Core & HTML, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: mmokrejs, Unassigned)

References

Details

(Keywords: assertion)

Attachments

(1 file, 1 obsolete file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a5) Gecko/20041029
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a5) Gecko/20041029

WARNING: Content has no document., file nsTextFrame.cpp, line 5247
WARNING: Reflow of frame failed in nsLineLayout, file nsLineLayout.cpp, line 1003
###!!! ASSERTION: reflow dirty lines failed: 'NS_SUCCEEDED(rv)', file
nsBlockFrame.cpp, line 827
Break: at file nsBlockFrame.cpp, line 827
Suspending process; attach with the debugger.

Program received signal SIGSTOP, Stopped (signal).
[Switching to Thread 49156 (LWP 5706)]
0xb7d1cf86 in nanosleep () from /lib/libpthread.so.0
(gdb) where
#0  0xb7d1cf86 in nanosleep () from /lib/libpthread.so.0
#1  0x00000001 in ?? ()
#2  0xb7d194c6 in __pthread_timedsuspend_new () from /lib/libpthread.so.0
#3  0xb7d160a4 in pthread_cond_timedwait_relative () from /lib/libpthread.so.0
#4  0xb7db55bc in pt_TimedWait (cv=0x80953fc, ml=0x80962d8, timeout=31806) at
ptsynch.c:267
#5  0xb7db5ad3 in PR_WaitCondVar (cvar=0x80953f8, timeout=31806) at ptsynch.c:394
#6  0xb7f87414 in TimerThread::Run() (this=0x8095328) at TimerThread.cpp:324
#7  0xb7f82f8f in nsThread::Main(void*) (arg=0x82dc280) at nsThread.cpp:118
#8  0xb7dbd338 in _pt_root (arg=0x82dc300) at ptthread.c:217
#9  0xb7d16dfe in pthread_start_thread () from /lib/libpthread.so.0
#10 0xb7d16e88 in pthread_start_thread_event () from /lib/libpthread.so.0
#11 0xb79129aa in clone () from /lib/libc.so.6
(gdb)

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Attached file gdb output
Testcase?
Martin, can you provide a URL or sample page that triggers this?
Sorry, I don't seem to reproduce it now. I'll let you know if I hit that bug.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → INVALID
OK, I can reproduce even with current cvs snapshot. Open from menu:
Debug/Verification/Transparency and afterwards go for frames test, without
stopping the flying text test from previous test:
Debug/Viewever demos/Frames

You should get it.
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
So the problem here is that when we unload the old page we set the script global
object to null on the document.  That unsets the document pointers in all child
content, but doesn't do anything else... then the reflow timer fires and we try
to do a reflow, which fails because we have content nodes not in a document that
still have frames attached.

The right thing to do, in my opinion, is to send a DocumentWillBeDestroyed
notification when the script global is unset.  That will let the presshell and
other document observers know that the document state is no longer being
maintained.  Then the document doesn't have to know about anonymous content
either; the presshell can just clean it up in DocumentWillBeDestroyed.

The call to DocumentWillBeDestroyed in ~nsDocument can stay, conditioned on
!mIsGoingAway.  That way, documents that have no script globals that are being
observed will still notify their observers of destruction.
Component: Layout → DOM
I'll attach a hack to make the assert go away in a second... but first, there
seem to be a lot of cleanup-type functions about that could use consolidation. 
For example, nsPresShell::Destroy and nsPresShell::EndObservingDocument.  The
former is called from... something.  The latter is called by the content viewer.
 Both should really be called when the document goes away, I would think.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attached patch Proof-of-concept (obsolete) — Splinter Review
Note that the presshell changes alone are not sufficient to fix the bug.  So
apparently EndObservingDocument() is being called way too late as well (which
makes sense; it's being called when we unsuppress painting).

I think the right thing to do is to change DocumentWillBeDestroyed impls to not
remove the observers (since the document handles that part), such that we don't
have to do the mInDestructor check in RemoveObserver().  Then we should figure
out which parts of presshell shutdown can happen immediately upon the document
going away and which parts should stick about till the paint suppression timer
fires on the next page.  The latter should happen in Destroy(), the former in
EndObservingDocument.
More on this using todays cvs snapshot build. happens when I try to search bugzilla.

Document http://bugzilla.mozilla.org/ loaded successfully
Begin mail message delivery.
Abort mail message delivery.
WARNING: Content has no document., file nsTextFrame.cpp, line 5368
WARNING: Reflow of frame failed in nsLineLayout, file nsLineLayout.cpp, line 1003
###!!! ASSERTION: reflow dirty lines failed: 'NS_SUCCEEDED(rv)', file
nsBlockFrame.cpp, line 834
Break: at file nsBlockFrame.cpp, line 834
nsBlockReflowContext: Block(body)(2)@0xb41dc584 metrics=-559038737,-559038737!
nsBlockReflowContext: Block(body)(2)@0xb41dc584 didn't set whad
-559038737,-559038737,-559038737,-559038737!
###!!! ASSERTION: reflow dirty lines failed: 'NS_SUCCEEDED(rv)', file
nsBlockFrame.cpp, line 834
Break: at file nsBlockFrame.cpp, line 834
Document
https://bugzilla.mozilla.org/buglist.cgi?bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&field0-0-0=product&type0-0-0=substring&value0-0-0=ASSERTION%3A&field0-0-1=component&type0-0-1=substring&value0-0-1=ASSERTION%3A&field0-0-2=short_desc&type0-0-2=substring&value0-0-2=ASSERTION%3A&field0-0-3=status_whiteboard&type0-0-3=substring&value0-0-3=ASSERTION%3A&field1-0-0=product&type1-0-0=substring&value1-0-0=nsTDependentSubstring&field1-0-1=component&type1-0-1=substring&value1-0-1=nsTDependentSubstring&field1-0-2=short_desc&type1-0-2=substring&value1-0-2=nsTDependentSubstring&field1-0-3=status_whiteboard&type1-0-3=substring&value1-0-3=nsTDependentSubstring&field2-0-0=product&type2-0-0=substring&value2-0-0=must&field2-0-1=component&type2-0-1=substring&value2-0-1=must&field2-0-2=short_desc&type2-0-2=substring&value2-0-2=must&field2-0-3=status_whiteboard&type2-0-3=substring&value2-0-3=must&field3-0-0=product&type3-0-0=substring&value3-0-0=wrap&field3-0-1=component&type3-0-1=substring&value3-0-1=wrap&field3-0-2=short_desc&type3-0-2=substring&value3-0-2=wrap&field3-0-3=status_whiteboard&type3-0-3=substring&value3-0-3=wrap&field4-0-0=short_desc&type4-0-0=substring&value4-0-0=a&field4-0-1=status_whiteboard&type4-0-1=substring&value4-0-1=a&field5-0-0=product&type5-0-0=substring&value5-0-0=non-NULL&field5-0-1=component&type5-0-1=substring&value5-0-1=non-NULL&field5-0-2=short_desc&type5-0-2=substring&value5-0-2=non-NULL&field5-0-3=status_whiteboard&type5-0-3=substring&value5-0-3=non-NULL&field6-0-0=product&type6-0-0=substring&value6-0-0=buffer&field6-0-1=component&type6-0-1=substring&value6-0-1=buffer&field6-0-2=short_desc&type6-0-2=substring&value6-0-2=buffer&field6-0-3=status_whiteboard&type6-0-3=substring&value6-0-3=buffer
loaded successfully
Summary: Reflow of frame failed in nsLineLayout, file nsLineLayout.cpp, line 1003 ###!!! ASSERTION: reflow dirty lines failed: 'NS_SUCCEEDED(rv)', file nsBlockFrame.cpp, line 827 → Reflow of frame failed in nsLineLayout, file nsLineLayout.cpp, line 1003
Summary: Reflow of frame failed in nsLineLayout, file nsLineLayout.cpp, line 1003 → Reflow of frame failed in nsLineLayout, file nsLineLayout.cpp, line 1003 ###!!! ASSERTION: reflow dirty lines failed: 'NS_SUCCEEDED(rv)', file nsBlockFrame.cpp, line 827
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b4) Gecko/20050810 Firefox/1.0+

I just experienced this bug after the following steps (ish):

1. Query bugzilla.
2. While page is in "Please stand by ..." status, press back.

Unfortunately I cannot reproduce reliably, but this is what I was doing when I
got these errors (home-made DEBUG build.)

WARNING: Content has no document., file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsTextFrame.cpp,
line 5727
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
WARNING: Content has no document., file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsTextFrame.cpp,
line 5727
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
###!!! ASSERTION: reflow dirty lines failed: 'NS_SUCCEEDED(rv)', file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsBlockFrame.cpp,
line 877
Break: at file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsBlockFrame.cpp,
line 877
WARNING: Content has no document., file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsTextFrame.cpp,
line 5727
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
WARNING: Content has no document., file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsTextFrame.cpp,
line 5727
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
###!!! ASSERTION: reflow dirty lines failed: 'NS_SUCCEEDED(rv)', file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsBlockFrame.cpp,
line 877
Break: at file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsBlockFrame.cpp,
line 877
WARNING: Content has no document., file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsTextFrame.cpp,
line 5727
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
WARNING: Content has no document., file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsTextFrame.cpp,
line 5727
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
###!!! ASSERTION: reflow dirty lines failed: 'NS_SUCCEEDED(rv)', file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsBlockFrame.cpp,
line 877
Break: at file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsBlockFrame.cpp,
line 877
WARNING: Content has no document., file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsTextFrame.cpp,
line 5727
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
WARNING: Content has no document., file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsTextFrame.cpp,
line 5727
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
###!!! ASSERTION: reflow dirty lines failed: 'NS_SUCCEEDED(rv)', file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsBlockFrame.cpp,
line 877
Break: at file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsBlockFrame.cpp,
line 877
WARNING: Content has no document., file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsTextFrame.cpp,
line 5727
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
WARNING: Content has no document., file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsTextFrame.cpp,
line 5727
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
###!!! ASSERTION: reflow dirty lines failed: 'NS_SUCCEEDED(rv)', file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsBlockFrame.cpp,
line 877
Break: at file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsBlockFrame.cpp,
line 877
WARNING: Content has no document., file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsTextFrame.cpp,
line 5727
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
WARNING: Content has no document., file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsTextFrame.cpp,
line 5727
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
###!!! ASSERTION: reflow dirty lines failed: 'NS_SUCCEEDED(rv)', file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsBlockFrame.cpp,
line 877
Break: at file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsBlockFrame.cpp,
line 877
WARNING: Content has no document., file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsTextFrame.cpp,
line 5727
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
WARNING: Content has no document., file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsTextFrame.cpp,
line 5727
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
###!!! ASSERTION: reflow dirty lines failed: 'NS_SUCCEEDED(rv)', file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsBlockFrame.cpp,
line 877
Break: at file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsBlockFrame.cpp,
line 877
WARNING: Content has no document., file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsTextFrame.cpp,
line 5727
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
WARNING: Content has no document., file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsTextFrame.cpp,
line 5727
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
###!!! ASSERTION: reflow dirty lines failed: 'NS_SUCCEEDED(rv)', file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsBlockFrame.cpp,
line 877
Break: at file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsBlockFrame.cpp,
line 877
WARNING: Content has no document., file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsTextFrame.cpp,
line 5727
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
WARNING: Content has no document., file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsTextFrame.cpp,
line 5727
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
###!!! ASSERTION: reflow dirty lines failed: 'NS_SUCCEEDED(rv)', file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsBlockFrame.cpp,
line 877
Break: at file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsBlockFrame.cpp,
line 877
WARNING: Content has no document., file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsTextFrame.cpp,
line 5727
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
WARNING: Content has no document., file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsTextFrame.cpp,
line 5727
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
###!!! ASSERTION: reflow dirty lines failed: 'NS_SUCCEEDED(rv)', file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsBlockFrame.cpp,
line 877
Break: at file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsBlockFrame.cpp,
line 877
WARNING: Content has no document., file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsTextFrame.cpp,
line 5727
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
WARNING: Content has no document., file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsTextFrame.cpp,
line 5727
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
###!!! ASSERTION: reflow dirty lines failed: 'NS_SUCCEEDED(rv)', file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsBlockFrame.cpp,
line 877
Break: at file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsBlockFrame.cpp,
line 877
WARNING: Content has no document., file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsTextFrame.cpp,
line 5727
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
WARNING: Content has no document., file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsTextFrame.cpp,
line 5727
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
###!!! ASSERTION: reflow dirty lines failed: 'NS_SUCCEEDED(rv)', file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsBlockFrame.cpp,
line 877
Break: at file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsBlockFrame.cpp,
line 877
WARNING: Content has no document., file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsTextFrame.cpp,
line 5727
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
WARNING: Content has no document., file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsTextFrame.cpp,
line 5727
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
###!!! ASSERTION: reflow dirty lines failed: 'NS_SUCCEEDED(rv)', file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsBlockFrame.cpp,
line 877
Break: at file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsBlockFrame.cpp,
line 877
WARNING: Content has no document., file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsTextFrame.cpp,
line 5727
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
WARNING: Content has no document., file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsTextFrame.cpp,
line 5727
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
###!!! ASSERTION: reflow dirty lines failed: 'NS_SUCCEEDED(rv)', file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsBlockFrame.cpp,
line 877
Break: at file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsBlockFrame.cpp,
line 877
WARNING: Content has no document., file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsTextFrame.cpp,
line 5727
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
WARNING: Content has no document., file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsTextFrame.cpp,
line 5727
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
###!!! ASSERTION: reflow dirty lines failed: 'NS_SUCCEEDED(rv)', file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsBlockFrame.cpp,
line 877
Break: at file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsBlockFrame.cpp,
line 877
WARNING: Content has no document., file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsTextFrame.cpp,
line 5727
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
WARNING: Content has no document., file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsTextFrame.cpp,
line 5727
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
###!!! ASSERTION: reflow dirty lines failed: 'NS_SUCCEEDED(rv)', file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsBlockFrame.cpp,
line 877
Break: at file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsBlockFrame.cpp,
line 877
WARNING: Content has no document., file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsTextFrame.cpp,
line 5727
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
WARNING: Content has no document., file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsTextFrame.cpp,
line 5727
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
###!!! ASSERTION: reflow dirty lines failed: 'NS_SUCCEEDED(rv)', file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsBlockFrame.cpp,
line 877
Break: at file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsBlockFrame.cpp,
line 877
WARNING: Content has no document., file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsTextFrame.cpp,
line 5727
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
WARNING: Content has no document., file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsTextFrame.cpp,
line 5727
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
###!!! ASSERTION: reflow dirty lines failed: 'NS_SUCCEEDED(rv)', file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsBlockFrame.cpp,
line 877
Break: at file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsBlockFrame.cpp,
line 877
WARNING: Content has no document., file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsTextFrame.cpp,
line 5727
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
WARNING: Content has no document., file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsTextFrame.cpp,
line 5727
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
###!!! ASSERTION: reflow dirty lines failed: 'NS_SUCCEEDED(rv)', file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsBlockFrame.cpp,
line 877
Break: at file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsBlockFrame.cpp,
line 877
WARNING: Content has no document., file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsTextFrame.cpp,
line 5727
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
WARNING: Content has no document., file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsTextFrame.cpp,
line 5727
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
###!!! ASSERTION: reflow dirty lines failed: 'NS_SUCCEEDED(rv)', file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsBlockFrame.cpp,
line 877
Break: at file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsBlockFrame.cpp,
line 877
WARNING: Content has no document., file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsTextFrame.cpp,
line 5727
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
WARNING: Content has no document., file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsTextFrame.cpp,
line 5727
WARNING: Reflow of frame failed in nsLineLayout, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 996
###!!! ASSERTION: reflow dirty lines failed: 'NS_SUCCEEDED(rv)', file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsBlockFrame.cpp,
line 877
Break: at file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsBlockFrame.cpp,
line 877

Note: This bug should have keyword "assertion".
Keywords: assertion
I just built a 1.5.0.2 debug release of TB yesterday, and I get this assertion constantly (every time I click on a new mail message). I'm new to Mozilla build/debug, so let me know if I should be feeding this info back somewhere else.

WARNING: Content has no document., file c:/moz/mozilla/layout/generic/nsTextFrame.cpp, line 5866
WARNING: Reflow of frame failed in nsLineLayout, file c:/moz/mozilla/layout/generic/nsLineLayout.cpp, line 997
###!!! ASSERTION: reflow dirty lines failed: 'NS_SUCCEEDED(rv)', file c:/moz/mozilla/layout/generic/nsBlockFrame.cpp, line 903
WARNING: Content has no document., file c:/moz/mozilla/layout/generic/nsTextFrame.cpp, line 5866
WARNING: Reflow of frame failed in nsLineLayout, file c:/moz/mozilla/layout/generic/nsLineLayout.cpp, line 997
WARNING: Reflow of frame failed in nsLineLayout, file c:/moz/mozilla/layout/generic/nsLineLayout.cpp, line 997
###!!! ASSERTION: reflow dirty lines failed: 'NS_SUCCEEDED(rv)', file c:/moz/mozilla/layout/generic/nsBlockFrame.cpp, line 903
WARNING: Content has no document., file c:/moz/mozilla/layout/generic/nsTextFrame.cpp, line 5866
WARNING: Reflow of frame failed in nsLineLayout, file c:/moz/mozilla/layout/generic/nsLineLayout.cpp, line 997
WARNING: Reflow of frame failed in nsLineLayout, file c:/moz/mozilla/layout/generic/nsLineLayout.cpp, line 997
###!!! ASSERTION: reflow dirty lines failed: 'NS_SUCCEEDED(rv)', file c:/moz/mozilla/layout/generic/nsBlockFrame.cpp, line 903
WARNING: NS_ENSURE_TRUE(nsDoc) failed, file c:/moz/mozilla/content/xul/content/src/nsXULElement.cpp, line 2535
Shift-Reloading "Testcase #1" in bug 339337 a few times triggers these
assertions.
Blocks: 349699
Depends on: 348156
Are you guys still seeing this assertion with the steps given?

Comment 5 (Martin Mokrejs) refers to a Seamonkey's debug menu, so I can't test it easily.

Comment 10 (Daniel Cater) WFM.

Comment 12 (Mats Palmgren) WFM.
Should be fixed by patch in bug 348156
Status: NEW → RESOLVED
Closed: 17 years ago14 years ago
Resolution: --- → FIXED
Flags: in-testsuite?
Attachment #165369 - Attachment is obsolete: true
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.