Closed Bug 1377918 Opened 8 years ago Closed 3 years ago

Assertion failure (crashing entire browser) at /layout/base/nsStyleChangeList.cpp:39 trying to print cnn article

Categories

(Core :: CSS Parsing and Computation, defect, P3)

Unspecified
macOS
defect

Tracking

()

RESOLVED INCOMPLETE
Tracking Status
firefox-esr52 --- wontfix
firefox56 --- wontfix
firefox57 --- wontfix
firefox58 --- wontfix

People

(Reporter: Alex_Gaynor, Unassigned)

References

()

Details

Attachments

(1 file)

STR: 1) Use central, debug build, (a3b192dc8344) 2) Browse to http://www.cnn.com/2017/07/03/politics/chris-christie-beach/index.html 3) cmd-p to print up print dialog 4) click pdf drop down 5) select "Open PDF in Preview" 6) Entire browser crashes Here's the stderr from when it happens, including stack trace from both content and chrome: Assertion failure: !aContent || aContent->IsElement() || (aFrame && aContent->GetParent() && aFrame->PresContext()->FrameManager()-> GetDisplayContentsStyleFor(aContent->GetParent())) || (aContent->IsNodeOfType(nsINode::eTEXT) && aContent->IsStyledByServo() && aContent->HasFlag(NODE_NEEDS_FRAME) && aHint & nsChangeHint_ReconstructFrame) (Shouldn't be trying to restyle non-elements directly, except if it's a display:contents child or a text node doing lazy frame construction), at /Users/agaynor/projects/mozilla-central/layout/base/nsStyleChangeList.cpp:39 #01: mozilla::ElementRestyler::CaptureChange(nsStyleContext*, nsStyleContext*, nsChangeHint, unsigned int*, unsigned int*)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x3065e4f] #02: mozilla::ElementRestyler::RestyleSelf(nsIFrame*, nsRestyleHint, unsigned int*, nsTArray<mozilla::ElementRestyler::SwapInstruction>&)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x306aa11] #03: mozilla::ElementRestyler::Restyle(nsRestyleHint)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x3068650] #04: mozilla::ElementRestyler::RestyleContentChildren(nsIFrame*, nsRestyleHint)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x306fef6] #05: mozilla::ElementRestyler::RestyleChildren(nsRestyleHint)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x306de9e] #06: mozilla::ElementRestyler::Restyle(nsRestyleHint)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x3068c89] #07: mozilla::ElementRestyler::RestyleContentChildren(nsIFrame*, nsRestyleHint)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x306fe04] #08: mozilla::ElementRestyler::RestyleChildren(nsRestyleHint)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x306de9e] #09: mozilla::ElementRestyler::Restyle(nsRestyleHint)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x3068c89] #10: mozilla::ElementRestyler::RestyleContentChildren(nsIFrame*, nsRestyleHint)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x306fef6] #11: mozilla::ElementRestyler::RestyleChildren(nsRestyleHint)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x306de9e] #12: mozilla::ElementRestyler::Restyle(nsRestyleHint)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x3068c89] #13: mozilla::ElementRestyler::RestyleContentChildren(nsIFrame*, nsRestyleHint)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x306fef6] #14: mozilla::ElementRestyler::RestyleChildren(nsRestyleHint)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x306de9e] #15: mozilla::ElementRestyler::Restyle(nsRestyleHint)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x3068c89] #16: mozilla::ElementRestyler::RestyleContentChildren(nsIFrame*, nsRestyleHint)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x306fef6] #17: mozilla::ElementRestyler::RestyleChildren(nsRestyleHint)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x306de9e] #18: mozilla::ElementRestyler::Restyle(nsRestyleHint)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x3068c89] #19: mozilla::ElementRestyler::RestyleContentChildren(nsIFrame*, nsRestyleHint)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x306fef6] #20: mozilla::ElementRestyler::RestyleChildren(nsRestyleHint)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x306de9e] #21: mozilla::ElementRestyler::Restyle(nsRestyleHint)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x3068c89] #22: mozilla::ElementRestyler::ComputeStyleChangeFor(nsIFrame*, nsStyleChangeList*, nsChangeHint, mozilla::RestyleTracker&, nsRestyleHint, mozilla::RestyleHintData const&, nsTArray<mozilla::ElementRestyler::ContextToClear>&, nsTArray<RefPtr<nsStyleContext> >&)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x3070a6f] #23: mozilla::GeckoRestyleManager::ComputeAndProcessStyleChange(nsIFrame*, nsChangeHint, mozilla::RestyleTracker&, nsRestyleHint, mozilla::RestyleHintData const&)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x3062832] #24: mozilla::GeckoRestyleManager::StartRebuildAllStyleData(mozilla::RestyleTracker&)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x30625f3] #25: mozilla::RestyleTracker::DoProcessRestyles()[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x30a12b7] #26: mozilla::GeckoRestyleManager::ProcessPendingRestyles()[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x306413c] #27: mozilla::PresShell::DoFlushPendingNotifications(mozilla::ChangesToFlush)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x3086f01] #28: nsRefreshDriver::Tick(long long, mozilla::TimeStamp)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x3047e51] #29: mozilla::RefreshDriverTimer::TickRefreshDrivers(long long, mozilla::TimeStamp, nsTArray<RefPtr<nsRefreshDriver> >&)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x304df24] #30: mozilla::RefreshDriverTimer::Tick(long long, mozilla::TimeStamp)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x304dcff] #31: mozilla::VsyncRefreshDriverTimer::RefreshDriverVsyncObserver::TickRefreshDriver(mozilla::TimeStamp)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x304f084] #32: mozilla::VsyncRefreshDriverTimer::RefreshDriverVsyncObserver::NotifyVsync(mozilla::TimeStamp)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x304ed25] #33: mozilla::layout::VsyncChild::RecvNotify(mozilla::TimeStamp const&)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x33b5fc8] #34: mozilla::layout::PVsyncChild::OnMessageReceived(IPC::Message const&)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x958d07] #35: mozilla::ipc::PBackgroundChild::OnMessageReceived(IPC::Message const&)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x73901f] #36: mozilla::ipc::MessageChannel::DispatchAsyncMessage(IPC::Message const&)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x6e9de9] #37: mozilla::ipc::MessageChannel::DispatchMessage(IPC::Message&&)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x6e7c05] #38: mozilla::ipc::MessageChannel::RunMessage(mozilla::ipc::MessageChannel::MessageTask&)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x6e8b65] #39: mozilla::ipc::MessageChannel::MessageTask::Run()[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x6e937a] #40: nsThread::ProcessNextEvent(bool, bool*)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x12f35a] #41: NS_ProcessNextEvent(nsIThread*, bool)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x1319d0] #42: mozilla::layout::RemotePrintJobChild::InitializePrint(nsString const&, nsString const&, int const&, int const&)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x34739b5] #43: nsDeviceContextSpecProxy::BeginDocument(nsAString const&, nsAString const&, int, int)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x2d15b27] #44: nsDeviceContext::BeginDocument(nsAString const&, nsAString const&, int, int)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0xec02cc] #45: nsPrintEngine::SetupToPrintContent()[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x347f83c] #46: nsPrintEngine::DocumentReadyForPrinting()[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x347ef9e] #47: nsPrintEngine::AfterNetworkPrint(bool)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x3481e35] #48: nsPrintEngine::InitPrintDocConstruction(bool)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x347d283] #49: nsPrintEngine::Observe(nsISupports*, char const*, char16_t const*)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x3484674] #50: mozilla::embedding::PrintProgressDialogChild::RecvDialogOpened()[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x45c2149] #51: mozilla::embedding::PPrintProgressDialogChild::OnMessageReceived(IPC::Message const&)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x8be8e7] #52: mozilla::dom::PContentChild::OnMessageReceived(IPC::Message const&)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0xac8b4e] #53: mozilla::ipc::MessageChannel::DispatchAsyncMessage(IPC::Message const&)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x6e9de9] #54: mozilla::ipc::MessageChannel::DispatchMessage(IPC::Message&&)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x6e7c05] #55: mozilla::ipc::MessageChannel::RunMessage(mozilla::ipc::MessageChannel::MessageTask&)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x6e8b65] #56: mozilla::ipc::MessageChannel::MessageTask::Run()[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x6e937a] #57: mozilla::SchedulerGroup::Runnable::Run()[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x1169e5] #58: nsThread::ProcessNextEvent(bool, bool*)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x12f35a] #59: NS_ProcessPendingEvents(nsIThread*, unsigned int)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x12c0cc] #60: nsBaseAppShell::NativeEventCallback()[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x2d10a81] #61: nsAppShell::ProcessGeckoEvents(void*)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x2d7d795] #62: __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__[/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation +0xa7321] #63: __CFRunLoopDoSources0[/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation +0x8821d] #64: __CFRunLoopRun[/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation +0x87716] #65: CFRunLoopRunSpecific[/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation +0x87114] #66: RunCurrentEventLoopInMode[/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox +0x30ebc] #67: ReceiveNextEventCommon[/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox +0x30cf1] #68: _BlockUntilNextEventMatchingListInModeWithFilter[/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox +0x30b26] #69: _DPSNextEvent[/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit +0x46a54] #70: -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:][/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit +0x7c27ee] #71: -[GeckoNSApplication nextEventMatchingMask:untilDate:inMode:dequeue:][/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x2d7cb14] #72: -[NSApplication run][/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit +0x3b3db] #73: nsAppShell::Run()[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x2d7dec3] #74: XRE_RunAppShell()[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x45ec7e8] #75: mozilla::ipc::MessagePumpForChildProcess::Run(base::MessagePump::Delegate*)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x6ee097] #76: MessageLoop::Run()[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x69e1aa] #77: XRE_InitChildProcess(int, char**, XREChildData const*)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x45ec475] #78: main[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/plugin-container.app/Contents/MacOS/plugin-container +0xec7] ###!!! [Parent][MessageChannel] Error: (msgtype=0x28007E,name=PBrowser::Msg_Destroy) Channel error: cannot send/recv Assertion failure: mDestroyed, at /Users/agaynor/projects/mozilla-central/gfx/layers/composite/ImageLayerComposite.cpp:44 [Parent 39825] WARNING: Releasing screensaver: file /Users/agaynor/projects/mozilla-central/widget/cocoa/nsAppShell.mm, line 85 [Child 39827] WARNING: Releasing screensaver: file /Users/agaynor/projects/mozilla-central/widget/cocoa/nsAppShell.mm, line 85 ++DOCSHELL 0x12d0be800 == 6 [pid = 39825] [id = {10f36fe8-2f8f-de49-a2a2-c2c958b81d39}] ++DOMWINDOW == 13 (0x12ff74800) [pid = 39825] [serial = 18] [outer = 0x0] #01: mozilla::layers::ImageLayerComposite::~ImageLayerComposite()[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x10610ae] #02: PLDHashTable::~PLDHashTable()[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0xaad01] #03: mozilla::layers::LayerTransactionParent::~LayerTransactionParent()[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x10a750c] #04: non-virtual thunk to mozilla::layers::LayerTransactionParent::~LayerTransactionParent()[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x10a76f5] ++DOMWINDOW == 14 (0x13327c000) [pid = 39825] [serial = 19] [outer = 0x12ff74800] #05: mozilla::layers::CrossProcessCompositorBridgeParent::DeallocPLayerTransactionParent(mozilla::layers::PLayerTransactionParent*)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x1090d4d] #06: mozilla::layers::PCompositorBridgeParent::DeallocSubtree()[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0xa9259f] #07: mozilla::layers::PCompositorManagerParent::DeallocSubtree()[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0xa995a5] #08: mozilla::layers::PCompositorManagerParent::OnChannelError()[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0xa996cb] #09: mozilla::detail::RunnableMethodImpl<mozilla::ipc::MessageChannel*, void (mozilla::ipc::MessageChannel::*)(), false, (mozilla::RunnableKind)1>::Run()[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x6f6477] #10: MessageLoop::RunTask(already_AddRefed<nsIRunnable>)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x69e57f] #11: MessageLoop::DeferOrRunPendingTask(MessageLoop::PendingTask&&)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x69eda3] #12: MessageLoop::DoWork()[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x69f11b] #13: base::MessagePumpDefault::Run(base::MessagePump::Delegate*)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x69ff76] #14: MessageLoop::Run()[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x69e1aa] #15: base::Thread::ThreadMain()[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x6aa98d] #16: ThreadFunc(void*)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x6a4aea] #17: _pthread_body[/usr/lib/system/libsystem_pthread.dylib +0x393b] #18: _pthread_body[/usr/lib/system/libsystem_pthread.dylib +0x3887] Hit MOZ_CRASH(Aborting on channel error.) at /Users/agaynor/projects/mozilla-central/ipc/glue/MessageChannel.cpp:2518 Crash Annotation GraphicsCriticalError: |[C0][GFX1-]: Receive IPC close with reason=AbnormalShutdown (t=30.7415) #01: mozilla::ipc::ProcessLink::OnChannelError()[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x6ed15f] #02: event_process_active_single_queue[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x6bbc51] #03: event_base_loop[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x6b8eef] #04: base::MessagePumpLibevent::Run(base::MessagePump::Delegate*)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x6a0805] #05: MessageLoop::Run()[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x69e1aa] #06: base::Thread::ThreadMain()[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x6aa98d] #07: ThreadFunc(void*)[/Users/agaynor/projects/mozilla-central/obj-x86_64-apple-darwin16.6.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x6a4aea] #08: _pthread_body[/usr/lib/system/libsystem_pthread.dylib +0x393b] #09: _pthread_body[/usr/lib/system/libsystem_pthread.dylib +0x3887] Hit MOZ_CRASH(MachExceptionHandler: Failed to forward to the previous handler!) at /Users/agaynor/projects/mozilla-central/js/src/ds/MemoryProtectionExceptionHandler.cpp:642
Has STR: --- → yes
Component: Printing: Output → CSS Parsing and Computation
I'm not super familiar with the CSS/layout code -- are there really two bugs here, one for the content crash and another for the fact that that resulted in a chrome crash?
Testing on Linux, I didn't get the chrome process crash. FWIW this issue seems to have existed for a while, but the assertion only became fatal in bug 1295818.
Confirmed that on macOS your reduced test case crashes content for me -- but not chrome. Using the original CNN page however I still get both a content and chrome crash. To me this seems to confirm that there's two bugs here, with the content bug probably triggering the chrome bug.
Priority: -- → P3
Emilio: Please see if we can safely plug this crash (regressed in FF51.) I marked it 'wontfix' for FF57 but please reply if you disagree. Thx!
Flags: needinfo?(emilio)
Given this doesn't repro with stylo enabled (though there are still a few non-fatal assertions with it), I think it's ok to not fix it for 57. We should probably dig more in the display list assertions: [Parent 30963, Main Thread] ###!!! ASSERTION: Bounds computation mismatch: 'mContainerBounds.IsEqualInterior(mAccumulatedChildBounds)', file /home/emilio/projects/moz/stylo/layout/painting/FrameLayerBuilder.cpp, line 5291 [Parent 30963, Main Thread] ###!!! ASSERTION: bad aListVisibleBounds: 'r.GetBounds().IsEqualInterior(aListVisibleBounds)', file /home/emilio/projects/moz/stylo/layout/painting/nsDisplayList.cpp, line 2036
Flags: needinfo?(emilio)

I'm aware this is an old report, but I'd like to close it if the issue isn't occurring anymore, I wasn't able to reproduce it on my end.

Have you seen this issue on recent versions of Firefox?

Thanks!

Flags: needinfo?(alex.gaynor)

I would probably close this, I'm no longer running nightly regularly so I have no idea if it closes.

Flags: needinfo?(alex.gaynor)

This assertion was most likely fixed by stylo.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: