Closed
Bug 56073
Opened 24 years ago
Closed 24 years ago
Hit assertion in nsLineLayout::ForgetWordFrame()
Categories
(Core :: Layout, defect, P3)
Tracking
()
People
(Reporter: rbs, Assigned: waterson)
References
()
Details
With a debug build from the tip, when visiting the URL http://sports.yahoo.com/oly/news/ap/20001010/ap-2002tickets.html I am hitting the following assertion: void nsLineLayout::ForgetWordFrame(nsIFrame* aFrame) { NS_ASSERTION((void*)aFrame == mWordFrames[0], "forget-word-frame"); if (0 != mWordFrames.Count()) { mWordFrames.RemoveElementAt(0); } } Stack trace: =========== NTDLL! 77f9eea9() nsDebug::Assertion(const char * 0x016e8e40, const char * 0x016e8e20, const char * 0x016e8de0, int 2944) line 256 + 13 bytes nsLineLayout::ForgetWordFrame(nsIFrame * 0x03657fe8) line 2944 + 45 bytes nsTextFrame::MeasureText(nsIPresContext * 0x04fc2470, const nsHTMLReflowState & {...}, nsTextTransformer & {...}, nsILineBreaker * 0x06a07fe0, nsTextFrame::TextStyle & {...}, nsTextFrame::TextReflowData & {...}) line 3949 nsTextFrame::Reflow(nsTextFrame * const 0x03657fe8, nsIPresContext * 0x04fc2470, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0) line 4249 + 43 bytes nsLineLayout::ReflowFrame(nsIFrame * 0x03657fe8, nsIFrame * * 0x001297c0, unsigned int & 0, nsHTMLReflowMetrics * 0x00000000, int & 0) line 921 nsInlineFrame::ReflowInlineFrame(nsIPresContext * 0x04fc2470, const nsHTMLReflowState & {...}, nsInlineFrame::InlineReflowState & {...}, nsIFrame * 0x03657fe8, unsigned int & 0) line 598 + 26 bytes nsInlineFrame::ReflowFrames(nsIPresContext * 0x04fc2470, const nsHTMLReflowState & {...}, nsInlineFrame::InlineReflowState & {...}, nsHTMLReflowMetrics & {...}, unsigned int & 0) line 412 + 28 bytes nsInlineFrame::Reflow(nsInlineFrame * const 0x03657e5c, nsIPresContext * 0x04fc2470, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0) line 323 + 28 bytes nsLineLayout::ReflowFrame(nsIFrame * 0x03657e5c, nsIFrame * * 0x0012a4c4, unsigned int & 0, nsHTMLReflowMetrics * 0x00000000, int & 0) line 921 nsBlockFrame::ReflowInlineFrame(nsBlockReflowState & {...}, nsLineLayout & {...}, nsLineBox * 0x03659508, nsIFrame * 0x03657e5c, unsigned char * 0x00129a1c) line 4361 + 29 bytes nsBlockFrame::DoReflowInlineFrames(nsBlockReflowState & {...}, nsLineLayout & {...}, nsLineBox * 0x03659508, int * 0x0012a0b8, unsigned char * 0x00129ee0, int 0, int 0) line 4245 + 28 bytes nsBlockFrame::DoReflowInlineFramesAuto(nsBlockReflowState & {...}, nsLineBox * 0x03659508, int * 0x0012a0b8, unsigned char * 0x00129ee0, int 0, int 0) line 4179 + 42 bytes nsBlockFrame::ReflowInlineFrames(nsBlockReflowState & {...}, nsLineBox * 0x03659508, int * 0x0012a0b8, int 0, int 0) line 4124 + 32 bytes nsBlockFrame::ReflowLine(nsBlockReflowState & {...}, nsLineBox * 0x03659508, int * 0x0012a0b8, int 0) line 3260 + 29 bytes nsBlockFrame::ReflowDirtyLines(nsBlockReflowState & {...}) line 2949 + 27 bytes nsBlockFrame::Reflow(nsBlockFrame * const 0x03655ae4, nsIPresContext * 0x04fc2470, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0) line 1740 + 15 bytes nsBlockReflowContext::DoReflowBlock(nsHTMLReflowState & {...}, nsReflowReason eReflowReason_Initial, nsIFrame * 0x03655ae4, const nsRect & {...}, int 0, int 0, int 1, nsMargin & {...}, unsigned int & 0) line 561 + 36 bytes nsBlockReflowContext::ReflowBlock(nsIFrame * 0x03655ae4, const nsRect & {...}, int 0, int 0, int 1, nsMargin & {...}, unsigned int & 0) line 331 + 50 bytes nsBlockFrame::ReflowBlockFrame(nsBlockReflowState & {...}, nsLineBox * 0x03658124, int * 0x0012ac50) line 3877 + 56 bytes nsBlockFrame::ReflowLine(nsBlockReflowState & {...}, nsLineBox * 0x03658124, int * 0x0012ac50, int 0) line 3142 + 23 bytes nsBlockFrame::ReflowDirtyLines(nsBlockReflowState & {...}) line 2949 + 27 bytes nsBlockFrame::Reflow(nsBlockFrame * const 0x03655a5c, nsIPresContext * 0x04fc2470, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0) line 1740 + 15 bytes nsBlockReflowContext::DoReflowBlock(nsHTMLReflowState & {...}, nsReflowReason eReflowReason_Initial, nsIFrame * 0x03655a5c, const nsRect & {...}, int 1, int 240, int 0, nsMargin & {...}, unsigned int & 0) line 561 + 36 bytes nsBlockReflowContext::ReflowBlock(nsIFrame * 0x03655a5c, const nsRect & {...}, int 1, int 240, int 0, nsMargin & {...}, unsigned int & 0) line 331 + 50 bytes nsBlockFrame::ReflowBlockFrame(nsBlockReflowState & {...}, nsLineBox * 0x03658638, int * 0x0012b7e8) line 3877 + 56 bytes nsBlockFrame::ReflowLine(nsBlockReflowState & {...}, nsLineBox * 0x03658638, int * 0x0012b7e8, int 0) line 3142 + 23 bytes nsBlockFrame::ReflowDirtyLines(nsBlockReflowState & {...}) line 2949 + 27 bytes nsBlockFrame::Reflow(nsBlockFrame * const 0x054da7b4, nsIPresContext * 0x04fc2470, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0) line 1740 + 15 bytes nsContainerFrame::ReflowChild(nsIFrame * 0x054da7b4, nsIPresContext * 0x04fc2470, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, int 45, int 45, unsigned int 0, unsigned int & 0) line 693 + 31 bytes nsTableCellFrame::Reflow(nsTableCellFrame * const 0x054da754, nsIPresContext * 0x04fc2470, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0) line 808 nsContainerFrame::ReflowChild(nsIFrame * 0x054da754, nsIPresContext * 0x04fc2470, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, int 30, int 0, unsigned int 0, unsigned int & 0) line 693 + 31 bytes nsTableRowFrame::InitialReflow(nsTableRowFrame * const 0x054da704, nsIPresContext * 0x04fc2470, nsHTMLReflowMetrics & {...}, RowReflowState & {...}, unsigned int & 0, nsTableCellFrame * 0x00000000, int 1) line 1119 + 42 bytes nsTableRowFrame::Reflow(nsTableRowFrame * const 0x054da704, nsIPresContext * 0x04fc2470, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0) line 1523 + 35 bytes nsContainerFrame::ReflowChild(nsIFrame * 0x054da704, nsIPresContext * 0x04fc2470, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, int 0, int 0, unsigned int 0, unsigned int & 0) line 693 + 31 bytes nsTableRowGroupFrame::ReflowMappedChildren(nsTableRowGroupFrame * const 0x054da6c0, nsIPresContext * 0x04fc2470, nsHTMLReflowMetrics & {...}, RowGroupReflowState & {...}, unsigned int & 0, nsTableRowFrame * 0x00000000, nsReflowReason eReflowReason_Initial, int 1, int 0) line 422 + 45 bytes nsTableRowGroupFrame::Reflow(nsTableRowGroupFrame * const 0x054da6c0, nsIPresContext * 0x04fc2470, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0) line 1091 + 38 bytes nsContainerFrame::ReflowChild(nsIFrame * 0x054da6c0, nsIPresContext * 0x04fc2470, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, int 0, int 30, unsigned int 0, unsigned int & 0) line 693 + 31 bytes nsTableFrame::ResizeReflowPass1(nsTableFrame * const 0x054da658, nsIPresContext * 0x04fc2470, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0, nsReflowReason eReflowReason_Initial, int 1) line 1874 nsTableFrame::Reflow(nsTableFrame * const 0x054da658, nsIPresContext * 0x04fc2470, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0) line 1672 + 37 bytes nsContainerFrame::ReflowChild(nsIFrame * 0x054da658, nsIPresContext * 0x04fc2470, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, int 0, int 0, unsigned int 3, unsigned int & 0) line 693 + 31 bytes nsTableOuterFrame::OuterReflowChild(nsTableOuterFrame * const 0x054da604, nsIPresContext * 0x04fc2470, nsIFrame * 0x054da658, const nsHTMLReflowState & {...}, nsHTMLReflowMetrics & {...}, int * 0x00000000, nsSize & {...}, nsMargin & {...}, nsMargin & {...}, nsMargin & {...}, nsReflowReason eReflowReason_Initial, unsigned int & 0) line 900 + 47 bytes nsTableOuterFrame::Reflow(nsTableOuterFrame * const 0x054da604, nsIPresContext * 0x04fc2470, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0) line 1440 + 72 bytes nsBlockReflowContext::DoReflowBlock(nsHTMLReflowState & {...}, nsReflowReason eReflowReason_Initial, nsIFrame * 0x054da604, const nsRect & {...}, int 1, int 0, int 0, nsMargin & {...}, unsigned int & 0) line 561 + 36 bytes nsBlockReflowContext::ReflowBlock(nsIFrame * 0x054da604, const nsRect & {...}, int 1, int 0, int 0, nsMargin & {...}, unsigned int & 0) line 331 + 50 bytes nsBlockFrame::ReflowBlockFrame(nsBlockReflowState & {...}, nsLineBox * 0x03659254, int * 0x0012d354) line 3877 + 56 bytes nsBlockFrame::ReflowLine(nsBlockReflowState & {...}, nsLineBox * 0x03659254, int * 0x0012d354, int 0) line 3142 + 23 bytes nsBlockFrame::ReflowDirtyLines(nsBlockReflowState & {...}) line 2949 + 27 bytes nsBlockFrame::Reflow(nsBlockFrame * const 0x036b0918, nsIPresContext * 0x04fc2470, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0) line 1740 + 15 bytes nsBlockReflowContext::DoReflowBlock(nsHTMLReflowState & {...}, nsReflowReason eReflowReason_Initial, nsIFrame * 0x036b0918, const nsRect & {...}, int 0, int 0, int 1, nsMargin & {...}, unsigned int & 0) line 561 + 36 bytes nsBlockReflowContext::ReflowBlock(nsIFrame * 0x036b0918, const nsRect & {...}, int 0, int 0, int 1, nsMargin & {...}, unsigned int & 0) line 331 + 50 bytes nsBlockFrame::ReflowBlockFrame(nsBlockReflowState & {...}, nsLineBox * 0x03659358, int * 0x0012deec) line 3877 + 56 bytes nsBlockFrame::ReflowLine(nsBlockReflowState & {...}, nsLineBox * 0x03659358, int * 0x0012deec, int 1) line 3142 + 23 bytes nsBlockFrame::ReflowDirtyLines(nsBlockReflowState & {...}) line 2949 + 27 bytes nsBlockFrame::Reflow(nsBlockFrame * const 0x036b0840, nsIPresContext * 0x04fc2470, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0) line 1740 + 15 bytes nsBlockReflowContext::DoReflowBlock(nsHTMLReflowState & {...}, nsReflowReason eReflowReason_Incremental, nsIFrame * 0x036b0840, const nsRect & {...}, int 1, int 0, int 1, nsMargin & {...}, unsigned int & 0) line 561 + 36 bytes nsBlockReflowContext::ReflowBlock(nsIFrame * 0x036b0840, const nsRect & {...}, int 1, int 0, int 1, nsMargin & {...}, unsigned int & 0) line 331 + 50 bytes nsBlockFrame::ReflowBlockFrame(nsBlockReflowState & {...}, nsLineBox * 0x036b08b4, int * 0x0012ea84) line 3877 + 56 bytes nsBlockFrame::ReflowLine(nsBlockReflowState & {...}, nsLineBox * 0x036b08b4, int * 0x0012ea84, int 1) line 3142 + 23 bytes nsBlockFrame::ReflowDirtyLines(nsBlockReflowState & {...}) line 2949 + 27 bytes nsBlockFrame::Reflow(nsBlockFrame * const 0x036ff8b0, nsIPresContext * 0x04fc2470, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0) line 1740 + 15 bytes nsContainerFrame::ReflowChild(nsIFrame * 0x036ff8b0, nsIPresContext * 0x04fc2470, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, int 0, int 0, unsigned int 0, unsigned int & 0) line 693 + 31 bytes CanvasFrame::Reflow(CanvasFrame * const 0x036fe9bc, nsIPresContext * 0x04fc2470, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0) line 306 nsBoxToBlockAdaptor::Reflow(nsBoxLayoutState & {...}, nsIPresContext * 0x04fc2470, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0, int 0, int 0, int 12360, int 8145, int 1) line 868 nsBoxToBlockAdaptor::DoLayout(nsBoxToBlockAdaptor * const 0x036ff844, nsBoxLayoutState & {...}) line 525 + 52 bytes nsBox::Layout(nsBox * const 0x036ff844, nsBoxLayoutState & {...}) line 1002 nsScrollBoxFrame::DoLayout(nsScrollBoxFrame * const 0x036fead4, nsBoxLayoutState & {...}) line 379 nsBox::Layout(nsBox * const 0x036fead4, nsBoxLayoutState & {...}) line 1002 nsContainerBox::LayoutChildAt(nsBoxLayoutState & {...}, nsIBox * 0x036fead4, const nsRect & {...}) line 593 + 16 bytes nsGfxScrollFrameInner::LayoutBox(nsBoxLayoutState & {...}, nsIBox * 0x036fead4, const nsRect & {...}) line 1029 + 17 bytes nsGfxScrollFrameInner::Layout(nsBoxLayoutState & {...}) line 1112 nsGfxScrollFrame::DoLayout(nsGfxScrollFrame * const 0x036fea2c, nsBoxLayoutState & {...}) line 1037 + 15 bytes nsBox::Layout(nsBox * const 0x036fea2c, nsBoxLayoutState & {...}) line 1002 nsBoxFrame::Reflow(nsBoxFrame * const 0x036fe9f4, nsIPresContext * 0x04fc2470, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0) line 789 nsGfxScrollFrame::Reflow(nsGfxScrollFrame * const 0x036fe9f4, nsIPresContext * 0x04fc2470, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0) line 741 + 25 bytes nsContainerFrame::ReflowChild(nsIFrame * 0x036fe9f4, nsIPresContext * 0x04fc2470, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, int 0, int 0, unsigned int 0, unsigned int & 0) line 693 + 31 bytes ViewportFrame::Reflow(ViewportFrame * const 0x036fe980, nsIPresContext * 0x04fc2470, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0) line 546 nsHTMLReflowCommand::Dispatch(nsHTMLReflowCommand * const 0x06ae4220, nsIPresContext * 0x04fc2470, nsHTMLReflowMetrics & {...}, const nsSize & {...}, nsIRenderingContext & {...}) line 146 PresShell::ProcessReflowCommands(int 1) line 4634 ReflowEvent::HandleEvent() line 4521 HandlePLEvent(ReflowEvent * 0x06ae0cb0) line 4531 PL_HandleEvent(PLEvent * 0x06ae0cb0) line 576 + 10 bytes PL_ProcessPendingEvents(PLEventQueue * 0x004fed60) line 509 + 9 bytes _md_EventReceiverProc(HWND__ * 0x000d01d4, unsigned int 49354, unsigned int 0, long 5238112) line 1054 + 9 bytes USER32! 77e148dc() USER32! 77e14aa7() USER32! 77e266fd() nsAppShellService::Run(nsAppShellService * const 0x031215e0) line 408 main1(int 1, char * * 0x004a3100, nsISupports * 0x00000000) line 1031 + 32 bytes main(int 1, char * * 0x004a3100) line 1212 + 37 bytes mainCRTStartup() line 338 + 17 bytes
Assignee | ||
Comment 1•24 years ago
|
||
*** This bug has been marked as a duplicate of 56155 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•