Closed Bug 1847902 Opened 3 years ago Closed 3 years ago

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

Categories

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

defect

Tracking

()

VERIFIED FIXED
118 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox-esr115 --- unaffected
firefox116 --- unaffected
firefox117 --- unaffected
firefox118 + verified

People

(Reporter: aryx, Assigned: padenot)

References

(Regression)

Details

(Keywords: crash, regression, topcrash)

Crash Data

Attachments

(1 external file)

11 crashes from 6 installations of the latest Firefox 118.0a1 Nightly.

Crash report: https://crash-stats.mozilla.org/report/index/dd66e18b-5e90-450f-be87-ba3c30230809

Reason: EXCEPTION_BREAKPOINT

Top 10 frames of crashing thread:

0  mozglue.dll  MOZ_CrashPrintf  mfbt/Assertions.cpp:34
1  mozglue.dll  mozilla::detail::InvalidArrayIndex_CRASH  mfbt/Assertions.cpp:50
2  xul.dll  nsTArray_Impl<unsigned char, nsTArrayInfallibleAllocator>::ElementAt const  xpcom/ds/nsTArray.h:1217
2  xul.dll  nsTArray_Impl<unsigned char, nsTArrayInfallibleAllocator>::operator[] const  xpcom/ds/nsTArray.h:1248
2  xul.dll  mozilla::FormatChunk::ExtraFormatInfoSize const  dom/media/wave/WaveDemuxer.cpp:697
3  xul.dll  mozilla::FormatChunk::ChannelMap const  dom/media/wave/WaveDemuxer.cpp:704
3  xul.dll  mozilla::WAVTrackDemuxer::Init  dom/media/wave/WaveDemuxer.cpp:159
3  xul.dll  mozilla::WAVDemuxer::InitInternal  dom/media/wave/WaveDemuxer.cpp:35
3  xul.dll  mozilla::WAVDemuxer::Init  dom/media/wave/WaveDemuxer.cpp:44
4  xul.dll  mozilla::MediaFormatReader::DemuxerProxy::Init::<lambda_88>::operator const  dom/media/MediaFormatReader.cpp:788
Flags: needinfo?(padenot)
Assignee: nobody → padenot
Flags: needinfo?(padenot)

The file has been specially crafter to trigger this: It has a WAV format that
not 1 or 2, and has more than 2 channels, but doesn't have a
WAVE_FORMAT_EXTENSIBLE chunk.

The bug is linked to a topcrash signature, which matches the following criterion:

  • Top 10 desktop browser crashes on nightly

For more information, please visit BugBot documentation.

Keywords: topcrash

FWIW, I'm encountering the crash signature [1] on Win 11, while trying to access this article on yahoo news, https://www.yahoo.com/news/lahaina-hawaii-residents-share-harrowing-024930546.html.

[1] https://crash-stats.mozilla.org/report/index/be367906-9c17-4436-9a2c-2fabb0230810

:padenot it would be good to set the regressor on this. Looking at the push log I'm not sure the correct one?
There are several audio video changes in the build that introduced the crash.
Are you close to landing the patch today OR do we know which patch we could backout if needed?

Flags: needinfo?(padenot)

This will land today, we're not backing out those patches.

Flags: needinfo?(padenot)
Keywords: regression
Regressed by: 1823953
Pushed by alwu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ab1bffa09b6e Check the size of the extradata before attempting to get the size in the wav demuxer. r=alwu
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 118 Branch
Flags: qe-verify+

The crash is not reproducing anymore on latest Beta 118.0b4 running Win 11 64. I've checked with the link on which I previously encountered this crash.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: