Closed Bug 403763 Opened 17 years ago Closed 15 years ago

Crash [@ nsBox::DoesNeedRecalc] with display: -moz-grid-group, generated content and textZoom

Categories

(Core :: Layout, defect)

x86
Windows XP
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: martijn.martijn, Unassigned)

Details

(Keywords: crash, regression, testcase)

Crash Data

Attachments

(5 files)

Attached file testcase
See testcase, which crashes current trunk build on load.
Because of the use of enhanced privileges, you need to download it to your computer.

It seemed to have regressed between 2007-07-25 and 2007-07-26:
http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=explicit&mindate=2007-07-25+04&maxdate=2007-07-26+09&cvsroot=%2Fcvsroot
Regression from bug 386640, somehow?

http://crash-stats.mozilla.com/report/index/8fe25d23-92b4-11dc-937c-001a4bd46e84
0  	nsBox::DoesNeedRecalc(nsSize const&)  	 mozilla/layout/xul/base/src/nsBox.cpp:418
1 	nsFrame::GetMinSize(nsBoxLayoutState&) 	mozilla/layout/generic/nsFrame.cpp:5863
2 	nsSprocketLayout::GetMinSize(nsIFrame*, nsBoxLayoutState&, nsSize&) 	mozilla/layout/xul/base/src/nsSprocketLayout.cpp:1393
3 	nsGridRowGroupLayout::GetMinSize(nsIFrame*, nsBoxLayoutState&, nsSize&) 	mozilla/layout/xul/base/src/grid/nsGridRowGroupLayout.cpp:160
4 	nsBoxFrame::GetMinSize(nsBoxLayoutState&) 	mozilla/layout/xul/base/src/nsBoxFrame.cpp:869
5 	nsBoxFrame::GetMinWidth(nsIRenderingContext*) 	mozilla/layout/xul/base/src/nsLeafBoxFrame.cpp:191
6 	nsFrame::ShrinkWidthToFit(nsIRenderingContext*, int) 	mozilla/layout/generic/nsFrame.cpp:3122
7 	nsContainerFrame::ComputeAutoSize(nsIRenderingContext*, nsSize, int, nsSize, nsSize, nsSize, int) 	mozilla/layout/generic/nsContainerFrame.cpp:680
8 	nsFrame::ComputeSize(nsIRenderingContext*, nsSize, int, nsSize, nsSize, nsSize, int) 	mozilla/layout/generic/nsFrame.cpp:2969
9 	nsHTMLReflowState::InitConstraints(nsPresContext*, int, int, nsMargin const*, nsMargin const*) 	mozilla/layout/generic/nsHTMLReflowState.cpp:1824
10 	nsHTMLReflowState::Init(nsPresContext*, int, int, nsMargin const*, nsMargin const*) 	mozilla/layout/generic/nsHTMLReflowState.cpp:315
etc...
Attached file testcase2
Another testcase, also uses enhanced privileges, this crashes on reload.
Does it still crash with the patch for bug 403454?
Yes, it still seems to crash with that patch (at least with the 2nd testcase).
Attached file testcase3
I can't seem to reproduce with a debug trunk build on Mac.  Martijn, I assume you still see the crash on Windows with testcases 2 and 3?
Yes, I still crash with the latest trunk build on windows with testcase 2 on reload and testcase 3.
Flags: blocking1.9?
Minusing unless you believe this is a topcrash or security concern^
Flags: blocking1.9? → blocking1.9-
Actually, the regression range is when fullZoom was implemented, so I guess it's somehow caused by that.
Flags: wanted1.9.0.x+
Flags: wanted1.9-
Flags: wanted1.9+
Attached file testcase4
Flags: wanted1.9.1?
Attached file testcase5
Flags: wanted1.9.1? → wanted1.9.1+
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
Crash Signature: [@ nsBox::DoesNeedRecalc]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: