Closed Bug 414113 Opened 17 years ago Closed 15 years ago

Crash unloading SVG, with ASSERTION: invalid active window: 'Error', file mozilla/embedding/components/windowwatcher/src/nsWindowWatcher.cpp

Categories

(Core :: SVG, defect)

defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jwatt, Unassigned)

Details

(Keywords: crash, testcase)

Attachments

(2 files)

Attached image SVG for testcase
I encountered this trying to write reftests for bug 404999. If SVG is embedded in HTML using <object> and the SVG sets the <object>'s 'data' attribute during its load event, we crash. The crash is preceded by the assertion: ASSERTION: invalid active window: 'Error', file mozilla/embedding/components/windowwatcher/src/nsWindowWatcher.cpp before we go on to crash at the PR_ASSERT(eXMLContentSinkState_InEpilog != mState) in nsXMLContentSink::HandleStartElement here: http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/content/xml/document/src/nsXMLContentSink.cpp&rev=1.430&mark=983#979
This bug does not seem to exist in HTML, only SVG, so I'd guess it's something to do with the timing of the firing of the SVG 'load' event. Then again, I'd have thought the parser should be able to cope.
Seems to WFM on WinXP SP3 on latest-trunk mozilla-central.
WFM per comment 3 and no objections posted. so => WFM
Severity: normal → critical
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: