Assertion failure: current (How?), at src/layout/base/PresShell.cpp:2107

NEW
Assigned to

Status

()

defect
P3
normal
9 months ago
7 months ago

People

(Reporter: tsmith, Assigned: emilio)

Tracking

(Blocks 1 bug, {assertion, testcase})

unspecified
Points:
---
Dependency tree / graph
Bug Flags:
in-testsuite ?

Firefox Tracking Flags

(firefox65 affected)

Details

Attachments

(1 attachment)

Posted file testcase.html
Assertion failure: current (How?), at src/layout/base/PresShell.cpp:2107

#0 0x7fd5b25e5eb0 in GetNativeAnonymousSubtreeRoot src/layout/base/PresShell.cpp:2107:5
#1 0x7fd5b25e5eb0 in nsIPresShell::NativeAnonymousContentRemoved(nsIContent*) src/layout/base/PresShell.cpp:2116
#2 0x7fd5b29c99f9 in nsIFrame::DestroyAnonymousContent(nsPresContext*, already_AddRefed<nsIContent>&&) src/layout/generic/nsFrame.cpp:255:32
#3 0x7fd5b280a743 in nsIFrame::AutoPostDestroyData::~AutoPostDestroyData() src/layout/generic/nsIFrame.h:619:9
#4 0x7fd5b290fa5e in DoRemoveFrame src/layout/generic/nsBlockFrame.h:535:3
#5 0x7fd5b290fa5e in nsBlockFrame::RemoveFrame(mozilla::layout::FrameChildListID, nsIFrame*) src/layout/generic/nsBlockFrame.cpp:5384
#6 0x7fd5b26eacb6 in RemoveFrame src/layout/base/nsFrameManager.cpp:124:18
#7 0x7fd5b26eacb6 in nsCSSFrameConstructor::ContentRemoved(nsIContent*, nsIContent*, nsCSSFrameConstructor::RemoveFlags) src/layout/base/nsCSSFrameConstructor.cpp:8004
#8 0x7fd5b26057c4 in mozilla::PresShell::ContentRemoved(nsIContent*, nsIContent*) src/layout/base/PresShell.cpp:4609:22
#9 0x7fd5ac1c80b6 in nsNodeUtils::ContentRemoved(nsINode*, nsIContent*, nsIContent*) src/dom/base/nsNodeUtils.cpp:230:3
#10 0x7fd5ac0368e0 in nsINode::RemoveChildNode(nsIContent*, bool) src/dom/base/nsINode.cpp:2042:5
#11 0x7fd5ac15194f in nsINode::ReplaceOrInsertBefore(bool, nsINode*, nsINode*, mozilla::ErrorResult&) src/dom/base/nsINode.cpp:2388:18
#12 0x7fd5ac14f0cc in InsertBefore src/dom/base/nsINode.h:1798:12
#13 0x7fd5ac14f0cc in AppendChild src/dom/base/nsINode.h:1802
#14 0x7fd5ac14f0cc in nsINode::Append(mozilla::dom::Sequence<mozilla::dom::OwningNodeOrString> const&, mozilla::ErrorResult&) src/dom/base/nsINode.cpp:2015
#15 0x7fd5ae922f77 in mozilla::dom::Element_Binding::append(JSContext*, JS::Handle<JSObject*>, mozilla::dom::Element*, JSJitMethodCallArgs const&) src/obj-firefox/dom/bindings/ElementBinding.cpp:5903:9
#16 0x7fd5af18f744 in bool mozilla::dom::binding_detail::GenericMethod<mozilla::dom::binding_detail::NormalThisPolicy, mozilla::dom::binding_detail::ThrowExceptions>(JSContext*, unsigned int, JS::Value*) src/dom/bindings/BindingUtils.cpp:3376:13
#17 0x7fd5b858b2ad in CallJSNative src/js/src/vm/Interpreter.cpp:468:15
#18 0x7fd5b858b2ad in js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct) src/js/src/vm/Interpreter.cpp:560
#19 0x7fd5b8574f07 in CallFromStack src/js/src/vm/Interpreter.cpp:620:12
#20 0x7fd5b8574f07 in Interpret(JSContext*, js::RunState&) src/js/src/vm/Interpreter.cpp:3462
#21 0x7fd5b85584a6 in js::RunScript(JSContext*, js::RunState&) src/js/src/vm/Interpreter.cpp:447:12
#22 0x7fd5b858bc51 in js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct) src/js/src/vm/Interpreter.cpp:587:15
#23 0x7fd5b858d8d2 in js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>) src/js/src/vm/Interpreter.cpp:633:10
#24 0x7fd5b754b6b6 in JS::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::HandleValueArray const&, JS::MutableHandle<JS::Value>) src/js/src/jsapi.cpp:2988:12
#25 0x7fd5ae79b939 in mozilla::dom::EventHandlerNonNull::Call(JSContext*, JS::Handle<JS::Value>, mozilla::dom::Event&, JS::MutableHandle<JS::Value>, mozilla::ErrorResult&) src/obj-firefox/dom/bindings/EventHandlerBinding.cpp:265:37
#26 0x7fd5afa28449 in void mozilla::dom::EventHandlerNonNull::Call<nsISupports*>(nsISupports* const&, mozilla::dom::Event&, JS::MutableHandle<JS::Value>, mozilla::ErrorResult&, char const*, mozilla::dom::CallbackObject::ExceptionHandling, JS::Realm*) src/obj-firefox/dist/include/mozilla/dom/EventHandlerBinding.h:363:12
#27 0x7fd5afa256d9 in mozilla::JSEventHandler::HandleEvent(mozilla::dom::Event*) src/dom/events/JSEventHandler.cpp:214:12
#28 0x7fd5af9d981a in mozilla::EventListenerManager::HandleEventSubType(mozilla::EventListenerManager::Listener*, mozilla::dom::Event*, mozilla::dom::EventTarget*) src/dom/events/EventListenerManager.cpp:1115:52
#29 0x7fd5af9dbe17 in mozilla::EventListenerManager::HandleEventInternal(nsPresContext*, mozilla::WidgetEvent*, mozilla::dom::Event**, mozilla::dom::EventTarget*, nsEventStatus*, bool) src/dom/events/EventListenerManager.cpp:1317:15
#30 0x7fd5af9bd5c6 in HandleEvent src/obj-firefox/dist/include/mozilla/EventListenerManager.h:390:5
#31 0x7fd5af9bd5c6 in mozilla::EventTargetChainItem::HandleEvent(mozilla::EventChainPostVisitor&, mozilla::ELMCreationDetector&) src/dom/events/EventDispatcher.cpp:425
#32 0x7fd5af9bb848 in mozilla::EventTargetChainItem::HandleEventTargetChain(nsTArray<mozilla::EventTargetChainItem>&, mozilla::EventChainPostVisitor&, mozilla::EventDispatchingCallback*, mozilla::ELMCreationDetector&) src/dom/events/EventDispatcher.cpp:642:16
#33 0x7fd5af9c22a0 in mozilla::EventDispatcher::Dispatch(nsISupports*, nsPresContext*, mozilla::WidgetEvent*, mozilla::dom::Event*, nsEventStatus*, mozilla::EventDispatchingCallback*, nsTArray<mozilla::dom::EventTarget*>*) src/dom/events/EventDispatcher.cpp:1164:11
#34 0x7fd5af925d93 in mozilla::EventStateManager::DispatchMouseOrPointerEvent(mozilla::WidgetMouseEvent*, mozilla::EventMessage, nsIContent*, nsIContent*) src/dom/events/EventStateManager.cpp:4243:3
#35 0x7fd5af9290a3 in mozilla::EnterLeaveDispatcher::Dispatch() src/dom/events/EventStateManager.cpp:4325:15
#36 0x7fd5af92993f in mozilla::EventStateManager::NotifyMouseOver(mozilla::WidgetMouseEvent*, nsIContent*) src/dom/events/EventStateManager.cpp:4466:19
#37 0x7fd5af8ff0a0 in mozilla::EventStateManager::GenerateMouseEnterExit(mozilla::WidgetMouseEvent*) src/dom/events/EventStateManager.cpp:4614:9
#38 0x7fd5af8f7a23 in mozilla::EventStateManager::PreHandleEvent(nsPresContext*, mozilla::WidgetEvent*, nsIFrame*, nsIContent*, nsEventStatus*, nsIContent*) src/dom/events/EventStateManager.cpp:687:5
#39 0x7fd5b2633513 in mozilla::PresShell::HandleEventInternal(mozilla::WidgetEvent*, nsEventStatus*, bool, nsIContent*) src/layout/base/PresShell.cpp:7698:19
#40 0x7fd5b262e34d in mozilla::PresShell::HandleEvent(nsIFrame*, mozilla::WidgetGUIEvent*, bool, nsEventStatus*) src/layout/base/PresShell.cpp:7343:17
#41 0x7fd5b1d973fd in nsViewManager::DispatchEvent(mozilla::WidgetGUIEvent*, nsView*, nsEventStatus*) src/view/nsViewManager.cpp:812:14
#42 0x7fd5b25f914d in nsIPresShell::DispatchSynthMouseMove(mozilla::WidgetGUIEvent*) src/layout/base/PresShell.cpp:3885:33
#43 0x7fd5b2619379 in mozilla::PresShell::ProcessSynthMouseMoveEvent(bool) src/layout/base/PresShell.cpp:5771:12
#44 0x7fd5b2673ecb in mozilla::PresShell::nsSynthMouseMoveEvent::WillRefresh(mozilla::TimeStamp) src/obj-firefox/dist/include/mozilla/PresShell.h:648:16
#45 0x7fd5b256a884 in nsRefreshDriver::Tick(mozilla::TimeStamp) src/layout/base/nsRefreshDriver.cpp:1878:12
#46 0x7fd5b257fa93 in TickDriver src/layout/base/nsRefreshDriver.cpp:326:13
#47 0x7fd5b257fa93 in mozilla::RefreshDriverTimer::TickRefreshDrivers(mozilla::TimeStamp, nsTArray<RefPtr<nsRefreshDriver> >&) src/layout/base/nsRefreshDriver.cpp:301
#48 0x7fd5b257f48c in mozilla::RefreshDriverTimer::Tick(mozilla::TimeStamp) src/layout/base/nsRefreshDriver.cpp:319:5
#49 0x7fd5b258271f in RunRefreshDrivers src/layout/base/nsRefreshDriver.cpp:760:5
#50 0x7fd5b258271f in mozilla::VsyncRefreshDriverTimer::RefreshDriverVsyncObserver::TickRefreshDriver(mozilla::TimeStamp) src/layout/base/nsRefreshDriver.cpp:676
#51 0x7fd5b257cc99 in mozilla::VsyncRefreshDriverTimer::RefreshDriverVsyncObserver::ParentProcessVsyncNotifier::Run() src/layout/base/nsRefreshDriver.cpp:514:20
#52 0x7fd5a7d6f4b1 in nsThread::ProcessNextEvent(bool, bool*) src/xpcom/threads/nsThread.cpp:1244:14
#53 0x7fd5a7d7825d in NS_ProcessNextEvent(nsIThread*, bool) src/xpcom/threads/nsThreadUtils.cpp:530:10
#54 0x7fd5a8fee89f in mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) src/ipc/glue/MessagePump.cpp:97:21
#55 0x7fd5a8ee9d0e in RunInternal src/ipc/chromium/src/base/message_loop.cc:325:10
#56 0x7fd5a8ee9d0e in RunHandler src/ipc/chromium/src/base/message_loop.cc:318
#57 0x7fd5a8ee9d0e in MessageLoop::Run() src/ipc/chromium/src/base/message_loop.cc:298
#58 0x7fd5b1e90243 in nsBaseAppShell::Run() src/widget/nsBaseAppShell.cpp:158:27
#59 0x7fd5b64a6210 in nsAppStartup::Run() src/toolkit/components/startup/nsAppStartup.cpp:290:30
#60 0x7fd5b677502e in XREMain::XRE_mainRun() src/toolkit/xre/nsAppRunner.cpp:4791:22
#61 0x7fd5b6777900 in XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&) src/toolkit/xre/nsAppRunner.cpp:4936:8
#62 0x7fd5b6779283 in XRE_main(int, char**, mozilla::BootstrapConfig const&) src/toolkit/xre/nsAppRunner.cpp:5028:21
#63 0x56545b1fe67c in do_main src/browser/app/nsBrowserApp.cpp:233:22
#64 0x56545b1fe67c in main src/browser/app/nsBrowserApp.cpp:315
#65 0x7fd5cb7c082f in __libc_start_main /build/glibc-Cl5G7W/glibc-2.23/csu/../csu/libc-start.c:291
#66 0x56545b123eec in _start (firefox+0x2deec)
Flags: in-testsuite?
Flags: needinfo?(emilio)
Assignee: nobody → emilio
Flags: needinfo?(emilio)
See Also: → 1510208
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.