Debug only crash at layout/style/crashtests/512851-1.xhtml when increasing textZoom

REOPENED
Unassigned

Status

()

Core
Layout
REOPENED
5 years ago
a year ago

People

(Reporter: Martijn Wargers (zombie), Unassigned)

Tracking

Trunk
x86
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

(Reporter)

Description

5 years ago
Created attachment 807769 [details]
512851-1.xhtml

I noticed this in bug 917061, see bug 917061, comment 17.

I can only reproduce the crash in a debug build (on the Mac here).

Steps to reproduce:
- Load testcase 512851-1.xhtml
- Choose View->Zoom->Zoom Text Only
- Zoom in a couple of times

Result: crash

See log of tryserver with this crash:
https://tbpl.mozilla.org/php/getParsedLog.php?id=28152020&tree=Try#error1
06:51:02     INFO -  WARNING: Overflowed nscoord_MAX in conversion to nscoord: 'aValue <= nscoord_MAX', file ../../dist/include/nsCoord.h, line 83
06:51:02     INFO -  ###!!! ABORT: negative lengths and percents should be rejected by parser: 'sizeValue->IsCalcUnit()', file ../../../layout/style/nsRuleNode.cpp, line 2976
06:51:02     INFO -  nsRuleNode::SetFont(nsPresContext*, nsStyleContext*, unsigned char, nsRuleData const*, nsStyleFont const*, nsStyleFont*, bool, bool&) [layout/style/nsRuleNode.cpp:3476]
06:51:02     INFO -  nsRuleNode::ComputeFontData(void*, nsRuleData const*, nsStyleContext*, nsRuleNode*, nsRuleNode::RuleDetail, bool) [layout/style/nsRuleNode.cpp:3722]
06:51:02     INFO -  nsRuleNode::WalkRuleTree(nsStyleStructID, nsStyleContext*) [obj-firefox/layout/style/nsStyleStructList.h:44]
06:51:02     INFO -  nsRuleNode::GetStyleData(nsStyleStructID, nsStyleContext*, bool) [layout/style/nsRuleNode.cpp:7978]
06:51:02     INFO -  nsRuleNode::WalkRuleTree(nsStyleStructID, nsStyleContext*) [layout/style/nsRuleNode.cpp:2102]
06:51:02     INFO -  nsRuleNode::ComputeFontData(void*, nsRuleData const*, nsStyleContext*, nsRuleNode*, nsRuleNode::RuleDetail, bool) [obj-firefox/layout/style/nsStyleStructList.h:44]
06:51:02     INFO -  nsRuleNode::WalkRuleTree(nsStyleStructID, nsStyleContext*) [obj-firefox/layout/style/nsStyleStructList.h:44]
06:51:02     INFO -  CalcLengthWith [obj-firefox/layout/style/nsStyleStructList.h:44]
06:51:02     INFO -  SetCoord [layout/style/nsRuleNode.cpp:450]
(Reporter)

Updated

a year ago
Status: NEW → RESOLVED
Last Resolved: a year ago
Resolution: --- → WORKSFORME
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
You need to log in before you can comment on or make changes to this bug.