Closed Bug 303281 Opened 19 years ago Closed 15 years ago

###!!! ASSERTION: bad width: 'Not Reached', file r:/mozilla/layout/generic/nsLineLayout.cpp, line 246

Categories

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

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 531361

People

(Reporter: timeless, Unassigned)

References

()

Details

(Keywords: assertion, testcase)

Attachments

(1 file)

0[3e4cc0]: ###!!! ASSERTION: bad width: 'Not Reached', file 
r:/mozilla/layout/generic/nsLineLayout.cpp, line 246
0[3e4cc0]: ###!!! Break: at file r:/mozilla/layout/generic/nsLineLayout.cpp, 
line 246
0:000> dpa @@(&(((necko!nsStandardURL*)(((gklayout!nsHTMLDocument*)$!this-
>mDocument)->mDocumentURI.mRawPtr))->mSpec).mData)
08c4f73c  08434ce0 "http://www.real-estate-listings.cc/"

 # 
00 gklayout!nsLineLayout::BeginLineReflow(int aX = 0, int aY = 0, int aWidth = 
0xb83bc, int aHeight = 0x40000000, int aImpactedByFloats = 0, int aIsTopOfPage 
= 0)+0x107 (FPO: [Non-Fpo]) (CONV: thiscall) 
[r:\mozilla\layout\generic\nslinelayout.cpp @ 266]
01 gklayout!nsBlockFrame::DoReflowInlineFrames(class nsBlockReflowState * 
aState = 0x0012e7a4, class nsLineLayout * aLineLayout = 0x0012e130, class 
nsLineList_iterator aLine = class nsLineList_iterator, int * aKeepReflowGoing = 
0x0012e464, unsigned char * aLineReflowStatus = 0x0012e1db "???", int 
aUpdateMaximumWidth = 0, int aDamageDirtyArea = 0)+0x12f (FPO: [Non-Fpo]) 
(CONV: thiscall) [r:\mozilla\layout\generic\nsblockframe.cpp @ 3779]
02 gklayout!nsBlockFrame::ReflowInlineFrames(class nsBlockReflowState * aState 
= 0x0012e7a4, class nsLineList_iterator aLine = class nsLineList_iterator, int 
* aKeepReflowGoing = 0x0012e464, int aDamageDirtyArea = 0, int 
aUpdateMaximumWidth = 0)+0xac (FPO: [Non-Fpo]) (CONV: thiscall) 
[r:\mozilla\layout\generic\nsblockframe.cpp @ 3686]
03 gklayout!nsBlockFrame::ReflowLine(class nsBlockReflowState * aState = 
0x0012e7a4, class nsLineList_iterator aLine = class nsLineList_iterator, int * 
aKeepReflowGoing = 0x0012e464, int aDamageDirtyArea = 0)+0x447 (FPO: [Non-Fpo]) 
(CONV: thiscall) [r:\mozilla\layout\generic\nsblockframe.cpp @ 2681]
04 gklayout!nsBlockFrame::ReflowDirtyLines(class nsBlockReflowState * aState = 
0x0012e7a4, int aTryPull = 1)+0x51a (FPO: [Non-Fpo]) (CONV: thiscall) 
[r:\mozilla\layout\generic\nsblockframe.cpp @ 2231]
05 gklayout!nsBlockFrame::Reflow(class nsPresContext * aPresContext = 
0x03c54aa8, struct nsHTMLReflowMetrics * aMetrics = 0x0012ebf4, struct 
nsHTMLReflowState * aReflowState = 0x0012eb34, unsigned int * aStatus = 
0x0012ed60)+0x6fc (FPO: [Non-Fpo]) (CONV: stdcall) 
[r:\mozilla\layout\generic\nsblockframe.cpp @ 874]
06 gklayout!nsAbsoluteContainingBlock::ReflowAbsoluteFrame(class nsIFrame * 
aDelegatingFrame = 0x03335238, class nsPresContext * aPresContext = 0x03c54aa8, 
struct nsHTMLReflowState * aReflowState = 0x0012f31c, int aContainingBlockWidth 
= 0xffffffff, int aContainingBlockHeight = 0xffffffff, class nsIFrame * 
aKidFrame = 0x05fe7240, nsReflowReason aReason = eReflowReason_Initial (0), 
unsigned int * aStatus = 0x0012ed60)+0x47b (FPO: [Non-Fpo]) (CONV: thiscall) 
[r:\mozilla\layout\generic\nsabsolutecontainingblock.cpp @ 568]
07 gklayout!nsAbsoluteContainingBlock::IncrementalReflow(class nsIFrame * 
aDelegatingFrame = 0x03335238, class nsPresContext * aPresContext = 0x03c54aa8, 
struct nsHTMLReflowState * aReflowState = 0x0012f31c, int aContainingBlockWidth 
= 0xffffffff, int aContainingBlockHeight = 0xffffffff)+0xe3 (FPO: [Non-Fpo]) 
(CONV: thiscall) [r:\mozilla\layout\generic\nsabsolutecontainingblock.cpp @ 402]
08 gklayout!nsBlockFrame::Reflow(class nsPresContext * aPresContext = 
0x03c54aa8, struct nsHTMLReflowMetrics * aMetrics = 0x0012f3f4, struct 
nsHTMLReflowState * aReflowState = 0x0012f31c, unsigned int * aStatus = 
0x0012f5c4)+0xc06 (FPO: [Non-Fpo]) (CONV: stdcall) 
[r:\mozilla\layout\generic\nsblockframe.cpp @ 1020]
09 gklayout!nsContainerFrame::ReflowChild(class nsIFrame * aKidFrame = 
0x03335238, class nsPresContext * aPresContext = 0x03c54aa8, struct 
nsHTMLReflowMetrics * aDesiredSize = 0x0012f3f4, struct nsHTMLReflowState * 
aReflowState = 0x0012f31c, int aX = 0, int aY = 0, unsigned int aFlags = 0, 
unsigned int * aStatus = 0x0012f5c4)+0x9c (FPO: [Non-Fpo]) (CONV: thiscall) 
[r:\mozilla\layout\generic\nscontainerframe.cpp @ 898]
0a gklayout!CanvasFrame::Reflow(class nsPresContext * aPresContext = 
0x03c54aa8, struct nsHTMLReflowMetrics * aDesiredSize = 0x0012f65c, struct 
nsHTMLReflowState * aReflowState = 0x0012f500, unsigned int * aStatus = 
0x0012f5c4)+0x221 (FPO: [Non-Fpo]) (CONV: stdcall) 
[r:\mozilla\layout\generic\nshtmlframe.cpp @ 522]
0b gklayout!nsContainerFrame::ReflowChild(class nsIFrame * aKidFrame = 
0x03334a48, class nsPresContext * aPresContext = 0x03c54aa8, struct 
nsHTMLReflowMetrics * aDesiredSize = 0x0012f65c, struct nsHTMLReflowState * 
aReflowState = 0x0012f500, int aX = 0, int aY = 0, unsigned int aFlags = 3, 
unsigned int * aStatus = 0x0012f5c4)+0x9c (FPO: [Non-Fpo]) (CONV: thiscall) 
[r:\mozilla\layout\generic\nscontainerframe.cpp @ 898]
0c gklayout!nsHTMLScrollFrame::ReflowScrolledFrame(struct ScrollReflowState * 
aState = 0x0012f79c, int aAssumeVScroll = 0, struct nsHTMLReflowMetrics * 
aMetrics = 0x0012f65c, int aFirstPass = 1)+0x217 (FPO: [Non-Fpo]) (CONV: 
thiscall) [r:\mozilla\layout\generic\nsgfxscrollframe.cpp @ 508]
0d gklayout!nsHTMLScrollFrame::ReflowContents(struct ScrollReflowState * aState 
= 0x0012f79c, struct nsHTMLReflowMetrics * aDesiredSize = 0x0012f9b0)+0x91 
(FPO: [Non-Fpo]) (CONV: thiscall) 
[r:\mozilla\layout\generic\nsgfxscrollframe.cpp @ 563]
0e gklayout!nsHTMLScrollFrame::Reflow(class nsPresContext * aPresContext = 
0x03c54aa8, struct nsHTMLReflowMetrics * aDesiredSize = 0x0012f9b0, struct 
nsHTMLReflowState * aReflowState = 0x0012f8e8, unsigned int * aStatus = 
0x0012fb3c)+0x2d2 (FPO: [Non-Fpo]) (CONV: stdcall) 
[r:\mozilla\layout\generic\nsgfxscrollframe.cpp @ 753]
0f gklayout!nsContainerFrame::ReflowChild(class nsIFrame * aKidFrame = 
0x03334b8c, class nsPresContext * aPresContext = 0x03c54aa8, struct 
nsHTMLReflowMetrics * aDesiredSize = 0x0012f9b0, struct nsHTMLReflowState * 
aReflowState = 0x0012f8e8, int aX = 0, int aY = 0, unsigned int aFlags = 0, 
unsigned int * aStatus = 0x0012fb3c)+0x9c (FPO: [Non-Fpo]) (CONV: thiscall) 
[r:\mozilla\layout\generic\nscontainerframe.cpp @ 898]
10 gklayout!ViewportFrame::Reflow(class nsPresContext * aPresContext = 
0x03c54aa8, struct nsHTMLReflowMetrics * aDesiredSize = 0x0012fca0, struct 
nsHTMLReflowState * aReflowState = 0x0012fb4c, unsigned int * aStatus = 
0x0012fb3c)+0x175 (FPO: [Non-Fpo]) (CONV: stdcall) 
[r:\mozilla\layout\generic\nsviewportframe.cpp @ 239]
11 gklayout!IncrementalReflow::Dispatch(class nsPresContext * aPresContext = 
0x03c54aa8, struct nsHTMLReflowMetrics * aDesiredSize = 0x0012fca0, struct 
nsSize * aMaxSize = 0x0012fd00, class nsIRenderingContext * aRendContext = 
0x06acbbf0)+0x128 (FPO: [Non-Fpo]) (CONV: thiscall) 
[r:\mozilla\layout\base\nspresshell.cpp @ 911]
12 gklayout!PresShell::ProcessReflowCommands(int aInterruptible = 1)+0x348 
(FPO: [Non-Fpo]) (CONV: thiscall) [r:\mozilla\layout\base\nspresshell.cpp @ 
6852]
13 gklayout!ReflowEvent::HandleEvent(void)+0xca (FPO: [Non-Fpo]) (CONV: 
thiscall) [r:\mozilla\layout\base\nspresshell.cpp @ 6678]
14 gklayout!HandlePLEvent(struct ReflowEvent * aEvent = 0x06cf9ae8)+0xb (FPO: 
[Non-Fpo]) (CONV: cdecl) [r:\mozilla\layout\base\nspresshell.cpp @ 6695]
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b4) Gecko/20050804 Firefox/1.0+

Status: UNCONFIRMED -> NEW

CSS Error (http://www.real-estate-listings.cc/Graphics/RealEstateStyles.css
:165.49): Error in parsing value for property 'CURSOR'.  Declaration dropped.
CSS Error (http://www.real-estate-listings.cc/Graphics/RealEstateStyles.css
:189.12): Expected end of value for property but found ':'.  Error in parsing
value for property 'FONT-FAMILY'.  Declaration dropped.
CSS Error (http://www.real-estate-listings.cc/Graphics/RealEstateStyles.css
:209.20): Error in parsing value for property 'cursor'.  Declaration dropped.
WARNING: failed querying PAC file; trying DIRECT, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/netwerk/base/src/nsProtocolProxyService.cpp,
line 817
WARNING: failed querying PAC file; trying DIRECT, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/netwerk/base/src/nsProtocolProxyService.cpp,
line 817
WARNING: failed querying PAC file; trying DIRECT, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/netwerk/base/src/nsProtocolProxyService.cpp,
line 817
WARNING: failed querying PAC file; trying DIRECT, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/netwerk/base/src/nsProtocolProxyService.cpp,
line 817
WARNING: failed querying PAC file; trying DIRECT, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/netwerk/base/src/nsProtocolProxyService.cpp,
line 817
WARNING: failed querying PAC file; trying DIRECT, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/netwerk/base/src/nsProtocolProxyService.cpp,
line 817
WARNING: failed querying PAC file; trying DIRECT, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/netwerk/base/src/nsProtocolProxyService.cpp,
line 817
WARNING: failed querying PAC file; trying DIRECT, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/netwerk/base/src/nsProtocolProxyService.cpp,
line 817
WARNING: failed querying PAC file; trying DIRECT, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/netwerk/base/src/nsProtocolProxyService.cpp,
line 817
WARNING: failed querying PAC file; trying DIRECT, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/netwerk/base/src/nsProtocolProxyService.cpp,
line 817
WARNING: failed querying PAC file; trying DIRECT, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/netwerk/base/src/nsProtocolProxyService.cpp,
line 817
###!!! ASSERTION: bad width: 'Not Reached', file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 246
Break: at file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/layout/generic/nsLineLayout.cpp,
line 246
Area(div)(12)@0x978e428: Init: bad caller: width WAS 769200(0xbbcb0)
JavaScript strict warning: http://stats.seostats.com/u.php, line 30: assignment
to undeclared variable q
JavaScript strict warning: http://stats.seostats.com/u.php, line 56: assignment
to undeclared variable Ref
JavaScript strict warning: http://stats.seostats.com/u.php, line 67: assignment
to undeclared variable dfurl
WARNING: failed querying PAC file; trying DIRECT, file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/netwerk/base/src/nsProtocolProxyService.cpp,
line 817
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attached file testcase
This minimal testcase still gives the assertion in my debug build.
It happens when top and left have enormous negative values (e.g. left: -50000px; top: -50000px;), not when they have moderate negative values (e.g. left: -500px; top: -500px;).
Keywords: testcase
Depends on: 323381
Bug 323381 has additional ways to trigger this assertion.
Seeing this a lot on wikipedia.org.

###!!! ASSERTION: bad width: 'Not Reached', file d:/build/mozilla/layout/generic/nsLineLayout.cpp, line 177
Area(div)(1)@05BCBEBC: Init: bad caller: width WAS 812460(0xc65ac)
nsBlockReflowContext: Area(div)(1)@05BCBEBC metrics=812460,1200!
Also:

http://www.sciam.com/slideshow.cfm?id=fifty-years-of-american-space-exploration

###!!! ASSERTION: bad width: 'Not Reached', file /Users/dolske/ff/trunk1/mozilla/layout/generic/nsLineLayout.cpp, line 181
Area(div)(1)@0x25690b70: Init: bad caller: width WAS 1800000(0x1b7740)
Area(div)(1)@0x25690b70: UpdateBand: bad caller: width WAS 1780500(0x1b2b14)
Area(div)(1)@0x25690b70: UpdateBand: bad caller: width WAS 1761000(0x1adee8)
Area(div)(1)@0x25690b70: UpdateBand: bad caller: width WAS 1741500(0x1a92bc)
Area(div)(1)@0x25690b70: UpdateBand: bad caller: width WAS 1722000(0x1a4690)
Area(div)(1)@0x25690b70: UpdateBand: bad caller: width WAS 1702500(0x19fa64)
Area(div)(1)@0x25690b70: UpdateBand: bad caller: width WAS 1683000(0x19ae38)
nsBlockReflowContext: Area(div)(1)@0x25690b70 metrics=1800000,9840!
I see it also with current TRUNK from comm-central while email with HTML MIME
part is being rendered.

++DOMWINDOW == 18 (0xb0820370) [serial = 59] [outer = 0xb081f5c0]
WARNING: GetDefaultCharsetForLocale: need to add multi locale support: file /home/mmokrejs/proj/comm-central/mozilla/intl/uconv/src/nsUNIXCharset.cpp, line 189
###!!! ASSERTION: bad width: 'Not Reached', file /home/mmokrejs/proj/comm-central/mozilla/layout/generic/nsLineLayout.cpp, line 182
Area(description)(0)@0xaf5b2df0: Init: bad caller: width WAS 688320(0xa80c0)
WARNING: nsMsgProtocol::SetContentCharset() not implemented: file /home/mmokrejs/proj/comm-central/mailnews/base/util/nsMsgProtocol.cpp, line 633


But the testcase attached to this bug does not trigger it. I could rip out the email and attach the HTML code if somebody wants.
Can we please make this a warning or else assign someone to the underlying bug? YouTube and Hulu trigger this assertion about a bazillion times making debugging plugins particularly painful.
I reviewed a patch (from roc?) to up the number and change it to a warning in some other bug; I think it's waiting for the tree to reopen.
The patch in question is in bug 531361.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: