Closed Bug 1281193 Opened 8 years ago Closed 8 years ago

Intermittent browser_devices_get_user_media.js | application crashed [@ mozilla::MediaStreamGraphImpl::AudioTrackPresent(bool &)]

Categories

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

defect

Tracking

()

RESOLVED FIXED
mozilla50
Tracking Status
firefox49 --- fixed
firefox50 --- fixed

People

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

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

Have we landed anything weird that would crash on `data.mData` ?
Flags: needinfo?(pehrson)
Status: UNCONFIRMED → NEW
Ever confirmed: true
No, and we're never adding a track with a null MediaSegment.

Are we holding onto the SourceMediaStream mutex in AudioTrackPresent though? It could be racing against SourceMediaStream::AddTrackInternal().
Flags: needinfo?(pehrson) → needinfo?(padenot)
Rank: 15
Priority: -- → P1
Assignee: nobody → padenot
Rank: 15
Flags: needinfo?(padenot)
Priority: P1 → --
Rank: 15
Priority: -- → P1
Comment on attachment 8764302 [details]
Bug 1281193 - Lock when touching tracks in SourceAudioStreams.

https://reviewboard.mozilla.org/r/60270/#review57096

::: dom/media/MediaStreamGraph.h:1098
(Diff revision 1)
>    void RegisterForAudioMixing();
>  
> +  /**
> +   * Returns true if this SourceMediaStream contains at least one audio track
> +   * that is in pending state.
> +   * This is thread safe, and takes the stream monitor.

s/stream monitor/SourceMediaStream mutex/
Attachment #8764302 - Flags: review?(pehrson) → review+
Pushed by paul@paul.cx:
https://hg.mozilla.org/integration/mozilla-inbound/rev/68ed15400143
Lock when touching tracks in SourceAudioStreams. r=pehrsons
https://hg.mozilla.org/mozilla-central/rev/68ed15400143
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
Paul -- Since this is a crash, does it make sense to ask for uplift to Fx 49 (Aurora)?
Flags: needinfo?(padenot)
Comment on attachment 8764302 [details]
Bug 1281193 - Lock when touching tracks in SourceAudioStreams.

Approval Request Comment
[Feature/regressing bug #]: unclear, probably duplex initial landing in 48
[User impact if declined]: crash
[Describe test coverage new/current, TreeHerder]: there was an intermittent, it's now fixed
[Risks and why]: very small patch for a very obvious issue 
[String/UUID change made/needed]: none
Flags: needinfo?(padenot)
Attachment #8764302 - Flags: approval-mozilla-aurora?
Comment on attachment 8764302 [details]
Bug 1281193 - Lock when touching tracks in SourceAudioStreams.

This patch fixes an intermittent error. Take it in aurora.
Attachment #8764302 - 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: