Open Bug 1701560 Opened 2 years ago Updated 2 years ago

Crash in [@ mozilla::MediaRawData::~MediaRawData]


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





(Reporter: gsvelto, Unassigned)


(Keywords: crash)

Crash Data

Crash report:

Reason: SIGSEGV /0x00000080

Top 10 frames of crashing thread:

0 mozilla::MediaRawData::~MediaRawData dom/media/MediaData.cpp:500
1 mozilla::MediaRawData::~MediaRawData dom/media/MediaData.cpp:500
2 mozilla::TrackBuffersManager::RemoveFrames dom/media/mediasource/TrackBuffersManager.cpp:2360
3 mozilla::TrackBuffersManager::CodedFrameRemoval dom/media/mediasource/TrackBuffersManager.cpp:655
4 mozilla::TrackBuffersManager::ProcessTasks dom/media/mediasource/TrackBuffersManager.cpp:230
5 mozilla::TrackBuffersManager::QueueTask dom/media/mediasource/TrackBuffersManager.cpp:170
6 mozilla::TrackBuffersManager::CodedFrameRemovalWithPromise dom/media/mediasource/TrackBuffersManager.cpp:593
7 mozilla::detail::ProxyRunnable<mozilla::MozPromise<bool, nsresult, true>, RefPtr<mozilla::MozPromise<bool, nsresult, true> >  xpcom/threads/MozPromise.h:1534
8 mozilla::TaskQueue::Runner::Run xpcom/threads/TaskQueue.cpp:158
9 nsThreadPool::Run xpcom/threads/nsThreadPool.cpp:303

This is a mish-mash crash signature with at least two different stacks under it. The above is one and this is the other most common one:

0 xul.dll mozilla::MediaRawData::~MediaRawData dom/media/MediaData.cpp:506
1 xul.dll mozilla::MediaRawData::~MediaRawData dom/media/MediaData.cpp:506
2 xul.dll nsTArray_Impl<RefPtr<mozilla::MediaRawData>, nsTArrayInfallibleAllocator>::Clear xpcom/ds/nsTArray.h:1911
3 xul.dll mozilla::TrackBuffersManager::TrackData::Reset dom/media/mediasource/TrackBuffersManager.h:385
4 xul.dll mozilla::TrackBuffersManager::ProcessTasks dom/media/mediasource/TrackBuffersManager.cpp:249
5 xul.dll mozilla::TrackBuffersManager::QueueTask dom/media/mediasource/TrackBuffersManager.cpp:170
6 xul.dll mozilla::detail::RunnableMethodImpl<RefPtr<mozilla::AbstractCanonical<CopyableTArray<RefPtr<mozilla::ProcessedMediaTrack> > > >, void  xpcom/threads/nsThreadUtils.h:1201
7 xul.dll mozilla::TaskQueue::Runner::Run xpcom/threads/TaskQueue.cpp:158
8 xul.dll nsThreadPool::Run xpcom/threads/nsThreadPool.cpp:303
9 xul.dll nsThread::ProcessNextEvent xpcom/threads/nsThread.cpp:1148

The volume isn't very high but given the stacks are fairly consistent it might point to a real problem.

NI myself to take a look on this problem later.

Flags: needinfo?(alwu)
Severity: -- → S2
Flags: needinfo?(alwu)
Priority: -- → P3
Flags: needinfo?(alwu)

I haven't got any finding by looking those crash reports, but I also find other two interesting crash stacks which are different than others. It's still not clear to me that why we would crash on the dtor of the media data. In addition, as the crash rate is not too high, I will lower its severity to S3.

Audio Trimmer


Severity: S2 → S3
Flags: needinfo?(alwu)

Yeah the stacks are a bit of a mess, I can't exclude that they might just be users with broken hardware.

You need to log in before you can comment on or make changes to this bug.