Closed Bug 1272562 Opened 9 years ago Closed 9 years ago

MOZ_DIAGNOSTIC_ASSERT failure in mozilla::MediaFormatReader::Seek

Categories

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

x86
All
defect
Not set
critical

Tracking

()

VERIFIED FIXED
mozilla49
Tracking Status
firefox49 --- fixed

People

(Reporter: n.nethercote, Assigned: u480271)

References

Details

(Keywords: crash, regression)

Crash Data

Attachments

(1 file)

This bug was filed from the Socorro interface and is report bp-275bf379-f20e-4ee4-9e33-5328e2160512. ============================================================= This started showing up in Nightly 20160512030253. This assertion is failing: MOZ_DIAGNOSTIC_ASSERT(mSeekPromise.IsEmpty()); On Windows it's #5 topcrash for that build, on Mac it's #2, on Linux it's #1. YouTube is present in several of the crash reports. jya, can you please take a look?
Flags: needinfo?(jyavenard)
Assignee: nobody → jyavenard
Flags: needinfo?(jyavenard)
Assignee: jyavenard → dglastonbury
Blocks: 1224973
Keywords: regression
Really need to reset any outstanding mAudio promise when resetting MFR, even in the case of just seeking the video. Review commit: https://reviewboard.mozilla.org/r/52411/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/52411/
Attachment #8752067 - Flags: review?(jyavenard)
Comment on attachment 8752067 [details] MozReview Request: Bug 1272562 - Don't check audio asserts when seeking video. r?jya Review request updated; see interdiff: https://reviewboard.mozilla.org/r/52411/diff/1-2/
Attachment #8752067 - Attachment description: MozReview Request: Bug 1272562 - ResetDecode() - Cancel outstanding audio promise in all cases. r?jya → MozReview Request: Bug 1272562 - Don't check audio asserts when seeking video. r?jya
Comment on attachment 8752067 [details] MozReview Request: Bug 1272562 - Don't check audio asserts when seeking video. r?jya https://reviewboard.mozilla.org/r/52411/#review49329
Attachment #8752067 - Flags: review?(jyavenard) → review+
(In reply to Dan Glastonbury :kamidphish from comment #1) > Created attachment 8752067 [details] > MozReview Request: Bug 1272562 - Don't check audio asserts when seeking > video. r?jya > > Really need to reset any outstanding mAudio promise when resetting MFR, > even in the case of just seeking the video. Why is that? This sounds wrong to me. > > Review commit: https://reviewboard.mozilla.org/r/52411/diff/#index_header > See other reviews: https://reviewboard.mozilla.org/r/52411/
Attachment #8752067 - Flags: review+
Comment on attachment 8752067 [details] MozReview Request: Bug 1272562 - Don't check audio asserts when seeking video. r?jya https://reviewboard.mozilla.org/r/52411/#review49371 ::: dom/media/MediaFormatReader.cpp (Diff revisions 1 - 2) > mVideo.RejectPromise(CANCELED, __func__); > } > } > > - if (HasAudio()) { > + if (HasAudio() && aQueues == AUDIO_VIDEO) { > - if (aQueues == AUDIO_VIDEO) { Oh i see.. I should have spotted this in the other bug. sorry for that.
Comment on attachment 8752067 [details] MozReview Request: Bug 1272562 - Don't check audio asserts when seeking video. r?jya https://reviewboard.mozilla.org/r/52411/#review49403 i thought i had r+ this
Attachment #8752067 - Flags: review+
User Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:49.0) Gecko/20100101 Firefox/49.0 Build ID 20160512030253 Nightly 49 crashed for me also with this signature when watching an amazon video using widevine plugin. Crash ID: https://crash-stats.mozilla.com/report/index/1c643ef2-c26a-410f-a764-3870c2160513
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
Thank you for the fast fix.
We had 21 of these crashes on Windows in Nightly 20160513030539 and zero in Nightly 20160514030209.
Status: RESOLVED → VERIFIED
Crash Signature: [@ mozilla::MediaFormatReader::Seek] → [@ mozilla::MediaFormatReader::Seek] [@ mozilla::MediaFormatReader::RequestAudioData]
I've moved the [@ mozilla::MediaFormatReader::RequestAudioData] crashes into bug 1273018.
Crash Signature: [@ mozilla::MediaFormatReader::Seek] [@ mozilla::MediaFormatReader::RequestAudioData] → [@ mozilla::MediaFormatReader::Seek]
Depends on: 1276495
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: