Closed Bug 1299172 Opened 9 years ago Closed 9 years ago

Intermittent dom/media/test/test_bug879717.html | application crashed [@ mozilla::MediaStreamGraph::DispatchToMainThreadAfterStreamStateUpdate(already_AddRefed<nsIRunnable>)]

Categories

(Core :: Audio/Video: MediaStreamGraph, defect, P1)

defect

Tracking

()

RESOLVED FIXED
mozilla51
Tracking Status
firefox49 --- unaffected
firefox-esr45 --- unaffected
firefox50 --- fixed
firefox51 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: pehrsons)

References

Details

(Keywords: intermittent-failure)

Attachments

(3 files)

DispatchToMainThreadAfteStreamStateUpdate() is being called from NotifyRealtimeTrackData in the HTML media element's StreamSizeListener
Rank: 10
Priority: -- → P1
See Also: → 1298238
Assignee: nobody → pehrson
Status: NEW → ASSIGNED
Blocks: 1266646
See Also: → 1298603, 1298312, 1299050, 1298268
Comment on attachment 8786715 [details] Bug 1299172 - Assert on MSG thread in DispatchToMainThreadAfterStreamStateUpdate. https://reviewboard.mozilla.org/r/75640/#review73548 I'll note that the assertion is slightly broader than the requirements of DispatchToMainThreadAfterState...() - but that's probably OK. We could make the name yet-more-unwieldy (AssertOnGraphThreadOrNotRunningOrLocked()) ;-)
Attachment #8786715 - Flags: review?(rjesup) → review+
Comment on attachment 8786716 [details] Bug 1299172 - Fix media element StreamSizeListener calling DispatchToMainThreadAfterStreamStateUpdate off-MSG-thread. https://reviewboard.mozilla.org/r/75642/#review73552
Attachment #8786716 - Flags: review?(rjesup) → review+
Comment on attachment 8786717 [details] Bug 1299172 - HTMLMediaElement::StreamSizeListener spring cleaning. https://reviewboard.mozilla.org/r/75644/#review73554
Attachment #8786717 - Flags: review?(rjesup) → review+
Pushed by pehrsons@gmail.com: https://hg.mozilla.org/integration/autoland/rev/b1607565e9d8 Assert on MSG thread in DispatchToMainThreadAfterStreamStateUpdate. r=jesup https://hg.mozilla.org/integration/autoland/rev/984aa37067f0 Fix media element StreamSizeListener calling DispatchToMainThreadAfterStreamStateUpdate off-MSG-thread. r=jesup https://hg.mozilla.org/integration/autoland/rev/aa5325ca0e18 HTMLMediaElement::StreamSizeListener spring cleaning. r=jesup
Comment on attachment 8786716 [details] Bug 1299172 - Fix media element StreamSizeListener calling DispatchToMainThreadAfterStreamStateUpdate off-MSG-thread. Approval Request Comment [Feature/regressing bug #]: bug 1266646 [User impact if declined]: Crashes, rather rare, when playing a MediaStream in a media element. [Describe test coverage new/current, TreeHerder]: Multiple intermittents in automation getting fixed by this [Risks and why]: Low risk. Not changing any logic, just on which thread it runs (which could cause event reordering but in this particular case I believe it doesn't matter). [String/UUID change made/needed]: None
Attachment #8786716 - Flags: approval-mozilla-aurora?
Hello Wes, Ryan, can one of you please confirm that this intermittent is gone from Nightly? I can then approve the uplift to Aurora. Thanks!
Flags: needinfo?(wkocher)
Flags: needinfo?(ryanvm)
None of the failures associated with this bug have occurred on trunk branches since these patches hit them. LGTM!
Flags: needinfo?(wkocher)
Flags: needinfo?(ryanvm)
Comment on attachment 8786716 [details] Bug 1299172 - Fix media element StreamSizeListener calling DispatchToMainThreadAfterStreamStateUpdate off-MSG-thread. fixes an intermittent, verified on nightly (Thanks Ryan!), Aurora50+
Attachment #8786716 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: