Closed Bug 2046555 Opened 2 months ago Closed 2 months ago

Crash when joining Meet

Categories

(Core :: WebRTC, defect)

Desktop
macOS
defect

Tracking

()

RESOLVED FIXED
154 Branch
Tracking Status
firefox153 --- fixed
firefox154 --- fixed

People

(Reporter: jimm, Assigned: karlt)

References

Details

Crash Data

Attachments

(4 files)

https://crash-stats.mozilla.org/report/index/61cd303f-5465-41e0-8f86-e0b990260610
MozPromise::ThenValue created from 'SetSinkId' destroyed without being either disconnected, resolved, or rejected (dispatchRv: not dispatched)

The MDSM task queue is no longer available after audio stream initialization on the background task queue.
This is a diagnostic assert that could fail after unmuting a media element or after changing the audio output device.
In release builds, I expect this would be observable in that a setSinkId() Promise does not resolve.

Assignee: nobody → karlt
Severity: -- → S3
Status: NEW → ASSIGNED

This ensures that any pending tasks have the MediaDecoderStateMachine
TaskQueue available to settle dependent promises.

The async init task Then() callback will determine that any audio sink is not
needed.

This is simpler than keeping track of all unsettled Promises and disconnecting.
Stream init is already often synchronous, where wanted.

Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 154 Branch

This ensures that any pending tasks have the MediaDecoderStateMachine
TaskQueue available to settle dependent promises.

The async init task Then() callback will determine that any audio sink is not
needed.

This is simpler than keeping track of all unsettled Promises and disconnecting.
Stream init is already often synchronous, where wanted.

Original Revision: https://phabricator.services.mozilla.com/D306387

Attachment #9598130 - Flags: approval-mozilla-beta?

firefox-beta Uplift Approval Request

  • User impact if declined/Reason for urgency: This will at least address some crashes where MOZ_DIAGNOSTIC_ASSERT_ENABLED is set on early beta.

For later betas/release, this will affect whether some content Promises are resolved. We know that the path is being hit on Google Meet, but we don't know whether or not the effects on the web app interfere with usability.

  • Code covered by automated testing?: yes
  • Fix verified in Nightly?: no
  • Needs manual QE testing?: no
  • Steps to reproduce for manual QE testing:
  • Risk associated with taking this patch: low
  • Explanation of risk level: Simple patch.
  • String changes made/needed?: None
  • Is Android affected?: no
Attachment #9598131 - Flags: approval-mozilla-beta?
Attachment #9598131 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Attachment #9598130 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: