Closed Bug 1839493 Opened 1 year ago Closed 1 year ago

[wmfme] mfpmp process doesn't get clear properly

Categories

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

defect

Tracking

()

RESOLVED FIXED
117 Branch
Tracking Status
firefox117 --- fixed

People

(Reporter: alwu, Assigned: alwu)

References

(Blocks 1 open bug)

Details

Attachments

(4 files, 1 obsolete file)

When testing media engine DRM playback, mfpmp process is used for SWDRM, which should be clear when the DRM playback is terminated. However, I found we didn't clean them properly, so there would be many mfpmp processes left even if we already close those tabs playing DRM video.

Depends on D182829

We're still waiting for the response from MS, but I'd like to land the current patches first, which solves some leaking cases. Landing them first would also allow us to be able to add EME API test for the PlayReady. I will file another bug to handle mfpmp process leak when playing the EME playback through the media engine.

See Also: → 1842706
Attachment #9342458 - Attachment description: WIP: Bug 1839493 - part2 : add more logs. → Bug 1839493 - part1 : add more logs.
Attachment #9342460 - Attachment description: WIP: Bug 1839493 - part3 : properly clean up all media foundation related classes. → Bug 1839493 - part2 : properly clean up all media foundation related classes.

Depends on D182831

Depends on D183219

Attachment #9342457 - Attachment is obsolete: true

Filed bug 1842706 to track the leak issue for EME playback.

Pushed by alwu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ce5e6d72db16 part1 : add more logs. r=media-playback-reviewers,padenot https://hg.mozilla.org/integration/autoland/rev/f02a82cb3633 part2 : properly clean up all media foundation related classes. r=media-playback-reviewers,padenot https://hg.mozilla.org/integration/autoland/rev/242b0e8eda66 part3 : update threading assertion. r=media-playback-reviewers,padenot https://hg.mozilla.org/integration/autoland/rev/7b1aceb985b3 part4 : print log first before error return. r=media-playback-reviewers,padenot

Backed out for causing bustages on MFMediaEngineParent.cpp

Backout link

Push with failures

Failure log

Flags: needinfo?(alwu)
Flags: needinfo?(alwu)
Pushed by alwu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/dd6afbde650b part1 : add more logs. r=media-playback-reviewers,padenot https://hg.mozilla.org/integration/autoland/rev/4a8ee5d08e34 part2 : properly clean up all media foundation related classes. r=media-playback-reviewers,padenot https://hg.mozilla.org/integration/autoland/rev/60df800dbdb0 part3 : update threading assertion. r=media-playback-reviewers,padenot https://hg.mozilla.org/integration/autoland/rev/3a5e789acb24 part4 : print log first before error return. r=media-playback-reviewers,padenot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: