Closed Bug 1354926 Opened 7 years ago Closed 3 years ago

Printing in debug builds crashes with MOZ_ASSERT due to missing BeginPage call

Categories

(MailNews Core :: Printing, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: rkent, Unassigned)

Details

(Keywords: assertion, Whiteboard: [notacrash])

Trying to print an email (tested in esr52 debug build) results in a crash due to a MOZ_ASSERT. Tracing out the issue, it is complaining about a missing BeginPage call. Seems to work fine in release builds (which skip the assert).

Stack:

>	xul.dll!mozilla::gfx::PrintTarget::MakeDrawTarget(const mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits> & aSize, mozilla::gfx::DrawEventRecorder * aRecorder) Line 61	C++
 	xul.dll!nsDeviceContext::CreateRenderingContextCommon(bool aWantReferenceContext) Line 371	C++
 	xul.dll!nsDeviceContext::CreateRenderingContext() Line 335	C++
 	xul.dll!nsSimplePageSequenceFrame::PrintNextPage() Line 755	C++
 	xul.dll!nsPrintEngine::PrintPage(nsPrintObject * aPO, bool & aInRange) Line 2738	C++
 	xul.dll!nsPagePrintTimer::Run() Line 89	C++
 	xul.dll!nsThread::ProcessNextEvent(bool aMayWait, bool * aResult) Line 1216	C++
Not related to bug 1353625 where print and print preview have hundreds of empty pages?
Keywords: assertion
Whiteboard: [notacrash]

Bug 1353625 was fixed a couple months after comment 1. Would you expect this bug to be gone?

Flags: needinfo?(mkmelin+mozilla)

Let's call it WFM.

Status: NEW → RESOLVED
Closed: 3 years ago
Flags: needinfo?(mkmelin+mozilla)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.