Mozilla crashes with assertion on nsTableFrame

RESOLVED WORKSFORME

Status

()

Core
Layout: Tables
--
critical
RESOLVED WORKSFORME
13 years ago
13 years ago

People

(Reporter: Jack Lu, Unassigned)

Tracking

({crash})

Trunk
x86
Windows 98
crash
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

13 years ago
User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; .NET CLR 1.1.4322)
Build Identifier: 20040611

This bug can only be reproduced on Windows 98. It causes crash when user play 
games.

Reproducible: Always
Steps to Reproduce:
1. Go to http://www.pogo.com, click "Heavy Cannon" game
2. While the game is loading, the browser will crash
3. 

Actual Results:  
Browser crashes

Expected Results:  
The game should be loaded fine

When I ran this inside the debug build, it pops up the assertion and when I 
click on the debug button (you need to install Visual Studio to see the debug 
button), the whole crashes. I suspect the crashes is the cause. Here is the 
stack trace. 

nsDebug::Assertion(const char * 0x018127b4 ??_C@_0BA@FOIE@invalid?5divisor?
$AA@, const char * 0x01806064 ??_C@_05CKBG@Error?$AA@, const char * 
0x01812384 ??_C@_0DO@DEJN@c?3?1mozilla?1mozilla_6?99?1layout?1ht@, int 3613) 
line 109
nsTableFrame::DistributeHeightToRows(nsTableFrame * const 0x00e2f3bc, const 
nsHTMLReflowState & {...}, int 12630) line 3613 + 26 bytes
nsTableFrame::CalcDesiredHeight(nsTableFrame * const 0x00e2f3bc, const 
nsHTMLReflowState & {...}) line 3456
nsTableFrame::Reflow(nsTableFrame * const 0x00000000, nsIPresContext * 
0x0308a050, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, 
unsigned int & 0) line 2116 + 104 bytes
nsContainerFrame::ReflowChild(nsContainerFrame * const 0x00e2f3bc, nsIFrame * 
0x03342630, nsIPresContext * 0x0308a050, nsHTMLReflowMetrics & {...}, const 
nsHTMLReflowState & {...}, int 0, int 0, unsigned int 3, unsigned int & 0) line 
982
nsTableOuterFrame::OuterReflowChild(nsTableOuterFrame * const 0x03342494, 
nsIPresContext * 0x0308a050, nsIFrame * 0x03342630, const nsHTMLReflowState & 
{...}, nsHTMLReflowMetrics & {...}, int 15630, nsSize & {...}, nsMargin & 
{...}, nsMargin & {...}, nsMargin & {...}, nsReflowReason 
eReflowReason_Initial, unsigned int & 0, int * 0x00000000) line 1333
nsTableOuterFrame::Reflow(nsTableOuterFrame * const 0x00000000, nsIPresContext 
* 0x0308a050, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, 
unsigned int & 0) line 1998
nsBlockReflowContext::ReflowBlock(nsBlockReflowContext * const 0x00e2f3bc, 
const nsRect & {...}, int 0, nsCollapsingMargin & {...}, int 1, nsMargin & 
{...}, nsHTMLReflowState & {...}, unsigned int & 0) line 547
nsBlockFrame::ReflowBlockFrame(nsBlockFrame * const 0x00e2f3bc, 
nsBlockReflowState & {...}, nsLineList_iterator {...}, int * 0x0066dd28) line 
3036 + 52 bytes
nsBlockFrame::ReflowLine(nsBlockFrame * const 0x00e2f3bc, nsBlockReflowState & 
{...}, nsLineList_iterator {...}, int * 0x0066dd28, int 1) line 2305
nsBlockFrame::ReflowDirtyLines(nsBlockFrame * const 0x00e2f3bc, 
nsBlockReflowState & {...}) line 2086
nsBlockFrame::Reflow(nsBlockFrame * const 0x00000000, nsIPresContext * 
0x0308a050, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, 
unsigned int & 0) line 813
nsBlockReflowContext::ReflowBlock(nsBlockReflowContext * const 0x00e2f3bc, 
const nsRect & {...}, int 0, nsCollapsingMargin & {...}, int 1, nsMargin & 
{...}, nsHTMLReflowState & {...}, unsigned int & 0) line 547
nsBlockFrame::ReflowBlockFrame(nsBlockFrame * const 0x00e2f3bc, 
nsBlockReflowState & {...}, nsLineList_iterator {...}, int * 0x0066e594) line 
3036 + 52 bytes
nsBlockFrame::ReflowLine(nsBlockFrame * const 0x00e2f3bc, nsBlockReflowState & 
{...}, nsLineList_iterator {...}, int * 0x0066e594, int 1) line 2305
nsBlockFrame::ReflowDirtyLines(nsBlockFrame * const 0x00e2f3bc, 
nsBlockReflowState & {...}) line 2086
nsBlockFrame::Reflow(nsBlockFrame * const 0x00000000, nsIPresContext * 
0x0308a050, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, 
unsigned int & 0) line 813
nsBlockReflowContext::ReflowBlock(nsBlockReflowContext * const 0x00e2f3bc, 
const nsRect & {...}, int 1, nsCollapsingMargin & {...}, int 1, nsMargin & 
{...}, nsHTMLReflowState & {...}, unsigned int & 0) line 547
nsBlockFrame::ReflowBlockFrame(nsBlockFrame * const 0x00e2f3bc, 
nsBlockReflowState & {...}, nsLineList_iterator {...}, int * 0x0066ee00) line 
3036 + 52 bytes
nsBlockFrame::ReflowLine(nsBlockFrame * const 0x00e2f3bc, nsBlockReflowState & 
{...}, nsLineList_iterator {...}, int * 0x0066ee00, int 1) line 2305
nsBlockFrame::ReflowDirtyLines(nsBlockFrame * const 0x00e2f3bc, 
nsBlockReflowState & {...}) line 2086
nsBlockFrame::Reflow(nsBlockFrame * const 0x00000000, nsIPresContext * 
0x0308a050, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, 
unsigned int & 0) line 813
nsContainerFrame::ReflowChild(nsContainerFrame * const 0x00e2f3bc, nsIFrame * 
0x0311b8f8, nsIPresContext * 0x0308a050, nsHTMLReflowMetrics & {...}, const 
nsHTMLReflowState & {...}, int 0, int 0, unsigned int 0, unsigned int & 0) line 
982
CanvasFrame::Reflow(CanvasFrame * const 0x00000000, nsIPresContext * 
0x0308a050, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, 
unsigned int & 0) line 553
nsBoxToBlockAdaptor::Reflow(nsBoxToBlockAdaptor * const 0x00e2f3bc, 
nsBoxLayoutState & {...}, nsIPresContext * 0x0308a050, nsHTMLReflowMetrics & 
{...}, const nsHTMLReflowState & {...}, unsigned int & 0, int 0, int 0, int 
15630, int 12630, int 1) line 880
nsBoxToBlockAdaptor::DoLayout(nsBoxToBlockAdaptor * const 0x0066f750, 
nsBoxLayoutState & {...}) line 626 + 36 bytes
nsBox::Layout(nsBox * const 0x0311b628, nsBoxLayoutState & {...}) line 994
nsScrollBoxFrame::DoLayout(nsScrollBoxFrame * const 0x0308a050, 
nsBoxLayoutState & {...}) line 337
nsBox::Layout(nsBox * const 0x0311b4ec, nsBoxLayoutState & {...}) line 994
nsBoxFrame::Reflow(nsBoxFrame * const 0x0311b4b4, nsIPresContext * 0x0308a050, 
nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, unsigned int & 0) 
line 867
nsContainerFrame::ReflowChild(nsContainerFrame * const 0x00e2f3bc, nsIFrame * 
0x0311b4b4, nsIPresContext * 0x0308a050, nsHTMLReflowMetrics & {...}, const 
nsHTMLReflowState & {...}, int 0, int 0, unsigned int 0, unsigned int & 0) line 
982
ViewportFrame::Reflow(ViewportFrame * const 0x0311b2bc, nsIPresContext * 
0x0308a050, nsHTMLReflowMetrics & {...}, const nsHTMLReflowState & {...}, 
unsigned int & 0) line 249
IncrementalReflow::Dispatch(IncrementalReflow * const 0x00e2f3bc, 
nsIPresContext * 0x0319077c, nsHTMLReflowMetrics & {...}, const nsSize & {...}, 
nsIRenderingContext & {...}) line 907
PresShell::ProcessReflowCommands(PresShell * const 0x00e2f3bc, int 1) line 6359
ReflowEvent::HandleEvent(ReflowEvent * const 0x00e2f3bc) line 6184
PL_HandleEvent(PLEvent * 0x03031490) line 693
PL_ProcessPendingEvents(PLEventQueue * 0x1003e199) line 628
_md_TimerProc(HWND__ * 0x00000338, unsigned int 275, unsigned int 0, unsigned 
long 2841525) line 998 + 6 bytes
KERNEL32! bff72317()
USER32! bfc03bb5()

Updated

13 years ago
Blocks: 194663
Summary: Mozilla crashes with assertion on nsTableFrame → Mozilla crashes with assertion on nsTableFrame

Comment 1

13 years ago
tables
Component: Layout: HTML Frames → Layout: Tables
QA Contact: core.layout.html-frames → core.layout.tables

Comment 2

13 years ago
First I cant find the link
second even after some search I found the game (hey I did like to work not to play)
it does not crash on winxp
do you see a crash in normal build?, 
talkback??

Comment 3

13 years ago
WFM:
http://ea.pogo.com/game/arcade/heavycannon.jsp?game=heavy&site=eaga
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040608
Sun JRE 1.4.2_04

I'll try it on 98 if I get a chance but it may be a JRE bug.

Updated

13 years ago
Keywords: crash

Comment 4

13 years ago
the code with the assertion will change with bug 197391
Depends on: 197391

Comment 5

13 years ago
This wfm using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2)
Gecko/20050409 Firefox/1.0+
Status: UNCONFIRMED → RESOLVED
Last Resolved: 13 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.