Sometimes crashes [@ nsXULElement::QueryInterface] on print preview

RESOLVED WORKSFORME

Status

()

Core
Layout
--
critical
RESOLVED WORKSFORME
10 years ago
7 years ago

People

(Reporter: Martijn Wargers (dead), Unassigned)

Tracking

({crash, regression})

Trunk
x86
Windows XP
crash, regression
Points:
---
Bug Flags:
blocking1.9 -

Firefox Tracking Flags

(Not tracked)

Details

(crash signature)

Attachments

(1 attachment)

(Reporter)

Description

10 years ago
While trying to get a minimized testcase for bug 409084, I had to do a lot of print previewing.
I noticed that I sometimes crashed (I think once in every 10 or 20 times).
I did print preview on this testcase (while minimizing it).
https://bugzilla.mozilla.org/attachment.cgi?id=294290
But I kind of suspect it doesn't really depend on the page used.

http://crash-stats.mozilla.com/report/index/20f7eca1-b015-11dc-889e-001a4bd43ed6
0  	@0x196bf08  	
1 	nsXULElement::QueryInterface(nsID const&, void**) 	mozilla/content/xul/content/src/nsXULElement.cpp:385
2 	nsQueryInterface::operator()(nsID const&, void**) 	nsCOMPtr.cpp:47
3 	nsCOMPtr_base::assign_from_qi(nsQueryInterface, nsID const&) 	nsCOMPtr.cpp:96
4 	nsCOMPtr<nsIContent>::nsCOMPtr<nsIContent>(nsQueryInterface) 	nsCOMPtr.h:645
5 	nsXULDocument::AttributeChanged(nsIDocument*, nsIContent*, int, nsIAtom*, int, unsigned int) 	mozilla/content/xul/document/src/nsXULDocument.cpp:956
6 	nsNodeUtils::AttributeChanged(nsIContent*, int, nsIAtom*, int, unsigned int) 	mozilla/content/base/src/nsNodeUtils.cpp:109
7 	nsGenericElement::SetAttrAndNotify(int, nsIAtom*, nsIAtom*, nsAString_internal const&, nsAttrValue&, int, int, int) 	mozilla/content/base/src/nsGenericElement.cpp:3710
8 	nsGenericElement::SetAttr(int, nsIAtom*, nsIAtom*, nsAString_internal const&, int) 	mozilla/content/base/src/nsGenericElement.cpp:3641
9 	nsGenericElement::SetAttribute(nsAString_internal const&, nsAString_internal const&) 	mozilla/content/base/src/nsGenericElement.cpp:1537
10 	NS_InvokeByIndex_P 	mozilla/xpcom/reflect/xptcall/src/md/win32/xptcinvoke.cpp:101
11 	AutoJSSuspendRequest::SuspendRequest() 	mozilla/js/src/xpconnect/src/xpcprivate.h:3406
12 	_MD_CURRENT_THREAD 	mozilla/nsprpub/pr/src/md/windows/w95thred.c:298
13 	_PR_MD_UNLOCK 	mozilla/nsprpub/pr/src/md/windows/w95cv.c:344
14 	xul.dll@0x5b9a57
Flags: blocking1.9?
(Reporter)

Comment 1

10 years ago
Created attachment 294294 [details]
automated testcase that doesn't crash

I tried to make an automated testcase that would crash, but it doesn't seem to crash that way. I'm attaching it, just in case it might still be useful.

Comment 2

10 years ago
Is this a dup of Bug 395671?
(Reporter)

Comment 3

10 years ago
I guess so, from looking at the stack trace.
Depends on: 395671
Flags: blocking1.9? → blocking1.9-
(Reporter)

Comment 4

10 years ago
I guess this is worksforme, at least for Firefox 3.
Status: NEW → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → WORKSFORME
(Assignee)

Updated

7 years ago
Crash Signature: [@ nsXULElement::QueryInterface]
You need to log in before you can comment on or make changes to this bug.