nsBlockFrame::Reflow assert - reflow dirty lines failed - from SM mail viewer

RESOLVED WORKSFORME

Status

()

RESOLVED WORKSFORME
12 years ago
4 years ago

People

(Reporter: mozilla-bugs, Unassigned)

Tracking

({assertion})

Trunk
x86
Linux
assertion
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

12 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.8.0.6) Gecko/20060806 SeaMonkey/1.0.4
Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.8.0.6) Gecko/20060806 SeaMonkey/1.0.4

Build: MOZILLA_1_8_BRANCH for suite

Using mail function of SEAMONKEY.
I click on a plain text email, maybe 500 lines line to display the email inside the mailnews window.

This assertion does not happen in SEAMONKEY_1_0_4_RELEASE.
This assertion does not cause a crash.


WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsScriptSecurityManager.cpp, line 862
++DOMWINDOW == 9
WARNING: NS_ENSURE_TRUE(aEntryName) failed, file nsCategoryManager.cpp, line 567
WARNING: Content has no document., file nsTextFrame.cpp, line 5892
WARNING: Reflow of frame failed in nsLineLayout, file nsLineLayout.cpp, line 997
###!!! ASSERTION: reflow dirty lines failed: 'NS_SUCCEEDED(rv)', file nsBlockFrame.cpp, line 903
Break: at file nsBlockFrame.cpp, line 903

Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 47329807178944 (LWP 15178)]
0x00002b0bd3dff9e5 in nsDebugImpl::Break (this=0x70aab0, aFile=0x2aaaabb00af0 "nsBlockFrame.cpp", aLine=903) at nsDebugImpl.cpp:329
329           DebugBreak();
(gdb) bt
#0  0x00002b0bd3dff9e5 in nsDebugImpl::Break (this=0x70aab0, aFile=0x2aaaabb00af0 "nsBlockFrame.cpp", aLine=903) at nsDebugImpl.cpp:329
#1  0x00002b0bd3dff775 in nsDebugImpl::Assertion (this=0x70aab0, aStr=0x2aaaabb026ee "reflow dirty lines failed", aExpr=0x2aaaabb01a9c "NS_SUCCEEDED(rv)",
    aFile=0x2aaaabb00af0 "nsBlockFrame.cpp", aLine=903) at nsDebugImpl.cpp:266
#2  0x00002b0bd3d7206e in NSGlue_Assertion (aStr=0x2aaaabb026ee "reflow dirty lines failed", aExpr=0x2aaaabb01a9c "NS_SUCCEEDED(rv)", aFile=0x2aaaabb00af0 "nsBlockFrame.cpp",
    aLine=903) at nsDebug.cpp:106
#3  0x00002aaaab4ccb02 in nsBlockFrame::Reflow (this=0x2aaab0e55ee0, aPresContext=0x2aaab0179310, aMetrics=@0x7fffffecfbe0, aReflowState=@0x7fffffecfad0, aStatus=@0x7fffffecfeac)
    at nsBlockFrame.cpp:903
#4  0x00002aaaab4dbde3 in nsContainerFrame::ReflowChild (this=0x2aaab0e45dd8, aKidFrame=0x2aaab0e55ee0, aPresContext=0x2aaab0179310, aDesiredSize=@0x7fffffecfbe0,
    aReflowState=@0x7fffffecfad0, aX=0, aY=0, aFlags=0, aStatus=@0x7fffffecfeac) at nsContainerFrame.cpp:905
#5  0x00002aaaab509c90 in CanvasFrame::Reflow (this=0x2aaab0e45dd8, aPresContext=0x2aaab0179310, aDesiredSize=@0x7fffffecff80, aReflowState=@0x7fffffecfd90,
    aStatus=@0x7fffffecfeac) at nsHTMLFrame.cpp:531
#6  0x00002aaaab4dbde3 in nsContainerFrame::ReflowChild (this=0x2aaab0e46028, aKidFrame=0x2aaab0e45dd8, aPresContext=0x2aaab0179310, aDesiredSize=@0x7fffffecff80,
    aReflowState=@0x7fffffecfd90, aX=0, aY=0, aFlags=3, aStatus=@0x7fffffecfeac) at nsContainerFrame.cpp:905
#7  0x00002aaaab501be0 in nsHTMLScrollFrame::ReflowScrolledFrame (this=0x2aaab0e46028, aState=@0x7fffffed0050, aAssumeHScroll=0, aAssumeVScroll=0, aMetrics=0x7fffffecff80,
    aFirstPass=1) at nsGfxScrollFrame.cpp:515
#8  0x00002aaaab501d4b in nsHTMLScrollFrame::ReflowContents (this=0x2aaab0e46028, aState=0x7fffffed0050, aDesiredSize=@0x7fffffed0530) at nsGfxScrollFrame.cpp:570
#9  0x00002aaaab504d7b in nsHTMLScrollFrame::Reflow (this=0x2aaab0e46028, aPresContext=0x2aaab0179310, aDesiredSize=@0x7fffffed0530, aReflowState=@0x7fffffed0310,
    aStatus=@0x7fffffed07dc) at nsGfxScrollFrame.cpp:768
#10 0x00002aaaab4dbde3 in nsContainerFrame::ReflowChild (this=0x2aaab0e45cd0, aKidFrame=0x2aaab0e46028, aPresContext=0x2aaab0179310, aDesiredSize=@0x7fffffed0530,
    aReflowState=@0x7fffffed0310, aX=0, aY=0, aFlags=0, aStatus=@0x7fffffed07dc) at nsContainerFrame.cpp:905
#11 0x00002aaaab574993 in ViewportFrame::Reflow (this=0x2aaab0e45cd0, aPresContext=0x2aaab0179310, aDesiredSize=@0x7fffffed0770, aReflowState=@0x7fffffed0660,
    aStatus=@0x7fffffed07dc) at nsViewportFrame.cpp:239
#12 0x00002aaaab4a2933 in PresShell::ResizeReflow (this=0x2aaab0e44790, aWidth=16320, aHeight=11655) at nsPresShell.cpp:3050
#13 0x00002aaaab4935f2 in PresShell::ResizeReflow (this=0x2aaab0e44790, aView=0x2aaab016ae00, aWidth=16320, aHeight=11655) at nsPresShell.cpp:6529
#14 0x00002aaaab8d8624 in nsViewManager::DoSetWindowDimensions (this=0x2aaaae81c2f0, aWidth=16320, aHeight=11655) at nsViewManager.h:418
#15 0x00002aaaab8cc847 in nsViewManager::SetWindowDimensions (this=0x2aaaae81c2f0, aWidth=16320, aHeight=11655) at nsViewManager.cpp:694
#16 0x00002aaaab8d6b7c in nsViewManager::DispatchEvent (this=0x2aaaae81c2f0, aEvent=0x7fffffed0b40, aStatus=0x7fffffed0ad4) at nsViewManager.cpp:1953
#17 0x00002aaaab8c620b in HandleEvent (aEvent=0x7fffffed0b40) at nsView.cpp:171
#18 0x00002aaaac5b85f8 in nsCommonWidget::DispatchEvent (this=0x2aaab0118710, aEvent=0x7fffffed0b40, aStatus=@0x7fffffed0b9c) at nsCommonWidget.cpp:219
#19 0x00002aaaac5b859e in nsCommonWidget::DispatchResizeEvent (this=0x2aaab0118710, aRect=@0x7fffffed0bf0, aStatus=@0x7fffffed0bec) at nsCommonWidget.cpp:205
#20 0x00002aaaac5b8ca3 in nsCommonWidget::Resize (this=0x2aaab0118710, aX=0, aY=0, aWidth=1088, aHeight=777, aRepaint=0) at nsCommonWidget.cpp:398
#21 0x00002aaaab46b453 in DocumentViewerImpl::SetBounds (this=0x2aaab011b340, aBounds=@0x11a2308) at nsDocumentViewer.cpp:1795
#22 0x00002aaaab46b490 in DocumentViewerImpl::SetBounds (this=0x159f1d0, aBounds=@0x11a2308) at nsDocumentViewer.cpp:1806
#23 0x00002aaaad47c5ff in nsDocShell::SetPositionAndSize (this=0x11a20f0, x=0, y=0, cx=1088, cy=777, fRepaint=0) at nsDocShell.cpp:3608
#24 0x00002aaaab4f1679 in nsSubDocumentFrame::Reflow (this=0x119fd88, aPresContext=0xbaac80, aDesiredSize=@0x7fffffed10b0, aReflowState=@0x7fffffed0e90, aStatus=@0x7fffffed110c)
    at nsFrameFrame.cpp:426
#25 0x00002aaaab4e4895 in nsFrame::BoxReflow (this=0x119fd88, aState=@0x7fffffed21a0, aPresContext=0xbaac80, aDesiredSize=@0x7fffffed10b0, aReflowState=@0x7fffffed2360,
    aStatus=@0x7fffffed110c, aX=30, aY=400, aWidth=16335, aHeight=11680, aMoveFrame=1) at nsFrame.cpp:5448
#26 0x00002aaaab4e77d2 in nsFrame::DoLayout (this=0x119fd88, aState=@0x7fffffed21a0) at nsFrame.cpp:5194
#27 0x00002aaaab6877ed in nsIFrame::Layout (this=0x119fd88, aState=@0x7fffffed21a0) at nsBox.cpp:800
---Type <return> to continue, or q <return> to quit---
#28 0x00002aaaab6909e3 in nsSprocketLayout::Layout (this=0x8be920, aBox=0x111c5f0, aState=@0x7fffffed21a0) at nsSprocketLayout.cpp:543
#29 0x00002aaaab68aba4 in nsBoxFrame::DoLayout (this=0x111c5f0, aState=@0x7fffffed21a0) at nsBoxFrame.cpp:1104
#30 0x00002aaaab6877ed in nsIFrame::Layout (this=0x111c5f0, aState=@0x7fffffed21a0) at nsBox.cpp:800
#31 0x00002aaaab6909e3 in nsSprocketLayout::Layout (this=0x8be920, aBox=0x10ce048, aState=@0x7fffffed21a0) at nsSprocketLayout.cpp:543
#32 0x00002aaaab68aba4 in nsBoxFrame::DoLayout (this=0x10ce048, aState=@0x7fffffed21a0) at nsBoxFrame.cpp:1104
#33 0x00002aaaab6877ed in nsIFrame::Layout (this=0x10ce048, aState=@0x7fffffed21a0) at nsBox.cpp:800
#34 0x00002aaaab6909e3 in nsSprocketLayout::Layout (this=0x8be920, aBox=0x1095088, aState=@0x7fffffed21a0) at nsSprocketLayout.cpp:543
#35 0x00002aaaab68aba4 in nsBoxFrame::DoLayout (this=0x1095088, aState=@0x7fffffed21a0) at nsBoxFrame.cpp:1104
#36 0x00002aaaab6877ed in nsIFrame::Layout (this=0x1095088, aState=@0x7fffffed21a0) at nsBox.cpp:800
#37 0x00002aaaab6909e3 in nsSprocketLayout::Layout (this=0x8be920, aBox=0x1094fe8, aState=@0x7fffffed21a0) at nsSprocketLayout.cpp:543
#38 0x00002aaaab68aba4 in nsBoxFrame::DoLayout (this=0x1094fe8, aState=@0x7fffffed21a0) at nsBoxFrame.cpp:1104
#39 0x00002aaaab6877ed in nsIFrame::Layout (this=0x1094fe8, aState=@0x7fffffed21a0) at nsBox.cpp:800
#40 0x00002aaaab6909e3 in nsSprocketLayout::Layout (this=0x8be920, aBox=0xf076a8, aState=@0x7fffffed21a0) at nsSprocketLayout.cpp:543
#41 0x00002aaaab68aba4 in nsBoxFrame::DoLayout (this=0xf076a8, aState=@0x7fffffed21a0) at nsBoxFrame.cpp:1104
#42 0x00002aaaab6877ed in nsIFrame::Layout (this=0xf076a8, aState=@0x7fffffed21a0) at nsBox.cpp:800
#43 0x00002aaaab691d64 in nsStackLayout::Layout (this=0x9090f0, aBox=0xf07138, aState=@0x7fffffed21a0) at nsStackLayout.cpp:316
#44 0x00002aaaab68aba4 in nsBoxFrame::DoLayout (this=0xf07138, aState=@0x7fffffed21a0) at nsBoxFrame.cpp:1104
#45 0x00002aaaab6877ed in nsIFrame::Layout (this=0xf07138, aState=@0x7fffffed21a0) at nsBox.cpp:800
#46 0x00002aaaab68a584 in nsBoxFrame::Reflow (this=0xf07138, aPresContext=0xbaac80, aDesiredSize=@0x7fffffed2580, aReflowState=@0x7fffffed2360, aStatus=@0x7fffffed27dc)
    at nsBoxFrame.cpp:850
#47 0x00002aaaab684c85 in nsRootBoxFrame::Reflow (this=0xf07138, aPresContext=0xbaac80, aDesiredSize=@0x7fffffed2580, aReflowState=@0x7fffffed2360, aStatus=@0x7fffffed27dc)
    at nsRootBoxFrame.cpp:226
#48 0x00002aaaab4dbde3 in nsContainerFrame::ReflowChild (this=0xb7f4a8, aKidFrame=0xf07138, aPresContext=0xbaac80, aDesiredSize=@0x7fffffed2580, aReflowState=@0x7fffffed2360,
    aX=0, aY=0, aFlags=0, aStatus=@0x7fffffed27dc) at nsContainerFrame.cpp:905
#49 0x00002aaaab574993 in ViewportFrame::Reflow (this=0xb7f4a8, aPresContext=0xbaac80, aDesiredSize=@0x7fffffed28e0, aReflowState=@0x7fffffed26c0, aStatus=@0x7fffffed27dc)
    at nsViewportFrame.cpp:239
#50 0x00002aaaab4904b1 in IncrementalReflow::Dispatch (this=0x7fffffed2880, aPresContext=0xbaac80, aDesiredSize=@0x7fffffed28e0, aMaxSize=@0x7fffffed2940,
    aRendContext=@0x140f920) at nsPresShell.cpp:906
#51 0x00002aaaab4a213c in PresShell::ProcessReflowCommands (this=0x961470, aInterruptible=1) at nsPresShell.cpp:6922
#52 0x00002aaaab4a24b8 in PresShell::WillPaint (this=0x961470) at nsPresShell.cpp:6562
#53 0x00002aaaab8cf99f in nsViewManager::FlushPendingInvalidates (this=0x7435b0) at nsViewManager.cpp:4409
#54 0x00002aaaab8d3de4 in nsViewManager::EnableRefresh (this=0x7435b0, aUpdateFlags=0) at nsViewManager.cpp:3442
#55 0x00002aaaab8cfbf5 in nsViewManager::EndUpdateViewBatch (this=0x7435b0, aUpdateFlags=0) at nsViewManager.cpp:3487
#56 0x00002aaaab4491ae in nsCSSFrameConstructor::RestyleEvent::HandleEvent (this=0x1623a20) at nsCSSFrameConstructor.cpp:14034
#57 0x00002aaaab4491cd in HandleRestyleEvent (aEvent=0x1623a20) at nsCSSFrameConstructor.cpp:14042
#58 0x00002b0bd3dec948 in PL_HandleEvent (self=0x1623a20) at plevent.c:688
#59 0x00002b0bd3dec7c6 in PL_ProcessPendingEvents (self=0x614040) at plevent.c:623
#60 0x00002b0bd3def734 in nsEventQueueImpl::ProcessPendingEvents (this=0x60ac10) at nsEventQueue.cpp:417
#61 0x00002aaaac5b51ce in event_processor_callback (source=0xad1380, condition=G_IO_IN, data=0x60ac10) at nsAppShell.cpp:67
#62 0x0000003ecc024a9e in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#63 0x0000003ecc027734 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#64 0x0000003ecc027c20 in g_main_loop_run () from /usr/lib64/libglib-2.0.so.0
#65 0x0000003ece802145 in gtk_main () from /usr/lib64/libgtk-x11-2.0.so.0
#66 0x00002aaaac5b5b7a in nsAppShell::Run (this=0x703df0) at nsAppShell.cpp:139
#67 0x00002aaaac2d7eb8 in nsAppStartup::Run (this=0x701cd0) at nsAppStartup.cpp:207
#68 0x000000000040b8b0 in main1 (argc=2, argv=0x7fffffed31c8, nativeApp=0x5e3c20) at nsAppRunner.cpp:1249
#69 0x000000000040bd6e in main (argc=2, argv=0x7fffffed31c8) at nsAppRunner.cpp:1750
(gdb) c
Continuing.


Reproducible: Always

Updated

12 years ago
Keywords: assertion

Updated

12 years ago
Depends on: 266754
Assignee: general → nobody
QA Contact: ian → general

Comment 1

4 years ago
This assertion was removed in Bug 1008917 Part 4:
https://hg.mozilla.org/mozilla-central/diff/edfbdecd9e82/layout/generic/nsBlockFrame.cpp#l1.88
Status: UNCONFIRMED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.