Assertions in table code for certain web pages

VERIFIED FIXED

Status

()

Core
Layout
P3
normal
VERIFIED FIXED
19 years ago
19 years ago

People

(Reporter: Scott MacGregor, Assigned: troy)

Tracking

Trunk
All
Windows NT
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

19 years ago
I didn't see this problem in Friday's build but I am seeing it in a tree I
pulled yesterday afternoon.

I started apprunner and went to the following url:
www.boston.com/globe/sports

I continually assert in nsCellMap::RowIsSpannedInto with the following
assertion:
NS_PRECONDITION ((0 <= aRowIndex) && (aRowIndex < mRowCount), "bad row index
arg");

Both aRowIndex and mRowCount are 0. I tried skipping past the assert and kept
hitting it. After 15 or so traps into the debugger I just killed it.

I'm going to start by assigning this to Troy as my stack trace pretty much only
has table stuff on it so I have no other place to start with.

Here is the rest of the stack:
nsDebug::PreCondition(const char * 0x01cedac4, const char * 0x01ceda98, const
char * 0x01ceda68, int 487) line 152 + 13 bytes
nsCellMap::RowIsSpannedInto(int 0) line 487 + 43 bytes
nsTableFrame::RowIsSpannedInto(int 0) line 5349 + 12 bytes
nsTableRowGroupFrame::CalculateRowHeights(nsIPresContext & {...},
nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}) line 618 + 15
bytes
nsTableRowGroupFrame::Reflow(nsTableRowGroupFrame * const 0x045a0494,
nsIPresContext & {...}, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState &
{...}, unsigned int & 0) line 1068
nsContainerFrame::ReflowChild(nsIFrame * 0x045a0490, nsIPresContext & {...},
nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0)
line 439 + 28 bytes
nsTableFrame::ReflowMappedChildren(nsTableFrame * const 0x045a0b10,
nsIPresContext & {...}, nsHTMLReflowMetrics & {...}, InnerTableReflowState &
{...}, unsigned int & 0) line 3310 + 31 bytes
nsTableFrame::ResizeReflowPass2(nsTableFrame * const 0x045a0b10, nsIPresContext
& {...}, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned
int & 0) line 2376 + 31 bytes
nsTableFrame::Reflow(nsTableFrame * const 0x045a0b14, nsIPresContext & {...},
nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0)
line 2095 + 38 bytes
nsContainerFrame::ReflowChild(nsIFrame * 0x045a0b10, nsIPresContext & {...},
nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0)
line 439 + 28 bytes
nsTableOuterFrame::Reflow(nsTableOuterFrame * const 0x045a0c14, nsIPresContext &
{...}, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned
int & 0) line 920 + 37 bytes
nsBlockReflowContext::ReflowBlock(nsIFrame * 0x045a0c10, const nsRect & {x=2493
y=0 width=4137 height=1073741824}, int 1, int 0, int 1, nsMargin & {top=0
right=0 bottom=0 left=0}, unsigned int & 0) line 223 + 42 bytes
nsBlockFrame::ReflowBlockFrame(nsBlockReflowState & {...}, nsLineBox *
0x045a1ea0, int * 0x0012b0cc) line 2738 + 56 bytes
nsBlockFrame::ReflowLine(nsBlockReflowState & {...}, nsLineBox * 0x045a1ea0, int
* 0x0012b0cc, int 1) line 2127 + 20 bytes
nsBlockFrame::ReflowDirtyLines(nsBlockReflowState & {...}) line 1923 + 30 bytes
nsBlockFrame::Reflow(nsBlockFrame * const 0x04513374, nsIPresContext & {...},
nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0)
line 1233 + 18 bytes
nsBlockReflowContext::ReflowBlock(nsIFrame * 0x04513370, const nsRect & {x=0 y=0
width=6870 height=1073741824}, int 1, int 0, int 1, nsMargin & {top=0 right=0
bottom=0 left=0}, unsigned int & 0) line 223 + 42 bytes
nsBlockFrame::ReflowBlockFrame(nsBlockReflowState & {...}, nsLineBox *
0x04513250, int * 0x0012d4d4) line 2738 + 56 bytes
nsBlockFrame::ReflowLine(nsBlockReflowState & {...}, nsLineBox * 0x04513250, int
* 0x0012d4d4, int 1) line 2127 + 20 bytes
nsBlockFrame::ReflowDirtyLines(nsBlockReflowState & {...}) line 1923 + 30 bytes
nsBlockFrame::Reflow(nsBlockFrame * const 0x04513b24, nsIPresContext & {...},
nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0)
line 1233 + 18 bytes
nsAreaFrame::Reflow(nsAreaFrame * const 0x04513b24, nsIPresContext & {...},
nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0)
line 344 + 25 bytes
nsContainerFrame::ReflowChild(nsIFrame * 0x04513b20, nsIPresContext & {...},
nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0)
line 439 + 28 bytes
RootFrame::Reflow(RootFrame * const 0x04512044, nsIPresContext & {...},
nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0)
line 327
nsContainerFrame::ReflowChild(nsIFrame * 0x04512040, nsIPresContext & {...},
nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0)
line 439 + 28 bytes
nsScrollFrame::Reflow(nsScrollFrame * const 0x045111f4, nsIPresContext & {...},
nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0)
line 543
nsContainerFrame::ReflowChild(nsIFrame * 0x045111f0, nsIPresContext & {...},
nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0)
line 439 + 28 bytes
ViewportFrame::Reflow(ViewportFrame * const 0x04511304, nsIPresContext & {...},
nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0)
line 513
nsHTMLReflowCommand::Dispatch(nsHTMLReflowCommand * const 0x045a1dd0,
nsIPresContext & {...}, nsHTMLReflowMetrics & {...}, const nsSize & {width=6870
height=4770}, nsIRenderingContext & {...}) line 140
PresShell::ProcessReflowCommands(PresShell * const 0x0407ec20) line 1184
PresShell::ExitReflowLock(PresShell * const 0x0407ec20) line 564
PresShell::ContentAppended(PresShell * const 0x0407ec28, nsIDocument *
0x04202e90, nsIContent * 0x045115fc, int 1) line 1564
(Assignee)

Updated

19 years ago
Status: NEW → RESOLVED
Last Resolved: 19 years ago
Resolution: --- → FIXED
(Assignee)

Comment 1

19 years ago
Chris checked in a fix for this yesterday...

Updated

19 years ago
Status: RESOLVED → VERIFIED

Comment 2

19 years ago
Fixed in the Aug 23rd M9 build.
You need to log in before you can comment on or make changes to this bug.