[SOLVED] Re: HTML5 videos crashes Firefox
robert.burmeister at utoledo.edu
Sat Dec 10 11:53:38 UTC 2016
Andrea Venturoli wrote
> On 09/23/16 11:35, Robert_Burmeister wrote:
>> I was able to resolve HTML5 videos crashes in Firefox 49 on FreeBSD 10.3
>> by changing the FFMPEG compile option to "SSE=off" and recompiling
> I'm fine now, but still curious about details: if you have any link, could
> you share them?
Current versions of LLVM-FFMPEG-FireFox now handle SIMD correctly on i386.
These were hiccups from transitioning from a 4-byte aligned stack to a
16-byte aligned stack.
As most people are using AMD64 which assumes 16-byte alignment
these issues were only showing up on 4-byte aligned i386 systems when
which required 16-byte alignment.
Newer compiler versions and processor targets handled alignment mismatches
which is why the crashes were primarily occuring on processors without newer
and where legacy code from different compiler versions got linked.
(For port builds, "portupgrade -fa" with the updated compiler may shake some
of that out.)
Relevant links on the issue:
About the x64 stack Alignment
Bug 2823 - llvm-gcc does not respect ABI alignment for structs-with-vectors
Bug 8969 - linux x86-32 stack not kept 16-byte aligned
Bug 12250 - unaligned SSE memory access
Bug 20602 - Clang unconditionally defines macros for SSE and SSE2
Bug 21414 - clang shouldn't use aligned SSE instructions on 32bit x86 linux
Bug 40838 - gcc shouldn't assume that the stack is aligned
View this message in context: http://freebsd.1045724.x6.nabble.com/HTML5-videos-crashes-Firefox-tp6087674p6150807.html
Sent from the freebsd-ports mailing list archive at Nabble.com.
More information about the freebsd-ports