Closed Bug 1543980 Opened 5 years ago Closed 10 months ago

Permorange RDD shutdown hang on Win64-Debug

Categories

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

65 Branch
x86_64
Windows 10
defect

Tracking

()

RESOLVED FIXED
116 Branch
Tracking Status
firefox116 --- fixed

People

(Reporter: pehrsons, Assigned: karlt)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Enabling test_streams_element_capture.html to run on all of gPlayTests over in bug 1536766 made mochitest-media for Win10 x64 Debug permorange on a shutdown hang, [1].

Logs are not exactly explicit but what I can read out is:

  1. The shutdown hang monitor takes down the parent process: MOZ_CRASH(Shutdown too long, probably frozen, causing a crash.)
  2. Main thread is hung in mozilla::ipc::BrowserProcessSubThread::~BrowserProcessSubThread()
  3. There's missing leakcheck output from RDD: TEST-UNEXPECTED-FAIL | leakcheck | rdd missing output line for total leaks!

Without too much knowledge this suggests to me that we're hanging waiting for RDD to shut down. It would be interesting to know whether RDD is still doing something, and if so what that is, or if it's gone.

[1] https://treeherder.mozilla.org/#/jobs?repo=try&revision=fe5e5371e66673c637251ca75df66bb8cea4aef6&selectedJob=239895018

This only happens on debug, not opt?

Blocks: RDD
Priority: -- → P2

Yes. See the treeherder link in comment 0.

This is not hit when AV1 is disabled in test_streams_element_capture.html.
https://treeherder.mozilla.org/#/jobs?repo=try&revision=7d37d9c275bed726095a6809ce104a362e722db8

You could disable RDD, by switching the pref media.rdd-process.enabled, to by sure that the problem lies there.

(In reply to Alex Chronopoulos [:achronop] from comment #4)

You could disable RDD, by switching the pref media.rdd-process.enabled, to by sure that the problem lies there.

https://treeherder.mozilla.org/#/jobs?repo=try&revision=736061829991ba1067d6b7ccbd404b5cac5ce3a3

Note that bug 1536766 is landing with RDD disabled due to this bug. To repro this again, re-enable RDD by removing the rdd pref we're setting in dom/media/test/test_streams_element_capture.html.

Severity: normal → S3

Seems to no longer be an issue without a special media.rdd-process.enabled value and with the test re-enabled.
https://treeherder.mozilla.org/jobs?repo=try&revision=a9297be33999340ab9c65af09187ab00d8d22164

The shutdown hang no longer occurs and media.rdd-process.enabled=false is
incompatible with media.rdd-process.enabled=false, which is the default on
Nightly since
https://hg.mozilla.org/mozilla-central/rev/e608dfe11fc705c543ec4050ee01403eb5f66a52?revcount=600#l18.18

Assignee: nobody → karlt
Status: NEW → ASSIGNED
Blocks: 1840498
Pushed by ktomlinson@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/db5ed361f71c
revert special media.rdd-process.enabled pref value in test_streams_element_capture.html r=media-playback-reviewers,alwu
Status: ASSIGNED → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: