Closed Bug 323986 Opened 20 years ago Closed 12 years ago

ASSERTION: forget-word-frame: '(void*)aFrame == mWordFrames->PeekFront()' (Chatzilla channel)

Categories

(Core :: Layout: Block and Inline, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: WeirdAl, Unassigned)

References

Details

(Keywords: assertion, testcase)

NTDLL! 7c901230() nsDebugImpl::Assertion(nsDebugImpl * const 0x002a84d8, const char * 0x01bb88f4, const char * 0x01bb88c8, const char * 0x01bb8890, int 0x00000bd9) line 266 NSGlue_Assertion(const char * 0x01bb8890, int 0x00000bd9) line 111 nsLineLayout::ForgetWordFrame(nsIFrame * 0x0319fa2c) line 3033 + 43 bytes nsTextFrame::MeasureText(nsPresContext * 0x037ce3e0, const nsHTMLReflowState & {...}, nsTextTransformer & {...}, nsTextStyle & {...}, nsTextFrame::TextReflowData & {...}) line 5706 nsTextFrame::Reflow(nsTextFrame * const 0x0319fa2c, nsPresContext * 0x037ce3e0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0x00000000) line 6052 + 34 bytes nsLineLayout::ReflowFrame(nsIFrame * 0x0319fa2c, unsigned int & 0x00000000, nsHTMLReflowMetrics * 0x00000000, int & 0x00000000) line 995 + 43 bytes nsInlineFrame::ReflowInlineFrame(nsPresContext * 0x037ce3e0, const nsHTMLReflowState & {...}, nsInlineFrame::InlineReflowState & {...}, nsIFrame * 0x0319fa2c, unsigned int & 0x00000000) line 651 + 22 bytes nsInlineFrame::ReflowFrames(nsPresContext * 0x037ce3e0, const nsHTMLReflowState & {...}, nsInlineFrame::InlineReflowState & {...}, nsHTMLReflowMetrics & {...}, unsigned int & 0x00000000) line 486 + 28 bytes nsInlineFrame::Reflow(nsInlineFrame * const 0x0319f9a8, nsPresContext * 0x037ce3e0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0x00000000) line 396 + 28 bytes nsLineLayout::ReflowFrame(nsIFrame * 0x0319f9a8, unsigned int & 0x00000000, nsHTMLReflowMetrics * 0x00000000, int & 0x00000000) line 995 + 43 bytes nsInlineFrame::ReflowInlineFrame(nsPresContext * 0x037ce3e0, const nsHTMLReflowState & {...}, nsInlineFrame::InlineReflowState & {...}, nsIFrame * 0x0319f9a8, unsigned int & 0x00000000) line 651 + 22 bytes nsInlineFrame::ReflowFrames(nsPresContext * 0x037ce3e0, const nsHTMLReflowState & {...}, nsInlineFrame::InlineReflowState & {...}, nsHTMLReflowMetrics & {...}, unsigned int & 0x00000000) line 486 + 28 bytes nsInlineFrame::Reflow(nsInlineFrame * const 0x0319f6e4, nsPresContext * 0x037ce3e0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0x00000000) line 396 + 28 bytes nsLineLayout::ReflowFrame(nsIFrame * 0x0319f6e4, unsigned int & 0x00000000, nsHTMLReflowMetrics * 0x00000000, int & 0x00000000) line 995 + 43 bytes nsBlockFrame::ReflowInlineFrame(nsBlockReflowState & {...}, nsLineLayout & {...}, nsLineList_iterator {...}, nsIFrame * 0x0319f6e4, unsigned char * 0x001291f7) line 4019 + 22 bytes nsBlockFrame::DoReflowInlineFrames(nsBlockReflowState & {...}, nsLineLayout & {...}, nsLineList_iterator {...}, int * 0x001295b0, unsigned char * 0x001292fb, int 0x00000000, int 0x00000000) line 3858 + 32 bytes nsBlockFrame::ReflowInlineFrames(nsBlockReflowState & {...}, nsLineList_iterator {...}, int * 0x001295b0, int 0x00000000, int 0x00000000) line 3740 + 46 bytes nsBlockFrame::ReflowLine(nsBlockReflowState & {...}, nsLineList_iterator {...}, int * 0x001295b0, int 0x00000000) line 2735 + 33 bytes nsBlockFrame::ReflowDirtyLines(nsBlockReflowState & {...}, int 0x00000001) line 2269 + 31 bytes nsBlockFrame::Reflow(nsBlockFrame * const 0x0319f5f8, nsPresContext * 0x037ce3e0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0x00000000) line 902 + 17 bytes nsContainerFrame::ReflowChild(nsIFrame * 0x0319f5f8, nsPresContext * 0x037ce3e0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, int 0x0000002d, int 0x0000000f, unsigned int 0x00000000, unsigned int & 0x00000000) line 869 + 31 bytes nsTableCellFrame::Reflow(nsTableCellFrame * const 0x0319f598, nsPresContext * 0x037ce3e0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0x00000000) line 857 nsContainerFrame::ReflowChild(nsIFrame * 0x0319f598, nsPresContext * 0x037ce3e0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, int 0x000002df, int 0x00000000, unsigned int 0x00000000, unsigned int & 0x00000000) line 869 + 31 bytes nsTableRowFrame::ReflowChildren(nsTableRowFrame * const 0x02f4010c, nsPresContext * 0x037ce3e0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, nsTableFrame & {...}, unsigned int & 0x00000000, int 0x00000000) line 992 + 45 bytes nsTableRowFrame::Reflow(nsTableRowFrame * const 0x02f4010c, nsPresContext * 0x037ce3e0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0x00000000) line 1435 + 37 bytes nsContainerFrame::ReflowChild(nsIFrame * 0x02f4010c, nsPresContext * 0x037ce3e0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, int 0x00000000, int 0x00000000, unsigned int 0x00000000, unsigned int & 0x00000000) line 869 + 31 bytes nsTableRowGroupFrame::ReflowChildren(nsTableRowGroupFrame * const 0x02fce5f0, nsPresContext * 0x037ce3e0, nsHTMLReflowMetrics & {...}, nsRowGroupReflowState & {...}, unsigned int & 0x00000000, nsTableRowFrame * 0x00000000, int 0x00000000, nsTableRowFrame * * 0x00000000, int * 0x0012a35c) line 385 + 45 bytes nsTableRowGroupFrame::Reflow(nsTableRowGroupFrame * const 0x02fce5f0, nsPresContext * 0x037ce3e0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0x00000000) line 1238 + 35 bytes nsContainerFrame::ReflowChild(nsIFrame * 0x02fce5f0, nsPresContext * 0x037ce3e0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, int 0x0000001e, int 0x0000001e, unsigned int 0x00000000, unsigned int & 0x00000000) line 869 + 31 bytes nsTableFrame::ReflowChildren(nsTableFrame * const 0x030d6bc4, nsTableReflowState & {...}, int 0x00000001, int 0x00000000, unsigned int & 0x00000000, nsIFrame * & 0x00000000, nsRect & {...}, int * 0x00000000) line 3198 + 50 bytes nsTableFrame::Reflow(nsTableFrame * const 0x030d6bc4, nsPresContext * 0x037ce3e0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0x00000000) line 1916 nsContainerFrame::ReflowChild(nsIFrame * 0x030d6bc4, nsPresContext * 0x037ce3e0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, int 0x00000000, int 0x00000000, unsigned int 0x00000003, unsigned int & 0x00000000) line 869 + 31 bytes nsTableOuterFrame::OuterReflowChild(nsTableOuterFrame * const 0x030d6a98, nsPresContext * 0x037ce3e0, nsIFrame * 0x030d6bc4, const nsHTMLReflowState & {...}, nsHTMLReflowMetrics & {...}, int 0x00002c3d, nsSize & {...}, nsMargin & {...}, nsMargin & {...}, nsMargin & {...}, nsReflowReason eReflowReason_Initial, unsigned int & 0x00000000, int * 0x00000000) line 1298 + 47 bytes nsTableOuterFrame::Reflow(nsTableOuterFrame * const 0x030d6a98, nsPresContext * 0x037ce3e0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0x00000000) line 1951 + 79 bytes nsBlockReflowContext::ReflowBlock(const nsRect & {...}, int 0x00000000, nsCollapsingMargin & {...}, int 0x00000000, int 0x00000001, nsMargin & {...}, nsHTMLReflowState & {...}, unsigned int & 0x00000000) line 605 + 42 bytes nsBlockFrame::ReflowBlockFrame(nsBlockReflowState & {...}, nsLineList_iterator {...}, int * 0x0012b500) line 3455 + 66 bytes nsBlockFrame::ReflowLine(nsBlockReflowState & {...}, nsLineList_iterator {...}, int * 0x0012b500, int 0x00000000) line 2617 + 27 bytes nsBlockFrame::ReflowDirtyLines(nsBlockReflowState & {...}, int 0x00000001) line 2269 + 31 bytes nsBlockFrame::Reflow(nsBlockFrame * const 0x030d69a8, nsPresContext * 0x037ce3e0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0x00000000) line 902 + 17 bytes nsBlockReflowContext::ReflowBlock(const nsRect & {...}, int 0x00000001, nsCollapsingMargin & {...}, int 0x00000000, int 0x00000000, nsMargin & {...}, nsHTMLReflowState & {...}, unsigned int & 0x00000000) line 605 + 42 bytes nsBlockFrame::ReflowBlockFrame(nsBlockReflowState & {...}, nsLineList_iterator {...}, int * 0x0012c14c) line 3455 + 66 bytes nsBlockFrame::ReflowLine(nsBlockReflowState & {...}, nsLineList_iterator {...}, int * 0x0012c14c, int 0x00000000) line 2617 + 27 bytes nsBlockFrame::ReflowDirtyLines(nsBlockReflowState & {...}, int 0x00000001) line 2269 + 31 bytes nsBlockFrame::Reflow(nsBlockFrame * const 0x030d6808, nsPresContext * 0x037ce3e0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0x00000000) line 902 + 17 bytes nsBlockReflowContext::ReflowBlock(const nsRect & {...}, int 0x00000000, nsCollapsingMargin & {...}, int 0x00000000, int 0x00000001, nsMargin & {...}, nsHTMLReflowState & {...}, unsigned int & 0x00000000) line 605 + 42 bytes nsBlockFrame::ReflowBlockFrame(nsBlockReflowState & {...}, nsLineList_iterator {...}, int * 0x0012cd98) line 3455 + 66 bytes nsBlockFrame::ReflowLine(nsBlockReflowState & {...}, nsLineList_iterator {...}, int * 0x0012cd98, int 0x00000001) line 2617 + 27 bytes nsBlockFrame::ReflowDirtyLines(nsBlockReflowState & {...}, int 0x00000001) line 2269 + 31 bytes nsBlockFrame::Reflow(nsBlockFrame * const 0x036bd1cc, nsPresContext * 0x037ce3e0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0x00000000) line 902 + 17 bytes nsBlockReflowContext::ReflowBlock(const nsRect & {...}, int 0x00000001, nsCollapsingMargin & {...}, int 0x00000000, int 0x00000001, nsMargin & {...}, nsHTMLReflowState & {...}, unsigned int & 0x00000000) line 605 + 42 bytes nsBlockFrame::ReflowBlockFrame(nsBlockReflowState & {...}, nsLineList_iterator {...}, int * 0x0012d9e4) line 3455 + 66 bytes nsBlockFrame::ReflowLine(nsBlockReflowState & {...}, nsLineList_iterator {...}, int * 0x0012d9e4, int 0x00000001) line 2617 + 27 bytes nsBlockFrame::ReflowDirtyLines(nsBlockReflowState & {...}, int 0x00000001) line 2269 + 31 bytes nsBlockFrame::Reflow(nsBlockFrame * const 0x036bd054, nsPresContext * 0x037ce3e0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0x00000000) line 902 + 17 bytes nsContainerFrame::ReflowChild(nsIFrame * 0x036bd054, nsPresContext * 0x037ce3e0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, int 0x00000000, int 0x00000000, unsigned int 0x00000000, unsigned int & 0x00000000) line 869 + 31 bytes CanvasFrame::Reflow(CanvasFrame * const 0x02fce308, nsPresContext * 0x037ce3e0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0x00000000) line 524 nsContainerFrame::ReflowChild(nsIFrame * 0x02fce308, nsPresContext * 0x037ce3e0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, int 0x00000000, int 0x00000000, unsigned int 0x00000003, unsigned int & 0x00000000) line 869 + 31 bytes nsHTMLScrollFrame::ReflowScrolledFrame(const ScrollReflowState & {...}, int 0x00000000, int 0x00000000, nsHTMLReflowMetrics * 0x0012e2c4, int 0x00000001) line 502 + 54 bytes nsHTMLScrollFrame::ReflowContents(ScrollReflowState * 0x0012e46c, const nsHTMLReflowMetrics & {...}) line 572 + 27 bytes nsHTMLScrollFrame::Reflow(nsHTMLScrollFrame * const 0x02fce44c, nsPresContext * 0x037ce3e0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0x00000000) line 779 + 16 bytes nsContainerFrame::ReflowChild(nsIFrame * 0x02fce44c, nsPresContext * 0x037ce3e0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, int 0x00000000, int 0x00000000, unsigned int 0x00000000, unsigned int & 0x00000000) line 869 + 31 bytes ViewportFrame::Reflow(ViewportFrame * const 0x02fce278, nsPresContext * 0x037ce3e0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0x00000000) line 229 + 43 bytes IncrementalReflow::Dispatch(nsPresContext * 0x037ce3e0, nsHTMLReflowMetrics & {...}, const nsSize & {...}, nsIRenderingContext & {...}) line 857 PresShell::ProcessReflowCommands(int 0x00000000) line 6467 PresShell::FlushPendingNotifications(PresShell * const 0x02faefa8, mozFlushType Flush_Layout) line 5013 nsDocument::FlushPendingNotifications(mozFlushType Flush_Layout) line 4580 nsHTMLDocument::FlushPendingNotifications(mozFlushType Flush_Layout) line 1259 nsHTMLDocument::GetPixelDimensions(nsIPresShell * 0x02faefa8, int * 0x0012ea74, int * 0x0012ebf0) line 2556 nsHTMLDocument::GetHeight(nsHTMLDocument * const 0x034e0378, int * 0x0012ebf0) line 2641 + 31 bytes XPTC_InvokeByIndex(nsISupports * 0x034e0378, unsigned int 0x00000004, unsigned int 0x00000001, nsXPTCVariant * 0x0012ebf0) line 102 XPCWrappedNative::CallMethod(XPCCallContext & {...}, XPCWrappedNative::CallMode CALL_GETTER) line 2152 + 43 bytes XPCWrappedNative::GetAttribute(XPCCallContext & {...}) line 1980 + 14 bytes XPC_WN_GetterSetter(JSContext * 0x030de560, JSObject * 0x03042e78, unsigned int 0x00000000, long * 0x03827a00, long * 0x0012eed8) line 1476 + 12 bytes js_Invoke(JSContext * 0x030de560, unsigned int 0x00000000, unsigned int 0x00000002) line 1230 + 23 bytes js_InternalInvoke(JSContext * 0x030de560, JSObject * 0x03042e78, long 0x03043470, unsigned int 0x00000000, unsigned int 0x00000000, long * 0x00000000, long * 0x0012f96c) line 1331 + 20 bytes js_InternalGetOrSet(JSContext * 0x030de560, JSObject * 0x03042e78, long 0x020849a0, long 0x03043470, int 0x00000004, unsigned int 0x00000000, long * 0x00000000, long * 0x0012f96c) line 1390 + 31 bytes js_GetProperty(JSContext * 0x030de560, JSObject * 0x03042e78, long 0x020849a0, long * 0x0012f96c) line 2973 + 51 bytes js_Interpret(JSContext * 0x030de560, unsigned char * 0x031544fe, long * 0x0012fb18) line 3599 + 1669 bytes js_Invoke(JSContext * 0x030de560, unsigned int 0x00000001, unsigned int 0x00000002) line 1254 + 19 bytes js_InternalInvoke(JSContext * 0x030de560, JSObject * 0x03010d48, long 0x0307ab40, unsigned int 0x00000000, unsigned int 0x00000001, long * 0x02f85468, long * 0x0012fc98) line 1331 + 20 bytes JS_CallFunctionValue(JSContext * 0x030de560, JSObject * 0x03010d48, long 0x0307ab40, unsigned int 0x00000001, long * 0x02f85468, long * 0x0012fc98) line 4162 + 31 bytes nsJSContext::CallEventHandler(JSObject * 0x03010d48, JSObject * 0x0307ab40, unsigned int 0x00000001, long * 0x02f85468, long * 0x0012fc98) line 1424 + 33 bytes nsGlobalWindow::RunTimeout(nsTimeout * 0x03720ed8) line 6287 nsGlobalWindow::TimerCallback(nsITimer * 0x03746c98, void * 0x03720ed8) line 6646 nsTimerImpl::Fire() line 400 + 17 bytes nsTimerManager::FireNextIdleTimer(nsTimerManager * const 0x01f72ce8) line 636 nsAppShell::Run(nsAppShell * const 0x01eb2c70) line 142 nsAppStartup::Run(nsAppStartup * const 0x01eb2888) line 208 main1(int 0x00000002, char * * 0x002a2c48, nsISupports * 0x009e1d00) line 1248 + 32 bytes main(int 0x00000002, char * * 0x002a2c48) line 1736 + 37 bytes mainCRTStartup() line 338 + 17 bytes KERNEL32! 7c816d4f() Steps to reproduce: (1) seamonkey -chat (2) sign on to moznet (3) /join #test This bug is slightly different than bug 310556. The stack diverges at frame 07, at nsBlockFrame::ReflowInlineFrame. Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060118 SeaMonkey/1.5a
*** Bug 300845 has been marked as a duplicate of this bug. ***
dupe of bug 310556 ?
Dependent, as you can tell from the dep list. Once we fix that, we see whether this one is still there.
Alex or Timothy, do you still see this bug on trunk now that bug 310556 is WFM?
I'm sorry, I just don't have the time to look these days, Jesse.
Assuming I haven't misread the stack trace, the assertion was in nsLineLayout::ForgetWordFrame(). If so, the assertion was removed as part of Bug 343445. See http://bonsai.mozilla.org/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=mozilla/layout/generic&command=DIFF_FRAMESET&file=nsLineLayout.cpp&rev1=3.238&rev2=3.239&root=/cvsroot
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.