Firefox randomly crashes the system when playing Youtube shorts
Categories
(Core :: Audio/Video: Playback, defect)
Tracking
()
People
(Reporter: juanjosealca, Unassigned, NeedInfo)
Details
Attachments
(1 file)
495.66 KB,
text/plain
|
Details |
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/112.0
Steps to reproduce:
Open Firefox (snap). Start playing Youtube shorts.
My system:
Ubuntu 22.04.2. Linux 5.19.0-38-generic
Gnome: 42.5
CPU Ryzen 7 7700X.
RAM 32 GB 6000 30L
GPU: NVIDIA RTX 2060 Super (Driver 525.105.17)
Actual results:
Firefox freezes the system (it's not possible to get a TTY, restart it's the only option. The bug in Firefox freezes gnome-shell too) after playing Youtube shorts / videos.
In the log Firefox produces the following warnings:
Apr 16 13:36:48 PC1 firefox_firefox.desktop[15585]: [Child 15585, MediaDecoderStateMachine #1] WARNING: Decoder=7f14e6c84d00 state=DECODING_METADATA Decode metadata failed, shutting down decoder: file /build/firefox/parts/firefox/build/dom/media/MediaDecoderStateMachine.cpp:372
Apr 16 13:36:48 PC1 firefox_firefox.desktop[15585]: [Child 15585, MediaDecoderStateMachine #1] WARNING: Decoder=7f14e6c84d00 Decode error: NS_ERROR_DOM_MEDIA_METADATA_ERR (0x806e0006) - static MP4Metadata::ResultAndByteBuffer mozilla::MP4Metadata::Metadata(mozilla::ByteStream *): Cannot parse metadata: file /build/firefox/parts/firefox/build/dom/media/MediaDecoderStateMachineB>
Apr 16 13:36:48 PC1 firefox_firefox.desktop[15585]: [Child 15585, MediaDecoderStateMachine #1] WARNING: Decoder=7f14f0bcbd00 state=DECODING_METADATA Decode metadata failed, shutting down decoder: file /build/firefox/parts/firefox/build/dom/media/MediaDecoderStateMachine.cpp:372
Apr 16 13:36:48 PC1 firefox_firefox.desktop[15585]: [Child 15585, MediaDecoderStateMachine #1] WARNING: Decoder=7f14f0bcbd00 Decode error: NS_ERROR_DOM_MEDIA_METADATA_ERR (0x806e0006) - static MP4Metadata::ResultAndByteBuffer mozilla::MP4Metadata::Metadata(mozilla::ByteStream *): Cannot parse metadata: file /build/firefox/parts/firefox/build/dom/media/MediaDecoderStateMachineB>
Apr 16 13:36:48 PC1 firefox_firefox.desktop[15585]: [Child 15585, MediaDecoderStateMachine #1] WARNING: Decoder=7f14f0bcb400 state=DECODING_METADATA Decode metadata failed, shutting down decoder: file /build/firefox/parts/firefox/build/dom/media/MediaDecoderStateMachine.cpp:372
Apr 16 13:36:48 PC1 firefox_firefox.desktop[15585]: [Child 15585, MediaDecoderStateMachine #1] WARNING: Decoder=7f14f0bcb400 Decode error: NS_ERROR_DOM_MEDIA_METADATA_ERR (0x806e0006) - static MP4Metadata::ResultAndByteBuffer mozilla::MP4Metadata::Metadata(mozilla::ByteStream *): Cannot parse metadata: file /build/firefox/parts/firefox/build/dom/media/MediaDecoderStateMachineB>
Apr 16 13:36:48 PC1 firefox_firefox.desktop[15585]: [Child 15585, MediaDecoderStateMachine #1] WARNING: Decoder=7f14f2131100 state=DECODING_METADATA Decode metadata failed, shutting down decoder: file /build/firefox/parts/firefox/build/dom/media/MediaDecoderStateMachine.cpp:372
Apr 16 13:36:48 PC1 firefox_firefox.desktop[15585]: [Child 15585, MediaDecoderStateMachine #1] WARNING: Decoder=7f14f2131100 Decode error: NS_ERROR_DOM_MEDIA_METADATA_ERR (0x806e0006) - static MP4Metadata::ResultAndByteBuffer mozilla::MP4Metadata::Metadata(mozilla::ByteStream *): Cannot parse metadata: file /build/firefox/parts/firefox/build/dom/media/MediaDecoderStateMachineB>
I've attached the journalctl log of the session before the crash
Expected results:
Firefox should normally decode the videos, without freezing / crashing the system.
Comment 1•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Audio/Video: Playback' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•2 years ago
|
||
From the log, tt seems Fx failed to parse the mp4 metadata, but this shouldn't cause a crash.
Hey juanjosealca, thanks for the report! Unfortunately, I cannot reproduce this on my end. Can you provide the link of the youtube short that cause a crash and the crash report? The crash report can be found in about:crashes
page. Can you submit the crash report and paste the link to here?
![]() |
||
Updated•2 years ago
|
Description
•