Closed Bug 1757316 Opened 4 years ago Closed 3 years ago

Assertion failure: (aA != (9223372036854775807L) && aA != (-9223372036854775807L-1)) || aA != aB ('Infinity - Infinity' and '-Infinity - -Infinity' are undefined)

Categories

(Core :: DOM: Animation, defect)

Firefox 102
All
Unspecified
defect

Tracking

()

RESOLVED DUPLICATE of bug 1134538

People

(Reporter: zzzssspro0202, Unassigned)

References

Details

Attachments

(1 file)

Attached file html to open

Steps to reproduce:

  1. build a debug firefox
  2. open the html

Actual results:

Assertion failure: (aA != (9223372036854775807L) && aA != (-9223372036854775807L-1)) || aA != aB ('Infinity - Infinity' and '-Infinity - -Infinity' are undefined), at ../firefox/checkout/obj-build-playwright/dist/include/mozilla/StickyTimeDuration.h:57
#01: ???[../firefox/checkout/obj-build-playwright/dist/bin/libxul.so +0x89a3b14]
#02: ???[../firefox/checkout/obj-build-playwright/dist/bin/libxul.so +0x89b4315]
#03: ???[../firefox/checkout/obj-build-playwright/dist/bin/libxul.so +0x89b5c60]
#04: ???[../firefox/checkout/obj-build-playwright/dist/bin/libxul.so +0x89bbd68]
#05: ???[../firefox/checkout/obj-build-playwright/dist/bin/libxul.so +0x10ef7e72]
#06: ???[../firefox/checkout/obj-build-playwright/dist/bin/libxul.so +0x10f12aa6]
#07: ???[../firefox/checkout/obj-build-playwright/dist/bin/libxul.so +0x10f12816]
#08: ???[../firefox/checkout/obj-build-playwright/dist/bin/libxul.so +0x10f12412]
#09: ???[../firefox/checkout/obj-build-playwright/dist/bin/libxul.so +0x10f11006]
#10: ???[../firefox/checkout/obj-build-playwright/dist/bin/libxul.so +0x10f0fa22]
#11: ???[../firefox/checkout/obj-build-playwright/dist/bin/libxul.so +0x10f0ebb8]
#12: ???[../firefox/checkout/obj-build-playwright/dist/bin/libxul.so +0xf852358]

Expected results:

not crash

The Bugbug bot thinks this bug should belong to the 'Core::DOM: Core & HTML' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → DOM: Core & HTML
Product: Firefox → Core

With Ubuntu 20.04 and an older Nightly (99) debug build and ./mach run --disable-e10s , the following assertion is hit:

/home/mirko/src/firefox/gecko2/gfx/skia/skia/src/core/SkScan_Path.cpp:290: fatal error: "assert(false)"
Abort from sk_abort
Hit MOZ_CRASH(Abort from sk_abort) at /home/mirko/src/firefox/gecko2/memory/mozalloc/mozalloc_abort.cpp:35
Component: DOM: Core & HTML → ImageLib

Hmm, I can reproduce the assert of comment 0, I can't reproduce the assert in comment 2 (I'm testing on macos). I get this stack

Assertion failure: (aA != 9223372036854775807LL && aA != (-9223372036854775807LL-1)) || aA != aB ('Infinity - Infinity' and '-Infinity - -Infinity' are undefined), at obj-x86_64-apple-darwin21.3.0/dist/include/mozilla/StickyTimeDuration.h:57
#01: mozilla::dom::Animation::IntervalEndTime(mozilla::BaseTimeDuration<mozilla::StickyTimeDurationValueCalculator> const&) const[obj-x86_64-apple-darwin21.3.0/toolkit/library/build/XUL +0x1804c23]
#02: mozilla::dom::CSSTransition::QueueEvents(mozilla::BaseTimeDuration<mozilla::StickyTimeDurationValueCalculator> const&)[obj-x86_64-apple-darwin21.3.0/toolkit/library/build/XUL +0x180abb1]
#03: mozilla::dom::CSSTransition::Tick()[obj-x86_64-apple-darwin21.3.0/toolkit/library/build/XUL +0x180b443]
#04: mozilla::dom::AnimationTimeline::Tick()[obj-x86_64-apple-darwin21.3.0/toolkit/library/build/XUL +0x1807c64]
#05: mozilla::dom::DocumentTimeline::MostRecentRefreshTimeUpdated()[obj-x86_64-apple-darwin21.3.0/toolkit/library/build/XUL +0x180cf13]
#06: nsRefreshDriver::Tick(mozilla::layers::BaseTransactionId<mozilla::VsyncIdType>, mozilla::TimeStamp, nsRefreshDriver::IsExtraTick)[obj-x86_64-apple-darwin21.3.0/toolkit/library/build/XUL +0x472f103]

Althought imagelib does use parts of skia, other parts of gecko use skia as well, so without looking at the stack for the skia assert I can't tell what component that assert would be in. Based on the stack of the original assert I'm going to move this in DOM:Animation. Feel free to move somewhere else if you think there is a better spot.

Component: ImageLib → DOM: Animation

The severity field is not set for this bug.
:boris, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(boris.chiou)

My log

Assertion failure: (aA != 9223372036854775807LL && aA != (-9223372036854775807LL-1)) || aA != aB ('Infinity - Infinity' and '-Infinity - -Infinity' are undefined), at /Users/boris/Projects/firefox/gecko-dev/objdirs/obj-browser-debug/dist/include/mozilla/StickyTimeDuration.h:57
#01: mozilla::dom::Animation::IntervalEndTime(mozilla::BaseTimeDuration<mozilla::StickyTimeDurationValueCalculator> const&) const[/Users/boris/Projects/firefox/gecko-dev/objdirs/obj-browser-debug/toolkit/library/build/XUL +0x13e1dc8]
#02: mozilla::dom::CSSTransition::QueueEvents(mozilla::BaseTimeDuration<mozilla::StickyTimeDurationValueCalculator> const&)[/Users/boris/Projects/firefox/gecko-dev/objdirs/obj-browser-debug/toolkit/library/build/XUL +0x13e7e74]
#03: mozilla::dom::CSSTransition::Tick()[/Users/boris/Projects/firefox/gecko-dev/objdirs/obj-browser-debug/toolkit/library/build/XUL +0x13e8530]
#04: mozilla::dom::AnimationTimeline::Tick()[/Users/boris/Projects/firefox/gecko-dev/objdirs/obj-browser-debug/toolkit/library/build/XUL +0x13e5098]
#05: mozilla::dom::DocumentTimeline::MostRecentRefreshTimeUpdated()[/Users/boris/Projects/firefox/gecko-dev/objdirs/obj-browser-debug/toolkit/library/build/XUL +0x13e9fd4]
#06: nsRefreshDriver::Tick(mozilla::layers::BaseTransactionId<mozilla::VsyncIdType>, mozilla::TimeStamp, nsRefreshDriver::IsExtraTick)[/Users/boris/Projects/firefox/gecko-dev/objdirs/obj-browser-debug/toolkit/library/build/XUL +0x4427288]
#07: mozilla::RefreshDriverTimer::TickRefreshDrivers(mozilla::layers::BaseTransactionId<mozilla::VsyncIdType>, mozilla::TimeStamp, nsTArray<RefPtr<nsRefreshDriver> >&)[/Users/boris/Projects/firefox/gecko-dev/objdirs/obj-browser-debug/toolkit/library/build/XUL +0x4430304]
#08: mozilla::RefreshDriverTimer::Tick(mozilla::layers::BaseTransactionId<mozilla::VsyncIdType>, mozilla::TimeStamp)[/Users/boris/Projects/firefox/gecko-dev/objdirs/obj-browser-debug/toolkit/library/build/XUL +0x44301ec]
#09: mozilla::VsyncRefreshDriverTimer::RunRefreshDrivers(mozilla::layers::BaseTransactionId<mozilla::VsyncIdType>, mozilla::TimeStamp)[/Users/boris/Projects/firefox/gecko-dev/objdirs/obj-browser-debug/toolkit/library/build/XUL +0x442fea4]
#10: mozilla::VsyncRefreshDriverTimer::TickRefreshDriver(mozilla::layers::BaseTransactionId<mozilla::VsyncIdType>, mozilla::TimeStamp)[/Users/boris/Projects/firefox/gecko-dev/objdirs/obj-browser-debug/toolkit/library/build/XUL +0x442f4c4]
#11: mozilla::VsyncRefreshDriverTimer::IdlePriorityNotify()[/Users/boris/Projects/firefox/gecko-dev/objdirs/obj-browser-debug/toolkit/library/build/XUL +0x442f25c]
#12: mozilla::detail::RunnableMethodImpl<mozilla::VsyncRefreshDriverTimer*, void (mozilla::VsyncRefreshDriverTimer::*)(), true, (mozilla::RunnableKind)0>::Run()[/Users/boris/Projects/firefox/gecko-dev/objdirs/obj-browser-debug/toolkit/library/build/XUL +0x442f928]
#13: IdleRunnableWrapper::Run()[/Users/boris/Projects/firefox/gecko-dev/objdirs/obj-browser-debug/toolkit/library/build/XUL +0x2f4654]
#14: IdleRunnableWrapper::TimedOut(nsITimer*, void*)[/Users/boris/Projects/firefox/gecko-dev/objdirs/obj-browser-debug/toolkit/library/build/XUL +0x2f941c]
#15: nsTimerImpl::Fire(int)[/Users/boris/Projects/firefox/gecko-dev/objdirs/obj-browser-debug/toolkit/library/build/XUL +0x308728]
#16: nsTimerEvent::Run()[/Users/boris/Projects/firefox/gecko-dev/objdirs/obj-browser-debug/toolkit/library/build/XUL +0x2d7c28]
#17: mozilla::RunnableTask::Run()[/Users/boris/Projects/firefox/gecko-dev/objdirs/obj-browser-debug/toolkit/library/build/XUL +0x2f4f74]
#18: mozilla::TaskController::DoExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&)[/Users/boris/Projects/firefox/gecko-dev/objdirs/obj-browser-debug/toolkit/library/build/XUL +0x2cf334]
#19: mozilla::TaskController::ExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&)[/Users/boris/Projects/firefox/gecko-dev/objdirs/obj-browser-debug/toolkit/library/build/XUL +0x2ce10c]
#20: mozilla::TaskController::ProcessPendingMTTask(bool)[/Users/boris/Projects/firefox/gecko-dev/objdirs/obj-browser-debug/toolkit/library/build/XUL +0x2ce3b8]
#21: mozilla::detail::RunnableFunction<mozilla::TaskController::InitializeInternal()::$_0>::Run()[/Users/boris/Projects/firefox/gecko-dev/objdirs/obj-browser-debug/toolkit/library/build/XUL +0x2fa558]
#22: nsThread::ProcessNextEvent(bool, bool*)[/Users/boris/Projects/firefox/gecko-dev/objdirs/obj-browser-debug/toolkit/library/build/XUL +0x2e2efc]
#23: NS_ProcessNextEvent(nsIThread*, bool)[/Users/boris/Projects/firefox/gecko-dev/objdirs/obj-browser-debug/toolkit/library/build/XUL +0x2e9648]
#24: mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*)[/Users/boris/Projects/firefox/gecko-dev/objdirs/obj-browser-debug/toolkit/library/build/XUL +0xbb4940]
#25: MessageLoop::Run()[/Users/boris/Projects/firefox/gecko-dev/objdirs/obj-browser-debug/toolkit/library/build/XUL +0xb38b28]
#26: nsBaseAppShell::Run()[/Users/boris/Projects/firefox/gecko-dev/objdirs/obj-browser-debug/toolkit/library/build/XUL +0x413cc6c]
#27: nsAppShell::Run()[/Users/boris/Projects/firefox/gecko-dev/objdirs/obj-browser-debug/toolkit/library/build/XUL +0x41b140c]
#28: XRE_RunAppShell()[/Users/boris/Projects/firefox/gecko-dev/objdirs/obj-browser-debug/toolkit/library/build/XUL +0x58a7e28]
#29: mozilla::ipc::MessagePumpForChildProcess::Run(base::MessagePump::Delegate*)[/Users/boris/Projects/firefox/gecko-dev/objdirs/obj-browser-debug/toolkit/library/build/XUL +0xbb53f0]
#30: MessageLoop::Run()[/Users/boris/Projects/firefox/gecko-dev/objdirs/obj-browser-debug/toolkit/library/build/XUL +0xb38b28]
#31: XRE_InitChildProcess(int, char**, XREChildData const*)[/Users/boris/Projects/firefox/gecko-dev/objdirs/obj-browser-debug/toolkit/library/build/XUL +0x58a76e0]
#32: main[/Users/boris/Projects/firefox/gecko-dev/objdirs/obj-browser-debug/dist/NightlyDebug.app/Contents/MacOS/plugin-container.app/Contents/MacOS/plugin-container +0x69c]
Severity: -- → S3
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(boris.chiou)

However, this test file is too large. Need a reduced test case anyway.

Hardware: Unspecified → All
Version: Firefox 94 → Firefox 102

Bug 1134538 may fix this issue.

Just verified this bug by my patch in Bug 1134538.

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

Attachment

General

Creator:
Created:
Updated:
Size: