Open Bug 1214996 Opened 9 years ago Updated 2 years ago

Assertion failure: collection->mElement->GetComposedDoc() == mPresContext->Document() (Should not have a transition/animation collection for an element that is not part of the document tree), at /home/ikezoe/mozilla-central/layout/style/AnimationCommon.cp

Categories

(Core :: CSS Parsing and Computation, defect)

Other Branch
defect

Tracking

()

People

(Reporter: hiro, Unassigned)

Details

I've been seeing this assertion in these days when I changed html file which contains an animation and reload the html document.

I have no idea about any reliable steps to reproduce this assertion.
A backtrace:

#0  0x00007fc267273f3d in nanosleep () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fc267273dd4 in __sleep (seconds=0) at ../sysdeps/unix/sysv/linux/sleep.c:137
#2  0x00007fc25ae0a6c3 in ah_crap_handler (signum=11) at /home/ikezoe/mozilla-central/toolkit/xre/nsSigHandlers.cpp:103
#3  0x00007fc25adfdaa5 in nsProfileLock::FatalSignalHandler (signo=11, info=0x7ffe4df69df0, context=0x7ffe4df69cc0) at /home/ikezoe/mozilla-central/toolkit/profile/nsProfileLock.cpp:195
#4  0x00007fc25ba0d4c1 in AsmJSFaultHandler (signum=<optimized out>, info=0x7ffe4df69df0, context=0x7ffe4df69cc0) at /home/ikezoe/mozilla-central/js/src/asmjs/AsmJSSignalHandlers.cpp:1158
#5  <signal handler called>
#6  0x00007fc25a730b8c in mozilla::CommonAnimationManager::FlushAnimations (this=0x7fc23323bc50) at /home/ikezoe/mozilla-central/layout/style/AnimationCommon.cpp:330
#7  0x00007fc25a8b613b in PresShell::FlushPendingNotifications (this=0x7fc23850f800, aFlush=...) at /home/ikezoe/mozilla-central/layout/base/nsPresShell.cpp:4085
#8  0x00007fc25a8b63f0 in PresShell::FlushPendingNotifications (this=<optimized out>, aType=<optimized out>) at /home/ikezoe/mozilla-central/layout/base/nsPresShell.cpp:3977
#9  0x00007fc259fd58e4 in mozilla::EventStateManager::PreHandleEvent (this=0x7fc231780300, aPresContext=0x7fc236ba2300, aEvent=aEvent@entry=0x7ffe4df6a988, aTargetFrame=<optimized out>, 
    aTargetContent=<optimized out>, aStatus=aStatus@entry=0x7ffe4df6a8ec) at /home/ikezoe/mozilla-central/dom/events/EventStateManager.cpp:668
#10 0x00007fc25a8b3040 in PresShell::HandleEventInternal (this=this@entry=0x7fc23850f800, aEvent=aEvent@entry=0x7ffe4df6a988, aStatus=aStatus@entry=0x7ffe4df6a8ec)
    at /home/ikezoe/mozilla-central/layout/base/nsPresShell.cpp:7935
#11 0x00007fc25a8b32df in PresShell::HandlePositionedEvent (this=this@entry=0x7fc23850f800, aTargetFrame=aTargetFrame@entry=0x7fc2327db550, aEvent=aEvent@entry=0x7ffe4df6a988, 
    aEventStatus=aEventStatus@entry=0x7ffe4df6a8ec) at /home/ikezoe/mozilla-central/layout/base/nsPresShell.cpp:7787
#12 0x00007fc25a8b4ade in PresShell::HandleEvent (this=0x7fc239bddd00, aFrame=<optimized out>, aEvent=0x7ffe4df6a988, aDontRetargetEvents=<optimized out>, aEventStatus=0x7ffe4df6a8ec, aTargetContent=0x0)
    at /home/ikezoe/mozilla-central/layout/base/nsPresShell.cpp:7571
#13 0x00007fc25a609aa1 in nsViewManager::DispatchEvent (this=<optimized out>, aEvent=aEvent@entry=0x7ffe4df6a988, aView=<optimized out>, aStatus=aStatus@entry=0x7ffe4df6a8ec)
    at /home/ikezoe/mozilla-central/view/nsViewManager.cpp:796
#14 0x00007fc25a8b657b in PresShell::DispatchSynthMouseMove (this=0x7fc23012ee80, aEvent=0x7ffe4df6a988, aFlushOnHoverChange=<optimized out>)
    at /home/ikezoe/mozilla-central/layout/base/nsPresShell.cpp:3671
#15 0x00007fc25a8a2c91 in PresShell::ProcessSynthMouseMoveEvent (this=0x7fc239bddd00, aFromScroll=<optimized out>) at /home/ikezoe/mozilla-central/layout/base/nsPresShell.cpp:5597
#16 0x00007fc25a8b1c67 in PresShell::nsSynthMouseMoveEvent::WillRefresh (this=0x7fc22c20d240, aTime=...) at /home/ikezoe/mozilla-central/layout/base/nsPresShell.h:651
#17 0x00007fc25a7f55f0 in nsRefreshDriver::Tick (this=0x7fc239bdd980, aNowEpoch=aNowEpoch@entry=1444884577714136, aNowTime=...) at /home/ikezoe/mozilla-central/layout/base/nsRefreshDriver.cpp:1529
#18 0x00007fc25a7f63d5 in mozilla::RefreshDriverTimer::TickDriver (driver=<optimized out>, jsnow=jsnow@entry=1444884577714136, now=..., now@entry=...)
    at /home/ikezoe/mozilla-central/layout/base/nsRefreshDriver.cpp:196
#19 0x00007fc25a7f647f in mozilla::RefreshDriverTimer::Tick (this=this@entry=0x7fc244e3cec0, jsnow=1444884577714136, now=...) at /home/ikezoe/mozilla-central/layout/base/nsRefreshDriver.cpp:187
#20 0x00007fc25a7f6633 in RunRefreshDrivers (aTimeStamp=..., this=0x7fc244e3cec0) at /home/ikezoe/mozilla-central/layout/base/nsRefreshDriver.cpp:439
#21 mozilla::VsyncRefreshDriverTimer::RefreshDriverVsyncObserver::TickRefreshDriver (this=<optimized out>, aVsyncTimestamp=...) at /home/ikezoe/mozilla-central/layout/base/nsRefreshDriver.cpp:373
#22 0x00007fc25a7ef248 in apply<mozilla::VsyncRefreshDriverTimer::RefreshDriverVsyncObserver, void (mozilla::VsyncRefreshDriverTimer::RefreshDriverVsyncObserver::*)(mozilla::TimeStamp)> (
    m=<optimized out>, o=<optimized out>, this=<optimized out>) at ../../dist/include/nsThreadUtils.h:676
#23 nsRunnableMethodImpl<void (mozilla::VsyncRefreshDriverTimer::RefreshDriverVsyncObserver::*)(mozilla::TimeStamp), true, mozilla::TimeStamp>::Run (this=<optimized out>)
    at ../../dist/include/nsThreadUtils.h:870
#24 0x00007fc258d55898 in nsThread::ProcessNextEvent (this=0x7fc266d0d700, aMayWait=<optimized out>, aResult=0x7ffe4df6ae2f) at /home/ikezoe/mozilla-central/xpcom/threads/nsThread.cpp:972
#25 0x00007fc258d7e4b8 in NS_ProcessNextEvent (aThread=<optimized out>, aMayWait=aMayWait@entry=false) at /home/ikezoe/mozilla-central/xpcom/glue/nsThreadUtils.cpp:297
#26 0x00007fc25900e91f in mozilla::ipc::MessagePump::Run (this=0x7fc266dd2e40, aDelegate=0x7fc266c52f00) at /home/ikezoe/mozilla-central/ipc/glue/MessagePump.cpp:95
#27 0x00007fc258fec65f in MessageLoop::RunInternal (this=this@entry=0x7fc266c52f00) at /home/ikezoe/mozilla-central/ipc/chromium/src/base/message_loop.cc:234
#28 0x00007fc258fec686 in RunHandler (this=0x7fc266c52f00) at /home/ikezoe/mozilla-central/ipc/chromium/src/base/message_loop.cc:227
#29 MessageLoop::Run (this=0x7fc266c52f00) at /home/ikezoe/mozilla-central/ipc/chromium/src/base/message_loop.cc:201
#30 0x00007fc25a624b3d in nsBaseAppShell::Run (this=0x7fc2515b3e70) at /home/ikezoe/mozilla-central/widget/nsBaseAppShell.cpp:156
#31 0x00007fc25adbce72 in nsAppStartup::Run (this=0x7fc24d81b0f0) at /home/ikezoe/mozilla-central/toolkit/components/startup/nsAppStartup.cpp:281
#32 0x00007fc25ae08785 in XREMain::XRE_mainRun (this=this@entry=0x7ffe4df6b168) at /home/ikezoe/mozilla-central/toolkit/xre/nsAppRunner.cpp:4298
#33 0x00007fc25ae08be9 in XREMain::XRE_main (this=this@entry=0x7ffe4df6b168, argc=argc@entry=4, argv=argv@entry=0x7ffe4df6c678, aAppData=aAppData@entry=0x7ffe4df6b378)
    at /home/ikezoe/mozilla-central/toolkit/xre/nsAppRunner.cpp:4391
#34 0x00007fc25ae08e8e in XRE_main (argc=4, argv=0x7ffe4df6c678, aAppData=0x7ffe4df6b378, aFlags=<optimized out>) at /home/ikezoe/mozilla-central/toolkit/xre/nsAppRunner.cpp:4493
#35 0x00000000004068f9 in do_main (argc=argc@entry=4, argv=argv@entry=0x7ffe4df6c678, xreDirectory=0x7fc266c3c4c0) at /home/ikezoe/mozilla-central/browser/app/nsBrowserApp.cpp:212
#36 0x0000000000405d45 in main (argc=4, argv=0x7ffe4df6c678) at /home/ikezoe/mozilla-central/browser/app/nsBrowserApp.cpp:352
Component: Layout → CSS Parsing and Computation
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.