Closed Bug 1466172 Opened 6 years ago Closed 2 years ago

Assertion failure: (aA != (9223372036854775807L) && aA != (-9223372036854775807L-1)) || aA != aB ('Infinity - Infinity' and '-Infinity - -Infinity' are undefined), at /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/StickyTimeDuration.h

Categories

(Core :: DOM: Animation, defect)

59 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1522652

People

(Reporter: jkratzer, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: assertion, testcase)

Attachments

(1 file)

Attached file trigger.html
Testcase found while fuzzing mozilla-central rev 9900cebb1f90. rax = 0x0000000000000000 rdx = 0x0000000000000000 rcx = 0x00007f751b0852dd rbx = 0x00007f74fe62fe90 rsi = 0x00007f751b354770 rdi = 0x00007f751b353540 rbp = 0x00007fff5511c290 rsp = 0x00007fff5511c030 r8 = 0x00007f751b354770 r9 = 0x00007f751c423740 r10 = 0x0000000000000039 r11 = 0x0000000000000000 r12 = 0x00007fff5511c0b0 r13 = 0x0000000000000001 r14 = 0x0000000000000000 r15 = 0x00007f74ff928f40 rip = 0x00007f750b1ca3c4 OS|Linux|0.0.0 Linux 4.4.0-127-generic #153-Ubuntu SMP Sat May 19 10:58:46 UTC 2018 x86_64 CPU|amd64|family 6 model 78 stepping 3|1 GPU||| Crash|SIGSEGV|0x0|0 0|0|libxul.so|mozilla::dom::CSSAnimation::QueueEvents(mozilla::BaseTimeDuration<mozilla::StickyTimeDurationValueCalculator> const&)|hg:hg.mozilla.org/mozilla-central:xpcom/ds/StickyTimeDuration.h:9900cebb1f9000bd05731ba67736b7c51f7eb812|60|0x26 0|1|libxul.so|mozilla::dom::CSSAnimation::Tick()|hg:hg.mozilla.org/mozilla-central:layout/style/nsAnimationManager.cpp:9900cebb1f9000bd05731ba67736b7c51f7eb812|142|0x5 0|2|libxul.so|mozilla::dom::DocumentTimeline::WillRefresh(mozilla::TimeStamp)|hg:hg.mozilla.org/mozilla-central:dom/animation/DocumentTimeline.cpp:9900cebb1f9000bd05731ba67736b7c51f7eb812|185|0x9 0|3|libxul.so|nsRefreshDriver::Tick(long, mozilla::TimeStamp)|hg:hg.mozilla.org/mozilla-central:layout/base/nsRefreshDriver.cpp:9900cebb1f9000bd05731ba67736b7c51f7eb812|1868|0xd 0|4|libxul.so|mozilla::RefreshDriverTimer::TickRefreshDrivers(long, mozilla::TimeStamp, nsTArray<RefPtr<nsRefreshDriver> >&)|hg:hg.mozilla.org/mozilla-central:layout/base/nsRefreshDriver.cpp:9900cebb1f9000bd05731ba67736b7c51f7eb812|301|0xb 0|5|libxul.so|mozilla::RefreshDriverTimer::Tick(long, mozilla::TimeStamp)|hg:hg.mozilla.org/mozilla-central:layout/base/nsRefreshDriver.cpp:9900cebb1f9000bd05731ba67736b7c51f7eb812|320|0xf 0|6|libxul.so|mozilla::VsyncRefreshDriverTimer::RefreshDriverVsyncObserver::TickRefreshDriver(mozilla::TimeStamp)|hg:hg.mozilla.org/mozilla-central:layout/base/nsRefreshDriver.cpp:9900cebb1f9000bd05731ba67736b7c51f7eb812|760|0x5 0|7|libxul.so|mozilla::VsyncRefreshDriverTimer::RefreshDriverVsyncObserver::NotifyVsync(mozilla::TimeStamp)|hg:hg.mozilla.org/mozilla-central:layout/base/nsRefreshDriver.cpp:9900cebb1f9000bd05731ba67736b7c51f7eb812|574|0xc 0|8|libxul.so|mozilla::layout::VsyncChild::RecvNotify(mozilla::TimeStamp const&)|hg:hg.mozilla.org/mozilla-central:layout/ipc/VsyncChild.cpp:9900cebb1f9000bd05731ba67736b7c51f7eb812|68|0x9 0|9|libxul.so|mozilla::layout::PVsyncChild::OnMessageReceived(IPC::Message const&)|s3:gecko-generated-sources:0c7cf777c2ff93c34ff1546f677320cb1229427e6947e87c6fa76720f9b9c5b6a4a4d036521ed9a643f4fa5e10a57d8748e2532d47fce8282aa653340c0c00ff/ipc/ipdl/PVsyncChild.cpp:|167|0xc 0|10|libxul.so|mozilla::ipc::MessageChannel::DispatchAsyncMessage(IPC::Message const&)|hg:hg.mozilla.org/mozilla-central:ipc/glue/MessageChannel.cpp:9900cebb1f9000bd05731ba67736b7c51f7eb812|2136|0x6 0|11|libxul.so|mozilla::ipc::MessageChannel::DispatchMessage(IPC::Message&&)|hg:hg.mozilla.org/mozilla-central:ipc/glue/MessageChannel.cpp:9900cebb1f9000bd05731ba67736b7c51f7eb812|2066|0xb 0|12|libxul.so|mozilla::ipc::MessageChannel::RunMessage(mozilla::ipc::MessageChannel::MessageTask&)|hg:hg.mozilla.org/mozilla-central:ipc/glue/MessageChannel.cpp:9900cebb1f9000bd05731ba67736b7c51f7eb812|1912|0xb 0|13|libxul.so|mozilla::ipc::MessageChannel::MessageTask::Run()|hg:hg.mozilla.org/mozilla-central:ipc/glue/MessageChannel.cpp:9900cebb1f9000bd05731ba67736b7c51f7eb812|1945|0xc 0|14|libxul.so|nsThread::ProcessNextEvent(bool, bool*)|hg:hg.mozilla.org/mozilla-central:xpcom/threads/nsThread.cpp:9900cebb1f9000bd05731ba67736b7c51f7eb812|1088|0x15 0|15|libxul.so|NS_ProcessNextEvent(nsIThread*, bool)|hg:hg.mozilla.org/mozilla-central:xpcom/threads/nsThreadUtils.cpp:9900cebb1f9000bd05731ba67736b7c51f7eb812|519|0x11 0|16|libxul.so|mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*)|hg:hg.mozilla.org/mozilla-central:ipc/glue/MessagePump.cpp:9900cebb1f9000bd05731ba67736b7c51f7eb812|125|0xd 0|17|libxul.so|MessageLoop::RunInternal()|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:9900cebb1f9000bd05731ba67736b7c51f7eb812|326|0x17 0|18|libxul.so|MessageLoop::Run()|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:9900cebb1f9000bd05731ba67736b7c51f7eb812|319|0x8 0|19|libxul.so|nsBaseAppShell::Run()|hg:hg.mozilla.org/mozilla-central:widget/nsBaseAppShell.cpp:9900cebb1f9000bd05731ba67736b7c51f7eb812|157|0xd 0|20|libxul.so|XRE_RunAppShell()|hg:hg.mozilla.org/mozilla-central:toolkit/xre/nsEmbedFunctions.cpp:9900cebb1f9000bd05731ba67736b7c51f7eb812|893|0x11 0|21|libxul.so|mozilla::ipc::MessagePumpForChildProcess::Run(base::MessagePump::Delegate*)|hg:hg.mozilla.org/mozilla-central:ipc/glue/MessagePump.cpp:9900cebb1f9000bd05731ba67736b7c51f7eb812|269|0x5 0|22|libxul.so|MessageLoop::RunInternal()|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:9900cebb1f9000bd05731ba67736b7c51f7eb812|326|0x17 0|23|libxul.so|MessageLoop::Run()|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:9900cebb1f9000bd05731ba67736b7c51f7eb812|319|0x8 0|24|libxul.so|XRE_InitChildProcess(int, char**, XREChildData const*)|hg:hg.mozilla.org/mozilla-central:toolkit/xre/nsEmbedFunctions.cpp:9900cebb1f9000bd05731ba67736b7c51f7eb812|719|0x8 0|25|firefox|content_process_main(mozilla::Bootstrap*, int, char**)|hg:hg.mozilla.org/mozilla-central:ipc/contentproc/plugin-container.cpp:9900cebb1f9000bd05731ba67736b7c51f7eb812|50|0x14 0|26|firefox|main|hg:hg.mozilla.org/mozilla-central:browser/app/nsBrowserApp.cpp:9900cebb1f9000bd05731ba67736b7c51f7eb812|282|0x11 0|27|libc-2.23.so||||0x20830 0|28|firefox|MOZ_ReportAssertionFailure|hg:hg.mozilla.org/mozilla-central:mfbt/Assertions.h:9900cebb1f9000bd05731ba67736b7c51f7eb812|164|0x5
Flags: in-testsuite?
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE

De-duping since bug 1271788 will not handle this case.

Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---

Okay, this is purely a dup of bug 1522652.

The assertion happens in Animation::InvervalEndTime specifically;

EffectEnd() - mEffect->NormalizedTiming().Delay()

in this calculation. The delay is a very large number, thus StickyTimeDurationValueCalculator::Subtract tries to calculate +Inf - Inf.

Status: REOPENED → RESOLVED
Closed: 6 years ago2 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: