Assertion failure: mTimeMapping[end].mTimecode >= mTimeMapping[end - 1].mTimecode, at /builds/worker/checkouts/gecko/dom/media/webm/WebMBufferedParser.cpp:482
Categories
(Core :: Audio/Video: Playback, defect, P3)
Tracking
()
People
(Reporter: tsmith, Assigned: padenot)
References
Details
(Keywords: assertion, testcase, Whiteboard: [bugmon:bisected,confirmed])
Attachments
(1 file)
|
2.35 KB,
video/webm
|
Details |
Found while fuzzing m-c 20240625-a7d69e48affb (--enable-debug --enable-fuzzing)
To reproduce via Grizzly Replay:
$ pip install fuzzfetch grizzly-framework --upgrade
$ python -m fuzzfetch -d --fuzzing -n firefox
$ python -m grizzly.replay.bugzilla ./firefox/firefox <bugid>
Assertion failure: mTimeMapping[end].mTimecode >= mTimeMapping[end - 1].mTimecode, at /builds/worker/checkouts/gecko/dom/media/webm/WebMBufferedParser.cpp:482
#0 0x7bec8e7a3034 in mozilla::WebMBufferedState::CalculateBufferedForRange(long, long, unsigned long*, unsigned long*) /builds/worker/checkouts/gecko/dom/media/webm/WebMBufferedParser.cpp:482:3
#1 0x7bec8e7b01a0 in mozilla::WebMDemuxer::GetBuffered() /builds/worker/checkouts/gecko/dom/media/webm/WebMDemuxer.cpp:1086:31
#2 0x7bec8e7b4436 in mozilla::WebMTrackDemuxer::GetBuffered() /builds/worker/checkouts/gecko/dom/media/webm/WebMDemuxer.cpp:1367:19
#3 0x7bec8e10ff97 in mozilla::MediaFormatReader::DemuxerProxy::Wrapper::UpdateBuffered() /builds/worker/checkouts/gecko/dom/media/MediaFormatReader.cpp:773:32
#4 0x7bec8e10eb36 in operator() /builds/worker/checkouts/gecko/dom/media/MediaFormatReader.cpp:823:26
#5 0x7bec8e10eb36 in InvokeMethod<(lambda at /builds/worker/checkouts/gecko/dom/media/MediaFormatReader.cpp:793:11), RefPtr<mozilla::MozPromise<mozilla::MediaResult, mozilla::MediaResult, false> > ((lambda at /builds/worker/checkouts/gecko/dom/media/MediaFormatReader.cpp:793:11)::*)() const, const mozilla::MediaResult &> /builds/worker/workspace/obj-build/dist/include/mozilla/MozPromise.h:659:12
#6 0x7bec8e10eb36 in InvokeCallbackMethod<true, (lambda at /builds/worker/checkouts/gecko/dom/media/MediaFormatReader.cpp:793:11), RefPtr<mozilla::MozPromise<mozilla::MediaResult, mozilla::MediaResult, false> > ((lambda at /builds/worker/checkouts/gecko/dom/media/MediaFormatReader.cpp:793:11)::*)() const, const mozilla::MediaResult &, RefPtr<mozilla::MozPromise<mozilla::MediaResult, mozilla::MediaResult, false>::Private> > /builds/worker/workspace/obj-build/dist/include/mozilla/MozPromise.h:668:14
#7 0x7bec8e10eb36 in mozilla::MozPromise<mozilla::MediaResult, mozilla::MediaResult, false>::ThenValue<mozilla::MediaFormatReader::DemuxerProxy::Init()::$_0, mozilla::MediaFormatReader::DemuxerProxy::Init()::$_1>::DoResolveOrRejectInternal(mozilla::MozPromise<mozilla::MediaResult, mozilla::MediaResult, false>::ResolveOrRejectValue&) /builds/worker/workspace/obj-build/dist/include/mozilla/MozPromise.h:857:9
#8 0x7bec8ded4315 in mozilla::MozPromise<mozilla::MediaResult, mozilla::MediaResult, false>::ThenValueBase::ResolveOrRejectRunnable::Run() /builds/worker/workspace/obj-build/dist/include/mozilla/MozPromise.h:488:21
#9 0x7bec8a00a0f8 in mozilla::TaskQueue::Runner::Run() /builds/worker/checkouts/gecko/xpcom/threads/TaskQueue.cpp:257:20
#10 0x7bec8a033bf8 in nsThreadPool::Run() /builds/worker/checkouts/gecko/xpcom/threads/nsThreadPool.cpp:456:14
#11 0x7bec8a029c7c in nsThread::ProcessNextEvent(bool, bool*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1198:16
#12 0x7bec8a030aef in NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:480:10
#13 0x7bec8acdee8c in mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:300:20
#14 0x7bec8abf4ba1 in RunHandler /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:363:3
#15 0x7bec8abf4ba1 in MessageLoop::Run() /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:345:3
#16 0x7bec8a024e33 in nsThread::ThreadFunc(void*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:370:10
#17 0x7bec9e9f7c2f in _pt_root /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:201:5
#18 0x7bec9e694ac2 in start_thread nptl/pthread_create.c:442:8
#19 0x7bec9e72684f misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Comment 1•2 years ago
|
||
Verified bug as reproducible on mozilla-central 20240708220117-162448b8b7cd.
Unable to bisect testcase (Testcase reproduces on start build!):
Start: b6a3e16c65e1298418f1aaf966dd3071d644075b (20230711040652)
End: a7d69e48affbb339e57fa5845eadc38192774df4 (20240625161754)
BuildFlags: BuildFlags(asan=False, tsan=False, debug=True, fuzzing=True, coverage=False, valgrind=False, no_opt=False, fuzzilli=False, nyx=False)
Comment 2•2 years ago
|
||
The severity field is not set for this bug.
:jimm, could you have a look please?
For more information, please visit BugBot documentation.
Comment 3•2 years ago
|
||
Hi, Matthews, would you mind to take a look on this one? I did a quick check and it seems there are some out-of-order frames incorrectly inserted to the same mapping. Thanks!
Comment 4•9 months ago
|
||
Testcase crashes using the initial build (mozilla-central 20250214095524-ffddf6c98dc7) but not with tip (mozilla-central 20260213212122-0d74a4189e30.)
The bug appears to have been fixed in the following build range:
Start: 92f386bd060d50feff4917f6ab4978476a46ae65 (20260212160833)
End: fdeb63f53c6b2d26cf335f972c2b0c63b8174a8f (20260212161201)
Pushlog: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=92f386bd060d50feff4917f6ab4978476a46ae65&tochange=fdeb63f53c6b2d26cf335f972c2b0c63b8174a8f
tsmith, can you confirm that the above bisection range is responsible for fixing this issue?
Removing bugmon keyword as no further action possible. Please review the bug and re-add the keyword for further analysis.
| Reporter | ||
Comment 5•9 months ago
|
||
I can confirm this is no longer reproducible fixed by Bug 2014856.
Also restoring original ni?
| Reporter | ||
Comment 6•9 months ago
|
||
Actually let's just mark this as fixed.
Comment 7•9 months ago
|
||
Is this test worth landing still?
Description
•