Closed
Bug 1354926
Opened 8 years ago
Closed 4 years ago
Printing in debug builds crashes with MOZ_ASSERT due to missing BeginPage call
Categories
(MailNews Core :: Printing, defect)
MailNews Core
Printing
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++
Comment 1•8 years ago
|
||
Not related to bug 1353625 where print and print preview have hundreds of empty pages?
Comment 2•8 years ago
|
||
I only found one signature in [1] and it doesn't have the same stack
mozilla::gfx::PrintTargetWindows::BeginPrinting
bp-c7e40454-98c3-41aa-a8d7-14c7f2170412
[1] https://crash-stats.mozilla.com/search/?signature=~Print&product=Thunderbird&date=%3E%3D2017-04-03T12%3A28%3A49.000Z&date=%3C2017-04-17T12%3A28%3A49.000Z&_sort=-date&_facets=signature&_columns=date&_columns=signature&_columns=product&_columns=version&_columns=build_id&_columns=platform#facet-signature
Comment 3•4 years ago
|
||
Bug 1353625 was fixed a couple months after comment 1. Would you expect this bug to be gone?
Flags: needinfo?(mkmelin+mozilla)
Comment 4•4 years ago
|
||
Let's call it WFM.
Status: NEW → RESOLVED
Closed: 4 years ago
Flags: needinfo?(mkmelin+mozilla)
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•