Bug 2025902

Summary: Firefox 94 started to crash with ffmpeg-libs
Product: [Fedora] Fedora Reporter: Jan Kratochvil <jan>
Component: firefoxAssignee: Gecko Maintainer <gecko-bugs-nobody>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 35CC: erack, gecko-bugs-nobody, jhorak, kai-engert-fedora, klaas, pjasicek, rhughes, rstrode, sandmann, stransky
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-12-04 22:26:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jan Kratochvil 2021-11-23 10:50:51 UTC
Description of problem:
Surprisingly Firefox 93 worked fine.
I understand it may be a bug of ffmpeg-libs which comes from rpmfusion.
I haven't yet tried to really debug it.

Version-Release number of selected component (if applicable):
FAIL: firefox-94.0-2.fc35
FAIL: firefox-94.0-1.fc35
PASS: firefox-93.0-2.fc35
FAIL: ffmpeg-libs-4.4.1-1.fc35.x86_64
FAIL: ffmpeg-libs-4.4-7.fc35.x86_64

How reproducible:
Relatively quickly (in a minute) on multimedia pages full of codecs.

Steps to Reproduce:
Open some pages in my case from: https://www.idnes.cz/zpravy/archiv

Actual results:
Gah! your tab just crashed

Expected results:
No crash.

Additional info:
Firefox loads these libraries when ffmpeg-libs is installed. Unaware who initiates that load. There is no script to tell Firefox to load them.
/usr/lib64/libavcodec.so.58.134.100
/usr/lib64/libavutil.so.56.70.100
/usr/lib64/libswresample.so.3.9.100

Comment 1 Martin Stransky 2021-11-23 11:41:25 UTC
Do you see anything at about:crashes? Can you submit the reports and attach crash ID here?
Thanks.

Comment 2 Jan Kratochvil 2021-11-23 11:53:13 UTC
(In reply to Martin Stransky from comment #1)
> Do you see anything at about:crashes? Can you submit the reports and attach
> crash ID here?

58518909-de62-5780-2021-432d385f3606

Comment 3 Martin Stransky 2021-11-23 12:28:48 UTC
There's no such report at https://crash-stats.mozilla.org/ is it submitted? You need to do so explicitly at about:crashes page.

Comment 4 Jan Kratochvil 2021-11-23 12:42:30 UTC
I do not know why. Now I have submitted 30a0745f-5ddb-1472-ef0e-4232c39be657 and it also does not appear there.
After submitting it from about:crashes it disappeares from that page.

Comment 5 Martin Stransky 2021-11-23 13:59:52 UTC
Okay, can you try mozilla binaries directly? (I expect under Wayland)
https://fedoraproject.org/wiki/How_to_debug_Firefox_problems?rd=Bug_info_Firefox#Testing_Mozilla_binaries
Thanks.

Comment 6 Jan Kratochvil 2021-12-04 22:26:24 UTC
It was a bug in intel-media-driver from rpmfusion-nonfree, filed as:
  https://github.com/intel/media-driver/issues/1307

Sorry for the noise here, I was not aware how to debug the multi-process Firefox but in fact it works normally with systemd-coredump.