Closed Bug 1785300 Opened 4 years ago Closed 4 years ago

Intermittent Assertion failure: GetMediaTime() <= clockTime (Clock should go forwards.), at /builds/worker/checkouts/gecko/dom/media/MediaDecoderStateMachine.cpp:3621

Categories

(Core :: WebRTC, defect, P5)

defect

Tracking

()

RESOLVED FIXED
106 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox105 --- wontfix
firefox106 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: padenot)

References

Details

(Keywords: assertion, intermittent-failure, Whiteboard: [stockwell needswork:owner])

Crash Data

Filed by: nbeleuzu [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=387642256&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/cGwMnyIvTvO9d-0ereX6Cw/runs/0/artifacts/public/logs/live_backing.log


[task 2022-08-17T17:31:06.769Z] 17:31:06     INFO - GECKO(8432) | [Child 8537, Socket Thread] WARNING: MediaPipeline Transport failed. This is not properly cleaned up yet: file /builds/worker/checkouts/gecko/dom/media/webrtc/transportbridge/MediaPipeline.cpp:406
[task 2022-08-17T17:31:07.131Z] 17:31:07     INFO - GECKO(8432) | [Child 8537, Main Thread] WARNING: Can't add a range if the end is older that the start.: file /builds/worker/checkouts/gecko/dom/html/TimeRanges.cpp:72
[task 2022-08-17T17:31:07.139Z] 17:31:07     INFO - GECKO(8432) | [Child 8537, Main Thread] WARNING: Can't add a range if the end is older that the start.: file /builds/worker/checkouts/gecko/dom/html/TimeRanges.cpp:72
[task 2022-08-17T17:31:09.036Z] 17:31:09     INFO - GECKO(8432) | Assertion failure: GetMediaTime() <= clockTime (Clock should go forwards.), at /builds/worker/checkouts/gecko/dom/media/MediaDecoderStateMachine.cpp:3621
[task 2022-08-17T17:31:09.059Z] 17:31:09     INFO -  Initializing stack-fixing for the first stack frame, this may take a while...
[task 2022-08-17T17:31:14.168Z] 17:31:14     INFO - GECKO(8432) | #01: mozilla::MediaDecoderStateMachine::GetClock(mozilla::TimeStamp*) const [dom/media/MediaDecoderStateMachine.cpp:3621]
[task 2022-08-17T17:31:14.168Z] 17:31:14     INFO - GECKO(8432) | #02: mozilla::MediaDecoderStateMachine::UpdatePlaybackPositionPeriodically() [dom/media/MediaDecoderStateMachine.cpp:3637]
[task 2022-08-17T17:31:14.168Z] 17:31:14     INFO - GECKO(8432) | #03: mozilla::MediaDecoderStateMachine::CompletedState::Step() [dom/media/MediaDecoderStateMachine.cpp:2062]
[task 2022-08-17T17:31:14.168Z] 17:31:14     INFO - GECKO(8432) | #04: mozilla::MediaDecoderStateMachine::RunStateMachine() [dom/media/MediaDecoderStateMachine.cpp:3584]
[task 2022-08-17T17:31:14.169Z] 17:31:14     INFO - GECKO(8432) | #05: mozilla::MozPromise<bool, bool, true>::ThenValue<mozilla::MediaDecoderStateMachine::ScheduleStateMachineIn(mozilla::media::TimeUnit const&)::$_34, mozilla::MediaDecoderStateMachine::ScheduleStateMachineIn(mozilla::media::TimeUnit const&)::$_35>::DoResolveOrRejectInternal(mozilla::MozPromise<bool, bool, true>::ResolveOrRejectValue&) [xpcom/threads/MozPromise.h:859]
[task 2022-08-17T17:31:14.169Z] 17:31:14     INFO - GECKO(8432) | #06: mozilla::MozPromise<bool, bool, true>::ThenValueBase::ResolveOrRejectRunnable::Run() [xpcom/threads/MozPromise.h:488]
[task 2022-08-17T17:31:14.169Z] 17:31:14     INFO - GECKO(8432) | #07: mozilla::TaskQueue::Runner::Run() [xpcom/threads/TaskQueue.cpp:266]
[task 2022-08-17T17:31:14.169Z] 17:31:14     INFO - GECKO(8432) | #08: nsThreadPool::Run() [xpcom/threads/nsThreadPool.cpp:312]
[task 2022-08-17T17:31:14.169Z] 17:31:14     INFO - GECKO(8432) | #09: nsThread::ProcessNextEvent(bool, bool*) [xpcom/threads/nsThread.cpp:1200]
[task 2022-08-17T17:31:14.170Z] 17:31:14     INFO - GECKO(8432) | #10: NS_ProcessNextEvent(nsIThread*, bool) [xpcom/threads/nsThreadUtils.cpp:465]
[task 2022-08-17T17:31:14.170Z] 17:31:14     INFO - GECKO(8432) | #11: mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) [ipc/glue/MessagePump.cpp:301]
[task 2022-08-17T17:31:14.170Z] 17:31:14     INFO - GECKO(8432) | #12: MessageLoop::RunInternal() [ipc/chromium/src/base/message_loop.cc:381]
[task 2022-08-17T17:31:14.171Z] 17:31:14     INFO - GECKO(8432) | #13: MessageLoop::Run() [ipc/chromium/src/base/message_loop.cc:357]
[task 2022-08-17T17:31:14.171Z] 17:31:14     INFO - GECKO(8432) | #14: nsThread::ThreadFunc(void*) [xpcom/threads/nsThread.cpp:386]
[task 2022-08-17T17:31:14.177Z] 17:31:14     INFO - GECKO(8432) | #15: _pt_root [nsprpub/pr/src/pthreads/ptthread.c:204]
[task 2022-08-17T17:31:14.199Z] 17:31:14     INFO - GECKO(8432) | #16: set_alt_signal_stack_and_start(PthreadCreateParams*) [toolkit/crashreporter/pthread_create_interposer/pthread_create_interposer.cpp:80]
[task 2022-08-17T17:31:14.200Z] 17:31:14     INFO - GECKO(8432) | #17: ??? [/lib/x86_64-linux-gnu/libpthread.so.0 + 0x76db]
[task 2022-08-17T17:31:14.204Z] 17:31:14     INFO - GECKO(8432) | #18: clone [/lib/x86_64-linux-gnu/libc.so.6 + 0x121a3f]
[task 2022-08-17T17:31:14.205Z] 17:31:14     INFO - GECKO(8432) | #19: ??? (???:???)

There have been 42 failures in the last 7 days: https://treeherder.mozilla.org/intermittent-failures/bugdetails?startday=2022-08-19&endday=2022-08-26&tree=trunk&bug=1785300

Happens on:

  • linux1804-64-qr debug
  • macosx1015-64-qr debug

Recent failure log: https://treeherder.mozilla.org/logviewer?job_id=388526091&repo=mozilla-central&lineNumber=66629

Jim, could you assign someone to look into this?

Flags: needinfo?(jmathies)
Whiteboard: [stockwell needswork:owner]
Blocks: media-triage
Flags: needinfo?(jmathies)

I'm looking in bug 1787040.

No longer blocks: media-triage
See Also: → 1787040
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
No longer blocks: 1788467
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---

There have been 51 total failures in the last 7 days, recent failure log.
Affected platforms are:

  • linux1804-64-qr
  • macosx1015-64-qr
Flags: needinfo?(jmathies)
See Also: → 1785264

Looks webrtc related?

Severity: S4 → --
Component: Audio/Video → WebRTC
Flags: needinfo?(jmathies)

I fixed this by backing out some code in bug 1789103.

Status: REOPENED → RESOLVED
Closed: 4 years ago → 4 years ago
Resolution: --- → FIXED
Assignee: nobody → padenot
Depends on: 1789103
Target Milestone: --- → 106 Branch

Copying crash signatures from duplicate bugs.

Crash Signature: [@ mozilla::MediaDecoderStateMachine::GetClock(mozilla::TimeStamp*) const]
You need to log in before you can comment on or make changes to this bug.