Closed Bug 1861426 Opened 2 years ago Closed 2 years ago

Youtube PiP modal closes frequently - NS_ERROR_DOM_MEDIA_FATAL_ERR

Categories

(Toolkit :: Picture-in-Picture, defect)

Firefox 121
defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: wtds.trabalho, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0

Steps to reproduce:

Sometimes, when I play youtube videos and open PiP Modal, the modal frequently closes. I've observed that log bellow in the terminal when the modal closes, because I have the habit of open the Nightly from Linux terminal.

The log who appears when Youtube PiP modal closes:

"""ts
[Child 30997, MediaDecoderStateMachine #3] WARNING: Decoder=7f1fa4247e00 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005): file /builds/worker/checkouts/gecko/dom/media/MediaDecoderStateMachineBase.cpp:166
[Child 30997, MediaDecoderStateMachine #3] WARNING: Decoder=7f1fa4247e00 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005): file /builds/worker/checkouts/gecko/dom/media/MediaDecoderStateMachineBase.cpp:166
"""

  • Open youtube video. Like: https://www.youtube.com/watch?v=psunHk5kWvQ (Live)
  • Click in the PiP modal button
  • The PiP modal opened
  • Sometimes the modal closes and need to be opened again
  • The error appears in the linux terminal

Actual results:

Youtube modal closes sometimes.

That warning appears when PiP modal closes:

"""js
[Child 30997, MediaDecoderStateMachine #3] WARNING: Decoder=7f1fa4247e00 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005): file /builds/worker/checkouts/gecko/dom/media/MediaDecoderStateMachineBase.cpp:166
[Child 30997, MediaDecoderStateMachine #3] WARNING: Decoder=7f1fa4247e00 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005): file /builds/worker/checkouts/gecko/dom/media/MediaDecoderStateMachineBase.cpp:166
"""

Expected results:

  • Don't close the modal, keep the PiP video modal opened
  • If the modal closes for some reason, automatically reopen the PiP
  • Reopen the PiP modal if closes after error or warning

Thanks!!!

The Bugbug bot thinks this bug should belong to the 'Toolkit::Picture-in-Picture' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Picture-in-Picture
Product: Firefox → Toolkit

Hi there, thanks for the taking the time to report this bug.

@Wellington Torrejais de Silva - unfortunately, from the log alone, I can't tell what could've caused the PiP modal to close unexpectedly. It would help us greatly if you could answer the following questions:

  • Does it occur only for that one video that you linked? Or do you see the same behaviour for other videos too?
  • If you can reproduce with another video easily, would you be able to run the profiler when it happens and then send us a link to the profile?
  • Does it happen again after making a new profile? (See how to make a new one here)

Thanks!

--

Also @alwu - do you happen to know what usually triggers the error logged above?

Flags: needinfo?(wtds.trabalho)
Flags: needinfo?(alwu)

That indicates a decode error, but it could be caused by many different reasons. It would be great if you can help us capture a profiled result as well (if you can reproduce this issue steadily)

Flags: needinfo?(alwu)

Closing due to lack of response from the reporter; if you can provide the requested information, then we can have another look, but right now as kpatenio said there isn't enough here to work with.

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Resolution: --- → INCOMPLETE

Hi,

Sorry for the delay.

The problem occurs when the system resources are on high usage.
Appears to be a browser managing resources and reallocating that resources on the tab who runs the video, closing the PiP modal in the proccess.

Thanks!

Flags: needinfo?(wtds.trabalho)
Flags: needinfo?(molly)
Flags: needinfo?(kpatenio)
Flags: needinfo?(molly)
Flags: needinfo?(kpatenio)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: