Closed Bug 1726640 Opened 3 years ago Closed 2 years ago

Crash in [@ InvalidArrayIndex_CRASH | mozilla::MediaDecodeTask::FinishDecode]

Categories

(Core :: Audio/Video: Playback, defect, P3)

Unspecified
Android
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: mccr8, Unassigned)

Details

(Keywords: crash)

Crash Data

Crash report: https://crash-stats.mozilla.org/report/index/7daa2172-95c8-4678-a2c3-4080d0210819

MOZ_CRASH Reason: ElementAt(aIndex = 1, aLength = 1)

Top 10 frames of crashing thread:

0 libxul.so InvalidArrayIndex_CRASH xpcom/ds/nsTArray.cpp:28
1 libxul.so mozilla::MediaDecodeTask::FinishDecode dom/media/webaudio/MediaBufferDecoder.cpp:548
2 libxul.so mozilla::MozPromise<nsTArray<RefPtr<mozilla::MediaData> >, mozilla::MediaResult, true>::ThenValue<mozilla::MediaDecodeTask*, void  xpcom/threads/MozPromise.h:720
3 libxul.so mozilla::MozPromise<nsTArray<RefPtr<mozilla::MediaData> >, mozilla::MediaResult, true>::ThenValueBase::ResolveOrRejectRunnable::Run xpcom/threads/MozPromise.h:487
4 libxul.so mozilla::TaskQueue::Runner::Run xpcom/threads/TaskQueue.cpp:208
5 libxul.so nsThreadPool::Run xpcom/threads/nsThreadPool.cpp:303
6 libxul.so nsThread::ProcessNextEvent xpcom/threads/nsThread.cpp:1146
7 libxul.so NS_ProcessNextEvent xpcom/threads/nsThreadUtils.cpp:466
8 libxul.so mozilla::ipc::MessagePumpForNonMainThreads::Run ipc/glue/MessagePump.cpp:300
9 libxul.so MessageLoop::Run ipc/chromium/src/base/message_loop.cc:306

Around 60 of these crashes. They are all either ElementAt(aIndex = 1, aLength = 1) or ElementAt(aIndex = 2, aLength = 2) so maybe there's some off by one error?

Severity: -- → S2

CC Paul + John because of web audio + android. Any ideas?

Hasn't shown up since 91.

Severity: S2 → S4
Status: NEW → RESOLVED
Closed: 2 years ago
Priority: -- → P3
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.