Closed Bug 1217194 Opened 9 years ago Closed 8 years ago

Assertion failure when printing on OSX with e10s

Categories

(Core :: Graphics, defect, P4)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1217190
Tracking Status
e10s + ---

People

(Reporter: ehsan.akhgari, Unassigned)

References

Details

(Keywords: assertion)

Here is what happens when I try to print google.com:

[Parent 94243] WARNING: Caller should supply a printer name.: file /Users/ehsan/moz/src/widget/nsPrintOptionsImpl.cpp, line 1203
Exported SkiaGL extensions: GL_EXT_packed_depth_stencil GL_EXT_bgra
Determined SkiaGL cache limits: Size 100663296, Items: 256
Exported SkiaGL extensions: GL_EXT_packed_depth_stencil GL_EXT_bgra
Determined SkiaGL cache limits: Size 100663296, Items: 256
[Parent 94243] WARNING: NS_ENSURE_SUCCESS(rv, true) failed with result 0x80004001: file /Users/ehsan/moz/src/embedding/components/printingui/ipc/PrintingParent.cpp, line 60
JavaScript error: chrome://global/content/browser-content.js, line 518: TypeError: printSettings is null
Assertion failure: mIsMapped, at /Users/ehsan/moz/src/gfx/2d/2D.h:471
#01: mozilla::gfx::DataSourceSurface::Unmap()[/Users/ehsan/moz/src/obj-ff-clang-plugin.noindex/dist/NightlyDebug.app/Contents/MacOS/XUL +0x19c007a]
#02: mozilla::gfx::ReleaseData(void*)[/Users/ehsan/moz/src/obj-ff-clang-plugin.noindex/dist/NightlyDebug.app/Contents/MacOS/XUL +0x197ed2e]
#03: _cairo_user_data_array_fini[/Users/ehsan/moz/src/obj-ff-clang-plugin.noindex/dist/NightlyDebug.app/Contents/MacOS/XUL +0x5b1c944]
#04: _moz_cairo_surface_destroy[/Users/ehsan/moz/src/obj-ff-clang-plugin.noindex/dist/NightlyDebug.app/Contents/MacOS/XUL +0x5b6bc7c]
#05: DataProviderReleaseCallback[/Users/ehsan/moz/src/obj-ff-clang-plugin.noindex/dist/NightlyDebug.app/Contents/MacOS/XUL +0x5b13624]
#06: dataReleaseInfo[/System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics +0x4948d]
#07: data_provider_finalize[/System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics +0xcb0c]
#08: CFRelease[/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation +0x18e8e]
#09: image_finalize[/System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics +0x343dd]
#10: CFRelease[/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation +0x18e8e]
#11: PDFImageEmitDefinition[/System/Library/Frameworks/CoreGraphics.framework/Versions/A/Resources/libPDFRIP.A.dylib +0xb742]
#12: __CFSetApplyFunction_block_invoke[/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation +0x5f642]
#13: CFBasicHashApply[/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation +0x440b0]
#14: CFSetApplyFunction[/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation +0x5f5ea]
#15: PDFImageSetEmitDefinitions[/System/Library/Frameworks/CoreGraphics.framework/Versions/A/Resources/libPDFRIP.A.dylib +0xc375]
#16: emit_page_resources(PDFDocument*)[/System/Library/Frameworks/CoreGraphics.framework/Versions/A/Resources/libPDFRIP.A.dylib +0x5917]
#17: PDFDocumentEndPage[/System/Library/Frameworks/CoreGraphics.framework/Versions/A/Resources/libPDFRIP.A.dylib +0x589d]
#18: pdf_EndPage[/System/Library/Frameworks/CoreGraphics.framework/Versions/A/Resources/libPDFRIP.A.dylib +0x445b]
#19: pdfSpoolingEndPage(void*, void*)[/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore +0x3c63c]
#20: PJCEndPage(OpaquePMPrintSession*)[/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore +0x3427f]
#21: PMSessionEndPageNoDialog[/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore +0x16069]
#22: nsDeviceContextSpecX::EndPage()[/Users/ehsan/moz/src/obj-ff-clang-plugin.noindex/dist/NightlyDebug.app/Contents/MacOS/XUL +0x4360b25]
#23: nsDeviceContext::EndPage()[/Users/ehsan/moz/src/obj-ff-clang-plugin.noindex/dist/NightlyDebug.app/Contents/MacOS/XUL +0x1a48606]
#24: nsSimplePageSequenceFrame::DoPageEnd()[/Users/ehsan/moz/src/obj-ff-clang-plugin.noindex/dist/NightlyDebug.app/Contents/MacOS/XUL +0x499b61f]
#25: non-virtual thunk to nsSimplePageSequenceFrame::DoPageEnd()[/Users/ehsan/moz/src/obj-ff-clang-plugin.noindex/dist/NightlyDebug.app/Contents/MacOS/XUL +0x499b6f9]
#26: nsPrintEngine::PrintPage(nsPrintObject*, bool&)[/Users/ehsan/moz/src/obj-ff-clang-plugin.noindex/dist/NightlyDebug.app/Contents/MacOS/XUL +0x4b91778]
#27: nsPagePrintTimer::Run()[/Users/ehsan/moz/src/obj-ff-clang-plugin.noindex/dist/NightlyDebug.app/Contents/MacOS/XUL +0x4b9126c]
#28: nsThread::ProcessNextEvent(bool, bool*)[/Users/ehsan/moz/src/obj-ff-clang-plugin.noindex/dist/NightlyDebug.app/Contents/MacOS/XUL +0x199831]
#29: NS_ProcessPendingEvents(nsIThread*, unsigned int)[/Users/ehsan/moz/src/obj-ff-clang-plugin.noindex/dist/NightlyDebug.app/Contents/MacOS/XUL +0x2268f1]
#30: nsBaseAppShell::NativeEventCallback()[/Users/ehsan/moz/src/obj-ff-clang-plugin.noindex/dist/NightlyDebug.app/Contents/MacOS/XUL +0x42b5cce]
#31: nsAppShell::ProcessGeckoEvents(void*)[/Users/ehsan/moz/src/obj-ff-clang-plugin.noindex/dist/NightlyDebug.app/Contents/MacOS/XUL +0x4347a0a]
#32: __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__[/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation +0x80a01]
#33: __CFRunLoopDoSources0[/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation +0x72b8d]
#34: __CFRunLoopRun[/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation +0x721bf]
#35: CFRunLoopRunSpecific[/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation +0x71bd8]
#36: RunCurrentEventLoopInMode[/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox +0x3256f]
#37: ReceiveNextEventCommon[/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox +0x322ea]
#38: _BlockUntilNextEventMatchingListInModeWithFilter[/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox +0x3212b]
#39: _DPSNextEvent[/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit +0x918ab]
#40: -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:][/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit +0x90e58]
#41: -[GeckoNSApplication nextEventMatchingMask:untilDate:inMode:dequeue:][/Users/ehsan/moz/src/obj-ff-clang-plugin.noindex/dist/NightlyDebug.app/Contents/MacOS/XUL +0x4346534]
#42: -[NSApplication run][/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit +0x86af3]
#43: nsAppShell::Run()[/Users/ehsan/moz/src/obj-ff-clang-plugin.noindex/dist/NightlyDebug.app/Contents/MacOS/XUL +0x43483dc]
#44: XRE_RunAppShell[/Users/ehsan/moz/src/obj-ff-clang-plugin.noindex/dist/NightlyDebug.app/Contents/MacOS/XUL +0x55cbf24]
#45: mozilla::ipc::MessagePumpForChildProcess::Run(base::MessagePump::Delegate*)[/Users/ehsan/moz/src/obj-ff-clang-plugin.noindex/dist/NightlyDebug.app/Contents/MacOS/XUL +0x8f9021]
#46: MessageLoop::RunInternal()[/Users/ehsan/moz/src/obj-ff-clang-plugin.noindex/dist/NightlyDebug.app/Contents/MacOS/XUL +0x7d1dc5]
#47: MessageLoop::RunHandler()[/Users/ehsan/moz/src/obj-ff-clang-plugin.noindex/dist/NightlyDebug.app/Contents/MacOS/XUL +0x7d1cd5]
#48: MessageLoop::Run()[/Users/ehsan/moz/src/obj-ff-clang-plugin.noindex/dist/NightlyDebug.app/Contents/MacOS/XUL +0x7d1c7d]
#49: XRE_InitChildProcess[/Users/ehsan/moz/src/obj-ff-clang-plugin.noindex/dist/NightlyDebug.app/Contents/MacOS/XUL +0x55cb771]
#50: content_process_main(int, char**)[/Users/ehsan/moz/src/obj-ff-clang-plugin.noindex/dist/NightlyDebug.app/Contents/MacOS/plugin-container.app/Contents/MacOS/plugin-container +0x29cd]
#51: main[/Users/ehsan/moz/src/obj-ff-clang-plugin.noindex/dist/NightlyDebug.app/Contents/MacOS/plugin-container.app/Contents/MacOS/plugin-container +0x2ab2]
Assignee: nobody → bgirard
This bug depends on bug 1083101 part 1.

BTW solving this doesn't fix printing. This assert doesn't really catch a serious problem.
Depends on: 1083101
Priority: -- → P4
Keywords: assertion
Assignee: bgirard → nobody
I'm assuming this is gone now? Please re-test.
Flags: needinfo?(ehsan)
Yes, long gone.  This was a dupe of bug 1217190.
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(ehsan)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.