Closed Bug 1691197 Opened 5 years ago Closed 3 years ago

Content process no longer decodes video after being crashed when RDD is enabled

Categories

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

Firefox 85
Unspecified
macOS
defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: theosib, Unassigned, NeedInfo)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.2 Safari/605.1.15

Steps to reproduce:

  1. Login to twitter.
  2. Observe that animated gifs and other media work correctly.
  3. Discover that the web content process us huge or using too much CPU, so kill it from Activity Monitor.
  4. Reload that tab with Twitter.

Actual results:

Animated gifs and other media do not load. It says, "The media could not be played" and provides a Reload button that only causes the image to load for the briefest instant.

Expected results:

Animated gifs and other media should continue to work correctly.

The Bugbug bot thinks this bug should belong to the 'Core::Audio/Video: Playback' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core

If you navigate to about:config and set media.rdd-process.enabled to false, does the issue continue to reproduce (you can set the pref back after testing)?

Flags: needinfo?(theosib)

Hi, Bryce.

I disabled that setting. Clicking "reload" made the animated GIF work correctly again. I then re-enabled the setting and reloaded the tab. The problem returned. Then I disabled it again, and clicked Reload, and the GIF started working once again.

I hope that helps!

Thanks!

Flags: needinfo?(theosib)

Thanks, that's useful to know. I can't repro this on Windows, so assume it's a MacOS specific issue for now.

Blocks: RDD
Severity: -- → S3
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Unspecified → macOS
Priority: -- → P3
Summary: tab crashes, can no longer play animated gifs → Content process no longer decodes video after being crashed when RDD is enabled

I couldn't reproduce this issue on my MacOS 10.14.6. After tab got crashed (by killing it from Activity Monitor), I pressed restore the tab button to reload the page, and the GIF played correctly again.

  1. Reload that tab with Twitter.
    When you said reload, did you mean pressing restore the tab, or reload button? Because I suppose the tab would be crashed because you killed the process in the step3.

When those media were not able to play, did you see any error displayed in the web console? Would you mind to capture the debug log with MOZ_LOG=nsMediaElement:5,MediaDecoder:5 for us?

Thank you.

Flags: needinfo?(theosib)

I have tried both "restore this tab" and the reload button. I've also tried reloading the tab multiple times. Nothing helps. The only thing that fixes the problem is disabling the RDD process. I'll try to get you this debug log.

Flags: needinfo?(theosib)

Hey Timothy, do you still see this issue?

Flags: needinfo?(theosib)
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.