Closed Bug 1557844 Opened 5 years ago Closed 5 years ago

enabling Vorbis decoding on RDD causes Windows CoInitializeEx failure

Categories

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

defect

Tracking

()

RESOLVED FIXED
mozilla69
Tracking Status
firefox-esr68 69+ fixed
firefox68 --- wontfix
firefox69 --- fixed

People

(Reporter: mjf, Assigned: mjf)

References

Details

Attachments

(1 file)

We need re-add ProcessRuntime so mscom is properly init'd. This was removed during one of the early reviews.

Assignee: nobody → mfroman
Priority: -- → P2

This fixes a CoInitializeEx failure when enabling Vorbis
decoding on RDD.

Just a note, without this fix, CoInitializeEx in RemoteDecoderManagerParent.cpp returns E_OUTOFMEMORY. With this fix, we get a different error (also a CoInitializeEx failure, but no win ApartmentRegion.h) which is reported in Bug 1553249.

Pushed by mfroman@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e1d251e5e26f
add back ProcessRuntime in RDD for mscom init. r=jya
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69

Comment on attachment 9070715 [details]
Bug 1557844 - add back ProcessRuntime in RDD for mscom init. r?jya

ESR Uplift Approval Request

  • If this is not a sec:{high,crit} bug, please state case for ESR consideration: Tor is built on ESR; and this patch is necessary for the RDD process to work in the MinGW build (which Tor uses)
  • User impact if declined: Tor will need to carry a separate patch
  • Fix Landed on Version: 69
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): I believe this patch is not risky, even though it applies to all platforms, because it is a bugfix needed for normal RDD process operation for Vorbis, just not AV1 (on clang-cl builds). But I'm going to confirm this.
  • String or UUID changes made by this patch:
Attachment #9070715 - Flags: approval-mozilla-esr68?

Michael, do you have any concerns about this patch landing in ESR 68?

Flags: needinfo?(mfroman)

This should be low risk.

Flags: needinfo?(mfroman)

Comment on attachment 9070715 [details]
Bug 1557844 - add back ProcessRuntime in RDD for mscom init. r?jya

Fixes an RDD issue affecting Tor browser. No issues with the patch on Beta so far. Approved for 68.1esr.

Attachment #9070715 - Flags: approval-mozilla-esr68? → approval-mozilla-esr68+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: