Closed
Bug 1383603
Opened 8 years ago
Closed 2 years ago
Assertion failure: !mDuration.IsNegative() (Frame must have non-negative duration.) [@ mozilla::VideoData::VideoData]
Categories
(Core :: Audio/Video: Playback, defect, P3)
Core
Audio/Video: Playback
Tracking
()
People
(Reporter: tsmith, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: assertion, testcase)
Attachments
(1 file)
10.72 KB,
video/webm
|
Details |
Assertion failure: !mDuration.IsNegative() (Frame must have non-negative duration.), at src/dom/media/MediaData.cpp:185
#0 0x7f757dcb7578 in mozilla::VideoData::VideoData(long, mozilla::media::TimeUnit const&, mozilla::media::TimeUnit const&, bool, mozilla::media::TimeUnit const&, mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits>, unsigned int) src/dom/media/MediaData.cpp:185:3
#1 0x7f757dcb8bdc in mozilla::VideoData::CreateAndCopyData(mozilla::VideoInfo const&, mozilla::layers::ImageContainer*, long, mozilla::media::TimeUnit const&, mozilla::media::TimeUnit const&, mozilla::VideoData::YCbCrBuffer const&, bool, mozilla::media::TimeUnit const&, mozilla::gfx::IntRectTyped<mozilla::gfx::UnknownUnits> const&, mozilla::layers::KnowsCompositor*) src/dom/media/MediaData.cpp:331:27
#2 0x7f757e1a0dcf in mozilla::FFmpegVideoDecoder<46465650>::DoDecode(mozilla::MediaRawData*, unsigned char*, int, bool*, nsTArray<RefPtr<mozilla::MediaData> >&) src/dom/media/platforms/ffmpeg/FFmpegVideoDecoder.cpp:346:5
#3 0x7f757e19fc56 in mozilla::FFmpegVideoDecoder<46465650>::DoDecode(mozilla::MediaRawData*, bool*, nsTArray<RefPtr<mozilla::MediaData> >&) src/dom/media/platforms/ffmpeg/FFmpegVideoDecoder.cpp:214:26
#4 0x7f757e19f806 in mozilla::FFmpegVideoDecoder<46465650>::ProcessDecode(mozilla::MediaRawData*) src/dom/media/platforms/ffmpeg/FFmpegVideoDecoder.cpp:180:20
#5 0x7f757e1a3d92 in decltype (((*{parm#1}).*{parm#2})((((Get<0ul>)({parm#3})).PassAsParameter)())) mozilla::detail::RunnableMethodArguments<mozilla::MediaRawData*>::applyImpl<mozilla::FFmpegDataDecoder<46465650>, RefPtr<mozilla::MozPromise<nsTArray<RefPtr<mozilla::MediaData> >, mozilla::MediaResult, true> > (mozilla::FFmpegDataDecoder<46465650>::*)(mozilla::MediaRawData*), StoreRefPtrPassByPtr<mozilla::MediaRawData>, 0ul>(mozilla::FFmpegDataDecoder<46465650>*, RefPtr<mozilla::MozPromise<nsTArray<RefPtr<mozilla::MediaData> >, mozilla::MediaResult, true> > (mozilla::FFmpegDataDecoder<46465650>::*)(mozilla::MediaRawData*), mozilla::Tuple<StoreRefPtrPassByPtr<mozilla::MediaRawData> >&, mozilla::IndexSequence<0ul>) src/obj-firefox/dist/include/nsThreadUtils.h:1158:12
#6 0x7f757e1a3cfc in decltype (applyImpl({parm#1}, {parm#2}, (*this).mArguments, (mozilla::IndexSequence<0ul>)())) mozilla::detail::RunnableMethodArguments<mozilla::MediaRawData*>::apply<mozilla::FFmpegDataDecoder<46465650>, RefPtr<mozilla::MozPromise<nsTArray<RefPtr<mozilla::MediaData> >, mozilla::MediaResult, true> > (mozilla::FFmpegDataDecoder<46465650>::*)(mozilla::MediaRawData*)>(mozilla::FFmpegDataDecoder<46465650>*, RefPtr<mozilla::MozPromise<nsTArray<RefPtr<mozilla::MediaData> >, mozilla::MediaResult, true> > (mozilla::FFmpegDataDecoder<46465650>::*)(mozilla::MediaRawData*)) src/obj-firefox/dist/include/nsThreadUtils.h:1164:12
#7 0x7f757e1a3c86 in mozilla::detail::MethodCall<mozilla::MozPromise<nsTArray<RefPtr<mozilla::MediaData> >, mozilla::MediaResult, true>, RefPtr<mozilla::MozPromise<nsTArray<RefPtr<mozilla::MediaData> >, mozilla::MediaResult, true> > (mozilla::FFmpegDataDecoder<46465650>::*)(mozilla::MediaRawData*), mozilla::FFmpegDataDecoder<46465650>, mozilla::MediaRawData*>::Invoke() src/obj-firefox/dist/include/mozilla/MozPromise.h:1369:18
#8 0x7f757e1a39c6 in mozilla::detail::ProxyRunnable<mozilla::MozPromise<nsTArray<RefPtr<mozilla::MediaData> >, mozilla::MediaResult, true>, RefPtr<mozilla::MozPromise<nsTArray<RefPtr<mozilla::MediaData> >, mozilla::MediaResult, true> > (mozilla::FFmpegDataDecoder<46465650>::*)(mozilla::MediaRawData*), mozilla::FFmpegDataDecoder<46465650>, mozilla::MediaRawData*>::Run() src/obj-firefox/dist/include/mozilla/MozPromise.h:1394:42
#9 0x7f7579a4a515 in mozilla::TaskQueue::Runner::Run() src/xpcom/threads/TaskQueue.cpp:246:12
#10 0x7f7579a891ae in nsThreadPool::Run() src/xpcom/threads/nsThreadPool.cpp:225:14
#11 0x7f7579a8962c in non-virtual thunk to nsThreadPool::Run() src/xpcom/threads/nsThreadPool.cpp:154:15
#12 0x7f7579a80a1c in nsThread::ProcessNextEvent(bool, bool*) src/xpcom/threads/nsThread.cpp:1579:14
#13 0x7f7579a86780 in NS_ProcessNextEvent(nsIThread*, bool) src/xpcom/threads/nsThreadUtils.cpp:530:10
#14 0x7f757a5f2a54 in mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) src/ipc/glue/MessagePump.cpp:339:20
#15 0x7f757a53da87 in MessageLoop::RunInternal() src/ipc/chromium/src/base/message_loop.cc:321:10
#16 0x7f757a53d919 in MessageLoop::Run() src/ipc/chromium/src/base/message_loop.cc:294:3
#17 0x7f7579a77acb in nsThread::ThreadFunc(void*) src/xpcom/threads/nsThread.cpp:507:11
#18 0x7f75953ed5ad in _pt_root src/nsprpub/pr/src/pthreads/ptthread.c:216:5
#19 0x7f75989f66b9 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x76b9)
#20 0x7f7597a7f3dc in clone /build/glibc-bfm8X4/glibc-2.23/misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Comment 1•8 years ago
|
||
Since this is a fuzzy test, should we just discard frames with negative durations?
Flags: needinfo?(jyavenard)
Comment 2•8 years ago
|
||
We could handle it differently in the decoder I guess, or better in the demuxer. Returning an error instead of the frame.
Flags: needinfo?(jyavenard)
Updated•7 years ago
|
Priority: -- → P3
Comment 3•7 years ago
|
||
The exact assertion has changed over time, but this testcase ultimately fails as far back as a year ago (which is the furthest back mozregression can bisect debug builds). Confirmed that trunk remains affected too.
Has Regression Range: --- → no
status-firefox56:
--- → wontfix
status-firefox57:
--- → wontfix
status-firefox58:
--- → fix-optional
status-firefox-esr52:
--- → wontfix
Comment 4•7 years ago
|
||
status-firefox59:
--- → ?
Reporter | ||
Updated•6 years ago
|
status-firefox64:
--- → wontfix
status-firefox65:
--- → affected
status-firefox66:
--- → affected
status-firefox-esr60:
--- → affected
Flags: in-testsuite?
Comment hidden (Intermittent Failures Robot) |
Updated•2 years ago
|
Severity: normal → S3
Reporter | ||
Comment 6•2 years ago
|
||
The attached test case no longer reproduces the issue and this was last reported by fuzzers targeting 20181218-d62e952be812.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•