Crash [nsRuleNode::GetStyleDisplay] with moz-binding and textZoom

RESOLVED FIXED

Status

()

--
critical
RESOLVED FIXED
11 years ago
11 years ago

People

(Reporter: martijn.martijn, Unassigned)

Tracking

({crash, regression, testcase})

Trunk
x86
All
crash, regression, testcase
Points:
---
Bug Flags:
blocking1.9 +
in-testsuite ?

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(3 attachments)

(Reporter)

Description

11 years ago
Created attachment 274102 [details]
testcase

Same regression range as bug 389744. Maybe they are related?
You need to download the testcase to your computer, because of the use of enhanced privileges.

http://crash-stats.mozilla.com/report/index/eb7c6bcc-3be1-11dc-b254-001a4bd46e84
0  	nsRuleNode::GetStyleDisplay(nsStyleContext *,int)
1 	nsStyleContext::GetStyleDisplay()
2 	IsInlineOutside
3 	nsCSSFrameConstructor::RecreateFramesForContent(nsIContent *)
4 	nsCSSFrameConstructor::ProcessRestyledFrames(nsStyleChangeList &)
5 	nsPresContext::ClearStyleDataAndReflow()
6 	DocumentViewerImpl::SetTextZoom(float)
7 	NS_InvokeByIndex_P
8 	AutoJSSuspendRequest::SuspendRequest()
9 	XPCConvert::JSArray2Native(XPCCallContext &,void * *,long,unsigned int,unsigned int,nsXPTType const &,int,nsID const *,unsigned int *)
(Reporter)

Updated

11 years ago
Flags: blocking1.9?
(Reporter)

Comment 1

11 years ago
Created attachment 274419 [details]
testcase2

My guess is that this is the same sort of crash (although the stacktrace is different). The crash happens when you increase the font-size.

http://crash-stats.mozilla.com/report/index/ea682085-3e3a-11dc-bb2f-001a4bd43e5c
0  	nsFrame::Destroy()
1 	nsContainerFrame::Destroy()
2 	nsBlockFrame::DoRemoveFrame(nsIFrame *,int,int)
3 	nsBlockFrame::RemoveFrame(nsIAtom *,nsIFrame *)
4 	nsFrameManager::RemoveFrame(nsIFrame *,nsIAtom *,nsIFrame *)
5 	nsCSSFrameConstructor::ContentRemoved(nsIContent *,nsIContent *,int,int)
6 	nsCSSFrameConstructor::RecreateFramesForContent(nsIContent *)
7 	nsCSSFrameConstructor::ProcessRestyledFrames(nsStyleChangeList &)
8 	nsPresContext::ClearStyleDataAndReflow()
9 	DocumentViewerImpl::SetTextZoom(float)
Created attachment 275527 [details]
testcase2 (reduced)

Posting a slightly reduced version of testcase 2.
OS: Windows XP → All
Flags: blocking1.9? → blocking1.9+

Comment 3

11 years ago
The patch in bug 389744 fixes all three testcases on Linux.
Depends on: 389744
Flags: in-testsuite?
(Reporter)

Comment 4

11 years ago
Indeed, this doesn't crash anymore (neither of the 3 testcases), using:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a9pre) Gecko/2007100104 Minefield/3.0a9pre
Status: NEW → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.