Closed Bug 303039 Opened 19 years ago Closed 19 years ago

[FIX]ASSERTION: max-width didn't include padding?: 'kidContentMaxWidth >= 0'

Categories

(Core :: Layout, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla1.9alpha1

People

(Reporter: bc, Assigned: bzbarsky)

References

()

Details

(Keywords: testcase)

Attachments

(2 files)

ASSERTION: max-width didn't include padding?: 'kidContentMaxWidth >= 0', file
c:/work/mozilla/builds/ff/trunk/mozilla/layout/generic/nsGfxScrollFrame.cpp,
line 457

Found this scanning top sites with a cvs build from 7/31/2005 on winxp. It is
reproducible but you may have to reload a few times.
kidContentMaxWidth  0xffffffa6
kidMaxWidth         0x000000e1

nsHTMLScrollFrame::TryLayout(ScrollReflowState * 0x00129c24, const
nsHTMLReflowMetrics & {...}, int 0x00000000, int 0x00000000, int 0x00000000)
line 463 + 32 bytes
nsHTMLScrollFrame::ReflowContents(ScrollReflowState * 0x00129c24, const
nsHTMLReflowMetrics & {...}) line 629 + 27 bytes
nsHTMLScrollFrame::Reflow(nsHTMLScrollFrame * const 0x0708a1ec, nsPresContext *
0x072271e0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...},
unsigned int & 0x00000000) line 783 + 16 bytes
nsBlockReflowContext::ReflowBlock(const nsRect & {...}, int 0x00000001,
nsCollapsingMargin & {...}, int 0x00000000, int 0x00000000, nsMargin & {...},
nsHTMLReflowState & {...}, unsigned int & 0x00000000) line 588 + 42 bytes
nsBlockFrame::ReflowBlockFrame(nsBlockReflowState & {...}, nsLineList_iterator
{...}, int * 0x0012a3d4) line 3429 + 66 bytes
nsBlockFrame::ReflowLine(nsBlockReflowState & {...}, nsLineList_iterator {...},
int * 0x0012a3d4, int 0x00000001) line 2591 + 27 bytes
nsBlockFrame::ReflowDirtyLines(nsBlockReflowState & {...}, int 0x00000001) line
2243 + 31 bytes
nsBlockFrame::Reflow(nsBlockFrame * const 0x07ca80a0, nsPresContext *
0x072271e0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...},
unsigned int & 0x00000000) line 877 + 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 * 0x0012b020) line 3429 + 66 bytes
nsBlockFrame::ReflowLine(nsBlockReflowState & {...}, nsLineList_iterator {...},
int * 0x0012b020, int 0x00000001) line 2591 + 27 bytes
nsBlockFrame::ReflowDirtyLines(nsBlockReflowState & {...}, int 0x00000001) line
2243 + 31 bytes
nsBlockFrame::Reflow(nsBlockFrame * const 0x07c9f650, nsPresContext *
0x072271e0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...},
unsigned int & 0x0012b6a4) line 877 + 17 bytes
nsContainerFrame::ReflowChild(nsIFrame * 0x07c9f650, nsPresContext * 0x072271e0,
nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, int 0x00000000,
int 0x00000000, unsigned int 0x00000003, unsigned int & 0x0012b6a4) line 891 +
31 bytes
nsHTMLScrollFrame::ReflowScrolledFrame(const ScrollReflowState & {...}, int
0x00000000, nsHTMLReflowMetrics * 0x0012b72c, int 0x00000001) line 519 + 54 bytes
nsHTMLScrollFrame::ReflowContents(ScrollReflowState * 0x0012b8d4, const
nsHTMLReflowMetrics & {...}) line 589 + 25 bytes
nsHTMLScrollFrame::Reflow(nsHTMLScrollFrame * const 0x07c9c32c, nsPresContext *
0x072271e0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...},
unsigned int & 0x00000000) line 783 + 16 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 * 0x0012c084) line 3429 + 66 bytes
nsBlockFrame::ReflowLine(nsBlockReflowState & {...}, nsLineList_iterator {...},
int * 0x0012c084, int 0x00000001) line 2591 + 27 bytes
nsBlockFrame::ReflowDirtyLines(nsBlockReflowState & {...}, int 0x00000001) line
2243 + 31 bytes
nsBlockFrame::Reflow(nsBlockFrame * const 0x07c9c17c, nsPresContext *
0x072271e0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...},
unsigned int & 0x00000000) line 877 + 17 bytes
nsContainerFrame::ReflowChild(nsIFrame * 0x07c9c17c, nsPresContext * 0x072271e0,
nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, int 0x00000000,
int 0x00000000, unsigned int 0x00000000, unsigned int & 0x00000000) line 891 +
31 bytes
nsTableCellFrame::Reflow(nsTableCellFrame * const 0x07c9c11c, nsPresContext *
0x072271e0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...},
unsigned int & 0x00000000) line 857
nsContainerFrame::ReflowChild(nsIFrame * 0x07c9c11c, nsPresContext * 0x072271e0,
nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, int 0x00000000,
int 0x00000000, unsigned int 0x00000000, unsigned int & 0x00000000) line 891 +
31 bytes
nsTableRowFrame::IR_TargetIsChild(nsTableRowFrame * const 0x07c9bf84,
nsPresContext * 0x072271e0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState
& {...}, nsTableFrame & {...}, unsigned int & 0x00000000, nsIFrame * 0x07c9c11c)
line 1215 + 45 bytes
nsTableRowFrame::IncrementalReflow(nsTableRowFrame * const 0x07c9bf84,
nsPresContext * 0x072271e0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState
& {...}, nsTableFrame & {...}, unsigned int & 0x00000000) line 1100 + 46 bytes
nsTableRowFrame::Reflow(nsTableRowFrame * const 0x07c9bf84, nsPresContext *
0x072271e0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...},
unsigned int & 0x00000000) line 1398 + 35 bytes
nsContainerFrame::ReflowChild(nsIFrame * 0x07c9bf84, nsPresContext * 0x072271e0,
nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, int 0x00000000,
int 0x00000000, unsigned int 0x00000000, unsigned int & 0x00000000) line 891 +
31 bytes
nsTableRowGroupFrame::IR_TargetIsChild(nsTableRowGroupFrame * const 0x07c824a8,
nsPresContext * 0x072271e0, nsHTMLReflowMetrics & {...}, nsRowGroupReflowState &
{...}, unsigned int & 0x00000000, nsIFrame * 0x07c9bf84) line 1638 + 45 bytes
nsTableRowGroupFrame::IncrementalReflow(nsTableRowGroupFrame * const 0x07c824a8,
nsPresContext * 0x072271e0, nsHTMLReflowMetrics & {...}, nsRowGroupReflowState &
{...}, unsigned int & 0x00000000) line 1322 + 42 bytes
nsTableRowGroupFrame::Reflow(nsTableRowGroupFrame * const 0x07c824a8,
nsPresContext * 0x072271e0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState
& {...}, unsigned int & 0x00000000) line 1228 + 31 bytes
nsContainerFrame::ReflowChild(nsIFrame * 0x07c824a8, nsPresContext * 0x072271e0,
nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, int 0x00000000,
int 0x00000000, unsigned int 0x00000000, unsigned int & 0x00000000) line 891 +
31 bytes
nsTableFrame::IR_TargetIsChild(nsTableFrame * const 0x07c9be10,
nsTableReflowState & {...}, unsigned int & 0x00000000, nsIFrame * 0x07c824a8)
line 2932 + 50 bytes
nsTableFrame::IncrementalReflow(nsTableFrame * const 0x07c9be10, const
nsHTMLReflowState & {...}, unsigned int & 0x00000000) line 2669 + 34 bytes
nsTableFrame::Reflow(nsTableFrame * const 0x07c9be10, nsPresContext *
0x072271e0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...},
unsigned int & 0x00000000) line 1925 + 23 bytes
nsContainerFrame::ReflowChild(nsIFrame * 0x07c9be10, nsPresContext * 0x072271e0,
nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, int 0x00000000,
int 0x00000000, unsigned int 0x00000003, unsigned int & 0x00000000) line 891 +
31 bytes
nsTableOuterFrame::OuterReflowChild(nsTableOuterFrame * const 0x07c9bd30,
nsPresContext * 0x072271e0, nsIFrame * 0x07c9be10, const nsHTMLReflowState &
{...}, nsHTMLReflowMetrics & {...}, int 0x00002ae4, nsSize & {...}, nsMargin &
{...}, nsMargin & {...}, nsMargin & {...}, nsReflowReason
eReflowReason_Incremental, unsigned int & 0x00000000, int * 0x0012d370) line
1311 + 47 bytes
nsTableOuterFrame::IR_InnerTableReflow(nsTableOuterFrame * const 0x07c9bd30,
nsPresContext * 0x072271e0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState
& {...}, unsigned int & 0x00000000) line 1659 + 81 bytes
nsTableOuterFrame::IR_TargetIsInnerTableFrame(nsTableOuterFrame * const
0x07c9bd30, nsPresContext * 0x072271e0, nsHTMLReflowMetrics & {...}, const
nsHTMLReflowState & {...}, unsigned int & 0x00000000) line 1423 + 31 bytes
nsTableOuterFrame::IR_TargetIsChild(nsTableOuterFrame * const 0x07c9bd30,
nsPresContext * 0x072271e0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState
& {...}, unsigned int & 0x00000000, nsIFrame * 0x07c9be10) line 1396 + 31 bytes
nsTableOuterFrame::IncrementalReflow(nsTableOuterFrame * const 0x07c9bd30,
nsPresContext * 0x072271e0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState
& {...}, unsigned int & 0x00000000) line 1376 + 42 bytes
nsTableOuterFrame::Reflow(nsTableOuterFrame * const 0x07c9bd30, nsPresContext *
0x072271e0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...},
unsigned int & 0x00000000) line 1922 + 31 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 * 0x0012df04) line 3429 + 66 bytes
nsBlockFrame::ReflowLine(nsBlockReflowState & {...}, nsLineList_iterator {...},
int * 0x0012df04, int 0x00000001) line 2591 + 27 bytes
nsBlockFrame::ReflowDirtyLines(nsBlockReflowState & {...}, int 0x00000001) line
2243 + 31 bytes
nsBlockFrame::Reflow(nsBlockFrame * const 0x07c064f4, nsPresContext *
0x072271e0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...},
unsigned int & 0x00000000) line 877 + 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 * 0x0012eb50) line 3429 + 66 bytes
nsBlockFrame::ReflowLine(nsBlockReflowState & {...}, nsLineList_iterator {...},
int * 0x0012eb50, int 0x00000001) line 2591 + 27 bytes
nsBlockFrame::ReflowDirtyLines(nsBlockReflowState & {...}, int 0x00000001) line
2243 + 31 bytes
nsBlockFrame::Reflow(nsBlockFrame * const 0x07c06370, nsPresContext *
0x072271e0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...},
unsigned int & 0x00000000) line 877 + 17 bytes
nsContainerFrame::ReflowChild(nsIFrame * 0x07c06370, nsPresContext * 0x072271e0,
nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, int 0x00000000,
int 0x00000000, unsigned int 0x00000000, unsigned int & 0x00000000) line 891 +
31 bytes
CanvasFrame::Reflow(CanvasFrame * const 0x07666258, nsPresContext * 0x072271e0,
nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int &
0x00000000) line 521
nsContainerFrame::ReflowChild(nsIFrame * 0x07666258, nsPresContext * 0x072271e0,
nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, int 0x00000000,
int 0x00000000, unsigned int 0x00000003, unsigned int & 0x00000000) line 891 +
31 bytes
nsHTMLScrollFrame::ReflowScrolledFrame(const ScrollReflowState & {...}, int
0x00000000, nsHTMLReflowMetrics * 0x0012f42c, int 0x00000001) line 519 + 54 bytes
nsHTMLScrollFrame::ReflowContents(ScrollReflowState * 0x0012f5d4, const
nsHTMLReflowMetrics & {...}) line 589 + 25 bytes
nsHTMLScrollFrame::Reflow(nsHTMLScrollFrame * const 0x076663a4, nsPresContext *
0x072271e0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...},
unsigned int & 0x00000000) line 783 + 16 bytes
nsContainerFrame::ReflowChild(nsIFrame * 0x076663a4, nsPresContext * 0x072271e0,
nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, int 0x00000000,
int 0x00000000, unsigned int 0x00000000, unsigned int & 0x00000000) line 891 +
31 bytes
ViewportFrame::Reflow(ViewportFrame * const 0x076661c4, nsPresContext *
0x072271e0, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...},
unsigned int & 0x00000000) line 238 + 43 bytes
IncrementalReflow::Dispatch(nsPresContext * 0x072271e0, nsHTMLReflowMetrics &
{...}, const nsSize & {...}, nsIRenderingContext & {...}) line 857
PresShell::ProcessReflowCommands(int 0x00000001) line 6664
PresShell::WillPaint(PresShell * const 0x07788c88) line 6308
nsViewManager::FlushPendingInvalidates() line 4389
nsViewManager::EnableRefresh(nsViewManager * const 0x0771df50, unsigned int
0x00000000) line 3432
nsViewManager::EndUpdateViewBatch(nsViewManager * const 0x0771df50, unsigned int
0x00000000) line 3474 + 22 bytes
nsCSSFrameConstructor::RestyleEvent::HandleEvent() line 13256
HandleRestyleEvent(PLEvent * 0x07290850) line 13264
PL_HandleEvent(PLEvent * 0x07290850) line 688 + 10 bytes
PL_ProcessPendingEvents(PLEventQueue * 0x00bd3ac8) line 623 + 9 bytes
_md_TimerProc(HWND__ * 0x000e0194, unsigned int 0x00000113, unsigned int
0x00000000, unsigned long 0x01d6e63b) line 1013 + 9 bytes
USER32! 77d48734()
USER32! 77d49857()
USER32! 77d49791()
USER32! 77d48a10()
nsAppShell::Run(nsAppShell * const 0x02d92d08) line 135
nsAppStartup::Run(nsAppStartup * const 0x02d92c68) line 145 + 26 bytes
XRE_main(int 0x00000003, char * * 0x003f6e70, const nsXREAppData * 0x0042101c
kAppData) line 2309 + 35 bytes
main(int 0x00000003, char * * 0x003f6e70) line 61 + 18 bytes
mainCRTStartup() line 338 + 17 bytes
KERNEL32! 7c816d4f()
Scrollframe stuff is roc's thing....
Attached file testcase
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
Attached patch Proposed fixSplinter Review
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Attachment #209307 - Flags: superreview?(roc)
Attachment #209307 - Flags: review?(roc)
OS: Windows XP → All
Priority: -- → P3
Hardware: PC → All
Summary: ASSERTION: max-width didn't include padding?: 'kidContentMaxWidth >= 0' → [FIX]ASSERTION: max-width didn't include padding?: 'kidContentMaxWidth >= 0'
Target Milestone: --- → mozilla1.9alpha
Attachment #209307 - Flags: superreview?(roc)
Attachment #209307 - Flags: superreview+
Attachment #209307 - Flags: review?(roc)
Attachment #209307 - Flags: review+
Fixed.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: