[FFmpeg-devel] Armada 370 problem causes ffmpeg segmentation fault

Lauri Kasanen cand at gmx.com
Wed Jan 9 10:38:45 EET 2019

On Tue, 08 Jan 2019 21:32:30 +0000
Simon Nash <simon at cjnash.com> wrote:

> I have encountered a problem with ffmpeg (a segmentation fault) that
> occurs only when running ffmpeg on the Marvell Armada 370 processor.
> When the 32-bit floating-point multiply instruction
>     0x0018a8f2 <activate+1690>:	vmla.f32	s12, s15, s15
> at activate+1690 is executed, there is a segmentation fault.

You don't want to go whack-a-mole on this, since there could be 1500
other places in just ffmpeg that could hit this. You want to fix this
in your compiler, it already has similar errata workarounds for almost
every processor. Then every such case will work automatically.

1) Find the errata from the processor manufacturer
2) Report bug with that to gcc/clang/whatever compiler you use

If there is no known errata for this, and you managed to find a new
one, contact the processor manufacturer.

- Lauri

More information about the ffmpeg-devel mailing list