FS#68034 - [ffmpeg] 4.3.1 leads to segfaults

Attached to Project: Arch Linux
Opened by Patrick Auernig (valeth) - Monday, 28 September 2020, 15:50 GMT
Last edited by Maxime Gauduin (Alucryd) - Tuesday, 17 November 2020, 07:39 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Maxime Gauduin (Alucryd)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Newer versions of ffmpeg cause crashes in applications like OBS Studio
This seems to be an Arch exclusive issue
Downgrading to an earlier version before 4.3.* fixes the issue temporarily.
This does block other package from upgrading (e.g.: Firefox), which could be a security issue.


Additional info:
* ffmpeg 4.3.1-2
* Upstream bug (closed): https://github.com/obsproject/obs-studio/issues/3510#issuecomment-700095219

Steps to reproduce:
- Update ffmpeg
- Observe crash
This task depends upon

Closed by  Maxime Gauduin (Alucryd)
Tuesday, 17 November 2020, 07:39 GMT
Reason for closing:  Fixed
Additional comments about closing:  Should be fixed in OBS 26
Comment by loqs (loqs) - Tuesday, 29 September 2020, 04:02 GMT
@valeth could you please provide the backtrace from the coredump.
What other packages have coredump from the issue? Is the backtrace the same?
See [1] for details on how to obtain the backtrace.

[1] https://wiki.archlinux.org/index.php/Core_dump#Examining_a_core_dump
Comment by Patrick Auernig (valeth) - Tuesday, 29 September 2020, 12:25 GMT
So far I've gotten two different crashes from OBS

Looks like there is some issue with libav allocating or freeing memory
Comment by Patrick Auernig (valeth) - Wednesday, 30 September 2020, 16:21 GMT
Investigated the issue further and it turns out that this might be an upstream ffmpeg issue after all.
Managed to reproduce this on an Ubuntu based system as well.

See https://github.com/obsproject/obs-studio/issues/3510#issuecomment-701496262

Loading...