Closed Bug 5776 Opened 26 years ago Closed 25 years ago

infinite loop (or at least really really slow...) http://www.bignosebird.com/index.shtml

Categories

(Core :: CSS Parsing and Computation, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: kipp, Assigned: peterl-retired)

References

()

Details

(Whiteboard: [Perf])

I was loading this url:

http://www.bignosebird.com/index.shtml

And it ground to a halt....why?

We were looping here:

#0  0x40881d08 in __ieee754_pow (x=1.1000000000000001, y=7052902) at e_pow.c:132
#1  0x40b8eac4 in __pow (x=1.1000000000000001, y=7052902) at
../sysdeps/libm-ieee754/w_pow.c:46
#2  0x4041ddb7 in nsStyleUtil::CalcFontPointSize (aHTMLSize=-7052901,
aBasePointSize=240,
aScalingFactor=1)
    at nsStyleUtil.cpp:88
#3  0x4041df4b in nsStyleUtil::FindNextSmallerFontSize (aFontSize=1,
aBasePointSize=240,
aScalingFactor=1)
    at nsStyleUtil.cpp:124
#4  0x404047b7 in MapDeclarationFontInto (aDeclaration=0x827c020,
aContext=0x83dc980,
aPresContext=0x82b3730)
    at nsCSSStyleRule.cpp:1317
#5  0x40403eb5 in CSSStyleRuleImpl::MapFontStyleInto (this=0x827c1b8,
aContext=0x83dc980,
    aPresContext=0x82b3730) at nsCSSStyleRule.cpp:1163
#6  0x4047eef5 in MapStyleRuleFont (aRule=0x827c1b8, aData=0xbfffcdec) at
nsStyleContext.cpp:1750
#7  0x408da0ee in nsSupportsArray::EnumerateForwards (this=0x83dc938,
    aFunc=0x4047eeb8 <MapStyleRuleFont(nsISupports *, void *) at
nsStyleContext.cpp:1747>,
aData=0xbfffcdec)
    at nsSupportsArray.cpp:318
#8  0x4047f11a in StyleContextImpl::RemapStyle (this=0x83dc980,
aPresContext=0x82b3730)
    at nsStyleContext.cpp:1787
#9  0x4047e153 in StyleContextImpl::StyleContextImpl (this=0x83dc980,
aParent=0x83dc5d0,
aPseudoTag=0x0,
    aRules=0x83dc938, aPresContext=0x82b3730) at nsStyleContext.cpp:1319
#10 0x4047f96d in NS_NewStyleContext (aInstancePtrResult=0xbfffce64,
aParentContext=0x83dc5d0,
    aPseudoTag=0x0, aRules=0x83dc938, aPresContext=0x82b3730) at
nsStyleContext.cpp:2018
#11 0x40480944 in StyleSetImpl::GetContext (this=0x821c150,
aPresContext=0x82b3730,
aParentContext=0x83dc5d0,
    aPseudoTag=0x0, aRules=0x83dc938, aForceUnique=0, aUsedRules=@0xbfffce9c) at
nsStyleSet.cpp:457
#12 0x40480c51 in StyleSetImpl::ResolveStyleFor (this=0x821c150,
aPresContext=0x82b3730,
aContent=0x82b6f7c,
    aParentContext=0x83dc5d0, aForceUnique=0) at nsStyleSet.cpp:550
#13 0x40476601 in nsPresContext::ResolveStyleContextFor (this=0x82b3730,
aContent=0x82b6f7c,
    aParentContext=0x83dc5d0, aForceUnique=0, aResult=0xbfffcf90) at
nsPresContext.cpp:377
#14 0x403e5ae5 in nsCSSFrameConstructor::ResolveStyleContext (this=0x8211438,
aPresContext=0x82b3730,
    aParentFrame=0x83dc8d8, aContent=0x82b6f7c, aTag=0x82728f0,
aStyleContext=0xbfffcf90)
    at nsCSSFrameConstructor.cpp:3376

The first argument to nsStyleUtil::CalcFontPointSize was -7052901, which is
probably wrong :-)
Whiteboard: [Perf]
Blocks: 8691
Summary: infinite loop (or at least really really slow...) → infinite loop (or at least really really slow...) http://www.bignosebird.com/index.shtml
Target Milestone: M8 → M9
No longer seems to be a problem with the latest Linux build 1999080408
Deferring to M10
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
Unable to reproduce.
Status: RESOLVED → VERIFIED
Using 9/16 Apprunner on Linux Red Hat 6.0(Linux 2.2), verifying WORKSFORME.
Unable to reproduce.
You need to log in before you can comment on or make changes to this bug.