Closed Bug 1902944 Opened 1 year ago Closed 1 year ago

Crash in [@ mozilla::detail::InvalidArrayIndex_CRASH | nsTArray_Impl<T>::ElementAt | nsTArray_Impl<T>::operator[] | mozilla::WMFVideoMFTManager::Output]

Categories

(Core :: Audio/Video: Web Codecs, defect)

Other
Windows
defect

Tracking

()

RESOLVED DUPLICATE of bug 1903669
Tracking Status
firefox-esr115 --- unaffected
firefox127 --- unaffected
firefox128 --- unaffected
firefox129 --- affected

People

(Reporter: release-mgmt-account-bot, Assigned: padenot)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: crash, regression)

Crash Data

Crash report: https://crash-stats.mozilla.org/report/index/a907f696-2a28-4d2c-8232-edf950240615

Reason: EXCEPTION_BREAKPOINT

Top 10 frames of crashing thread:

0  mozglue.dll  MOZ_Crash  mfbt/Assertions.h:317
0  mozglue.dll  mozilla::detail::InvalidArrayIndex_CRASH  mfbt/Assertions.cpp:50
1  xul.dll  nsTArray_Impl<long long, nsTArrayInfallibleAllocator>::ElementAt  xpcom/ds/nsTArray.h:1196
1  xul.dll  nsTArray_Impl<long long, nsTArrayInfallibleAllocator>::operator[]  xpcom/ds/nsTArray.h:1233
1  xul.dll  mozilla::WMFVideoMFTManager::Output  dom/media/platforms/wmf/WMFVideoMFTManager.cpp:945
2  xul.dll  mozilla::WMFMediaDataDecoder::ProcessOutput  dom/media/platforms/wmf/WMFMediaDataDecoder.cpp:146
3  xul.dll  mozilla::WMFMediaDataDecoder::ProcessDecode  dom/media/platforms/wmf/WMFMediaDataDecoder.cpp:111
4  xul.dll  mozilla::detail::RunnableMethodArguments<mozilla::MediaRawData*>::apply<mozilla::TheoraDecoder, RefPtr<mozilla::MozPromise<nsTArray<RefPtr<mozilla::MediaData> >, mozilla::MediaResult, 1> >  const  xpcom/threads/nsThreadUtils.h:1085
4  xul.dll  std::invoke  /builds/worker/fetches/vs/VC/Tools/MSVC/14.39.33519/include/type_traits:1739
4  xul.dll  std::_Apply_impl  /builds/worker/fetches/vs/VC/Tools/MSVC/14.39.33519/include/tuple:1077

By querying Nightly crashes reported within the last 2 months, here are some insights about the signature:

  • First crash report: 2024-06-15
  • Process type: GPU
  • Is startup crash: No
  • Has user comments: No
  • Is null crash: No

By analyzing the backtrace, the regression may have been introduced by a patch [1] to fix Bug 1900592.

[1] https://hg.mozilla.org/mozilla-central/rev?node=5b55062d570a

:padenot, since you are the author of the potential regressor, could you please take a look?

Flags: needinfo?(padenot)

Bug 1903669 has a fuzz testcase that crashes with the same signature.

See Also: → 1903669
Blocks: mf-playback
Flags: needinfo?(padenot) → needinfo?(alwu)

My triage might have been off here, looked like an mf playback issue. But Paul's webcodecs work appears to have regressed it?

Yes sorry it's one of mine I forgot to assign myself.

Assignee: nobody → padenot
Flags: needinfo?(alwu)

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

For more information, please visit BugBot documentation.

Flags: needinfo?(padenot)

:padenot, the Fx129 soft code freeze starts on Thursday 2024-07-04, ahead of Fx129 merging to beta on Monday 2024-07-08.
Could this be triaged for severity?
Do you plan on fixing this before Fx129 goes to beta, or during the the Fx129 cycle and requesting an uplift?

This isn't shipped.

Flags: needinfo?(padenot)

In fact it is, I had a second look at the code. Simple patch in 1903669, I'll dupe this.

Status: NEW → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1903669
Resolution: --- → DUPLICATE
See Also: 1903669
You need to log in before you can comment on or make changes to this bug.