Open Bug 1851054 Opened 9 months ago Updated 3 months ago

Crash in [@ OOM | large | nsTArray_Impl<T>::AppendElementInternal | nsTArray<T>::AppendElement | mozilla::MediaTrackDemuxer::SamplesHolder::AppendSample ]

Categories

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

Unspecified
Windows 10
defect

Tracking

()

People

(Reporter: mccr8, Unassigned, NeedInfo)

References

Details

(Keywords: crash)

Crash Data

Crash report: https://crash-stats.mozilla.org/report/index/2b9c3c80-2f33-4871-83cf-42d080230830

MOZ_CRASH Reason: out of memory: 0x0000000083A00000 bytes requested

Top 10 frames of crashing thread:

0  mozglue.dll  MOZ_Crash  mfbt/Assertions.h:281
0  mozglue.dll  mozalloc_abort  memory/mozalloc/mozalloc_abort.cpp:26
1  mozglue.dll  mozalloc_handle_oom  memory/mozalloc/mozalloc_oom.cpp:51
1  mozglue.dll  moz_xrealloc  memory/mozalloc/mozalloc.cpp:78
2  xul.dll  nsTArrayInfallibleAllocator::Realloc  xpcom/ds/nsTArray.h:259
2  xul.dll  nsTArray_base<nsTArrayInfallibleAllocator, nsTArray_RelocateUsingMemutils>::EnsureCapacityImpl<nsTArrayInfallibleAllocator>  xpcom/ds/nsTArray-inl.h:221
3  xul.dll  nsTArray_base<nsTArrayInfallibleAllocator, nsTArray_RelocateUsingMemutils>::EnsureCapacity  xpcom/ds/nsTArray.h:443
3  xul.dll  nsTArray_Impl<RefPtr<mozilla::MediaRawData>, nsTArrayInfallibleAllocator>::AppendElementInternal  xpcom/ds/nsTArray.h:2690
3  xul.dll  nsTArray<RefPtr<mozilla::MediaRawData> >::AppendElement  xpcom/ds/nsTArray.h:2833
3  xul.dll  mozilla::MediaTrackDemuxer::SamplesHolder::AppendSample  dom/media/MediaDataDemuxer.h:105

Some of these allocations are quite large. For instance, for this one it is 2GB.

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

For more information, please visit BugBot documentation.

Flags: needinfo?(jmathies)

At the base of the stack -
mozilla::MediaTrackDemuxer::SamplesHolder::AppendSample

Flags: needinfo?(jmathies)
Blocks: media-triage
Flags: needinfo?(alwu)

Hasn't shown up in 118 for some reason.

Severity: -- → S4
No longer blocks: media-triage
See Also: → 1882088

I made the signature a little nicer.

Crash Signature: mozilla::MediaTrack...] → mozilla::MediaTrack...] [@ OOM | large | nsTArray_Impl<T>::AppendElementInternal | nsTArray<T>::AppendElement | mozilla::MediaTrackDemuxer::SamplesHolder::AppendSample ]
Summary: Crash in [@ OOM | large | mozalloc_abort | moz_xrealloc | nsTArrayInfallibleAllocator::Realloc | nsTArray_base<T>::EnsureCapacityImpl<T> | nsTArray_base<T>::EnsureCapacity | nsTArray_Impl<T>::AppendElementInternal | nsTArray<T>::AppendElement | mozilla... → Crash in [@ OOM | large | nsTArray_Impl<T>::AppendElementInternal | nsTArray<T>::AppendElement | mozilla::MediaTrackDemuxer::SamplesHolder::AppendSample ]
Crash Signature: mozilla::MediaTrack...] [@ OOM | large | nsTArray_Impl<T>::AppendElementInternal | nsTArray<T>::AppendElement | mozilla::MediaTrackDemuxer::SamplesHolder::AppendSample ] → mozilla::MediaTrack...] [@ OOM | large | nsTArray_Impl<T>::AppendElementInternal | nsTArray<T>::AppendElement | mozilla::MediaTrackDemuxer::SamplesHolder::AppendSample ] [@ OOM | large | nsTArray_Impl<T>::AppendElementInternal<T> | nsTArray<T>::AppendEle…
You need to log in before you can comment on or make changes to this bug.