Open Bug 1419873 Opened 2 years ago Updated 2 years ago

Assertion failure: !aContent || aContent->IsElement() || (aFrame && aContent->GetParent() && aFrame->PresContext()->FrameManager()-> GetDisplayContentsStyleFor(aContent->GetParent())) || (aContent->IsNodeOfType(nsINode::eTEXT) && aContent->IsStyledByServo

Categories

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

52 Branch
defect

Tracking

()

People

(Reporter: jkratzer, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: assertion, testcase)

Attachments

(1 file, 1 obsolete file)

Attached file trigger.html (obsolete) —
Testcase found while fuzzing mozilla-central rev 5378dcb45044.

OS|Linux|0.0.0 Linux 4.4.0-98-generic #121-Ubuntu SMP Tue Oct 10 14:24:03 UTC 2017 x86_64
CPU|amd64|family 6 model 78 stepping 3|1
GPU|||
Crash|SIGSEGV|0x0|0
0|0|libxul.so|nsStyleChangeList::AppendChange|hg:hg.mozilla.org/mozilla-central:layout/base/nsStyleChangeList.cpp:5378dcb45044|23|0x0
0|1|libxul.so|nsIFrame::UpdateStyleOfOwnedChildFrame|hg:hg.mozilla.org/mozilla-central:layout/generic/nsFrame.cpp:5378dcb45044|10745|0x13
0|2|libxul.so|nsBlockFrame::UpdateFirstLetterStyle|hg:hg.mozilla.org/mozilla-central:layout/generic/nsBlockFrame.cpp:5378dcb45044|5625|0x5
0|3|libxul.so|nsBlockFrame::UpdatePseudoElementStyles|hg:hg.mozilla.org/mozilla-central:layout/generic/nsBlockFrame.cpp:5378dcb45044|7535|0x5
0|4|libxul.so|mozilla::ServoRestyleManager::ProcessPostTraversal|hg:hg.mozilla.org/mozilla-central:layout/base/ServoRestyleManager.cpp:5378dcb45044|678|0xf
0|5|libxul.so|mozilla::ServoRestyleManager::ProcessPostTraversal|hg:hg.mozilla.org/mozilla-central:layout/base/ServoRestyleManager.cpp:5378dcb45044|953|0x25
0|6|libxul.so|mozilla::ServoRestyleManager::DoProcessPendingRestyles|hg:hg.mozilla.org/mozilla-central:layout/base/ServoRestyleManager.cpp:5378dcb45044|1142|0xf
0|7|libxul.so|mozilla::PresShell::DoFlushPendingNotifications|hg:hg.mozilla.org/mozilla-central:layout/base/PresShell.cpp:5378dcb45044|4226|0x18
0|8|libxul.so|mozilla::PresShell::DoFlushPendingNotifications|hg:hg.mozilla.org/mozilla-central:layout/base/PresShell.cpp:5378dcb45044|4092|0x7
0|9|libxul.so|mozilla::EventStateManager::PreHandleEvent|hg:hg.mozilla.org/mozilla-central:dom/events/EventStateManager.cpp:5378dcb45044|737|0xb
0|10|libxul.so|mozilla::PresShell::HandleEventInternal|hg:hg.mozilla.org/mozilla-central:layout/base/PresShell.cpp:5378dcb45044|7806|0x1c
0|11|libxul.so|mozilla::PresShell::HandlePositionedEvent|hg:hg.mozilla.org/mozilla-central:layout/base/PresShell.cpp:5378dcb45044|7603|0x14
0|12|libxul.so|mozilla::PresShell::HandleEvent|hg:hg.mozilla.org/mozilla-central:layout/base/PresShell.cpp:5378dcb45044|7401|0x15
0|13|libxul.so|nsViewManager::DispatchEvent|hg:hg.mozilla.org/mozilla-central:view/nsViewManager.cpp:5378dcb45044|812|0x23
0|14|libxul.so|nsView::HandleEvent|hg:hg.mozilla.org/mozilla-central:view/nsView.cpp:5378dcb45044|1140|0x1a
0|15|libxul.so|mozilla::widget::PuppetWidget::DispatchEvent|hg:hg.mozilla.org/mozilla-central:widget/PuppetWidget.cpp:5378dcb45044|395|0x20
0|16|libxul.so|mozilla::layers::APZCCallbackHelper::DispatchWidgetEvent|hg:hg.mozilla.org/mozilla-central:gfx/layers/apz/util/APZCCallbackHelper.cpp:5378dcb45044|499|0x1c
0|17|libxul.so|mozilla::dom::TabChild::HandleRealMouseButtonEvent|hg:hg.mozilla.org/mozilla-central:dom/ipc/TabChild.cpp:5378dcb45044|1810|0x8
0|18|libxul.so|mozilla::dom::TabChild::RecvRealMouseButtonEvent|hg:hg.mozilla.org/mozilla-central:dom/ipc/TabChild.cpp:5378dcb45044|1777|0x8
0|19|libxul.so|mozilla::dom::TabChild::RecvSynthMouseMoveEvent|hg:hg.mozilla.org/mozilla-central:dom/ipc/TabChild.cpp:5378dcb45044|1738|0x5
0|20|libxul.so|mozilla::dom::PBrowserChild::OnMessageReceived|s3:gecko-generated-sources:4ba1431e0e522bc7a91d81616749a7a841959d0047b51dbe04e8719c994ed0d1eae02cda97a9976e4760c07fc94fddb174fae97de15e91548b97603ca7b16698/ipc/ipdl/PBrowserChild.cpp:|3442|0x1d
0|21|libxul.so|mozilla::ipc::MessageChannel::DispatchAsyncMessage|hg:hg.mozilla.org/mozilla-central:ipc/glue/MessageChannel.cpp:5378dcb45044|2114|0x6
0|22|libxul.so|mozilla::ipc::MessageChannel::DispatchMessage|hg:hg.mozilla.org/mozilla-central:ipc/glue/MessageChannel.cpp:5378dcb45044|2044|0xb
0|23|libxul.so|mozilla::ipc::MessageChannel::RunMessage|hg:hg.mozilla.org/mozilla-central:ipc/glue/MessageChannel.cpp:5378dcb45044|1890|0xb
0|24|libxul.so|mozilla::ipc::MessageChannel::MessageTask::Run|hg:hg.mozilla.org/mozilla-central:ipc/glue/MessageChannel.cpp:5378dcb45044|1923|0xc
0|25|libxul.so|mozilla::SchedulerGroup::Runnable::Run|hg:hg.mozilla.org/mozilla-central:xpcom/threads/SchedulerGroup.cpp:5378dcb45044|396|0x1c
0|26|libxul.so|nsThread::ProcessNextEvent|hg:hg.mozilla.org/mozilla-central:xpcom/threads/nsThread.cpp:5378dcb45044|1037|0x15
0|27|libxul.so|NS_ProcessNextEvent|hg:hg.mozilla.org/mozilla-central:xpcom/threads/nsThreadUtils.cpp:5378dcb45044|513|0x11
0|28|libxul.so|mozilla::ipc::MessagePump::Run|hg:hg.mozilla.org/mozilla-central:ipc/glue/MessagePump.cpp:5378dcb45044|97|0xa
0|29|libxul.so|MessageLoop::RunInternal|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:5378dcb45044|326|0x17
0|30|libxul.so|MessageLoop::Run|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:5378dcb45044|319|0x8
0|31|libxul.so|nsBaseAppShell::Run|hg:hg.mozilla.org/mozilla-central:widget/nsBaseAppShell.cpp:5378dcb45044|159|0xd
0|32|libxul.so|XRE_RunAppShell|hg:hg.mozilla.org/mozilla-central:toolkit/xre/nsEmbedFunctions.cpp:5378dcb45044|877|0x11
0|33|libxul.so|mozilla::ipc::MessagePumpForChildProcess::Run|hg:hg.mozilla.org/mozilla-central:ipc/glue/MessagePump.cpp:5378dcb45044|269|0x5
0|34|libxul.so|MessageLoop::RunInternal|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:5378dcb45044|326|0x17
0|35|libxul.so|MessageLoop::Run|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:5378dcb45044|319|0x8
0|36|libxul.so|XRE_InitChildProcess|hg:hg.mozilla.org/mozilla-central:toolkit/xre/nsEmbedFunctions.cpp:5378dcb45044|703|0x8
0|37|firefox|content_process_main|hg:hg.mozilla.org/mozilla-central:ipc/contentproc/plugin-container.cpp:5378dcb45044|63|0x14
0|38|firefox|main|hg:hg.mozilla.org/mozilla-central:browser/app/nsBrowserApp.cpp:5378dcb45044|280|0x11
0|39|libc-2.23.so||||0x20830
0|40|firefox|MOZ_ReportAssertionFailure|hg:hg.mozilla.org/mozilla-central:mfbt/Assertions.h:5378dcb45044|165|0x5
Flags: in-testsuite?
Flags: needinfo?(emilio)
Priority: -- → P3
I couldn't repro this with dom.webcomponents.enabled, any other pref I need?
Flags: needinfo?(emilio) → needinfo?(jkratzer)
(In reply to Emilio Cobos Álvarez [:emilio] from comment #1)
> I couldn't repro this with dom.webcomponents.enabled, any other pref I need?

Sorry for the slow response.  That testcase no longer repro's for me either so I've attached a new one that also produces the same assertion.
Flags: needinfo?(jkratzer)
Attached file trigger.html
Attachment #8931064 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.