Re: Firefox crashes all the time on the RaspBerry Pi Zero 2W

From: Andrew Haley <aph-open_at_littlepinkcloud.com>
Date: Sun, 13 Apr 2025 11:20:30 UTC
On 13/04/2025 11:51, Ronald Klop wrote:
> Op 29-03-2025 om 23:31 schreef Mario Marietto:
>> Hello to everyone.
>>
>> I've installed FreeBSD 14.2 on my Raspberry Pi Zero 2W.
>> The problem that I'm having is that Firefox crashes all the time. The errors that it gives are :
>>
> 
> The warnings  Firefox is printing might be misleading. The most concrete thing it says is "Segmentation fault (core dumped)". So you could look up the core dump and use a debugger to check what is going on. As Firefox is a big piece of software this might not be trivial.

Is this a 64-bit build?

Some early revisions of the Cortex-A53 have an erratum (835769) whereby
it is possible for a 64-bit multiply-accumulate instruction in
AArch64 state to generate an incorrect result.  The details are quite
complex and hard to determine statically, since branches in the code
may exist in some circumstances, but all cases end with a memory
(load, store, or prefetch) instruction followed immediately by the
multiply-accumulate operation.

Cortex-A53_MPCore_Software_Developers_Errata_Notice_21.pdf
https://gcc.gnu.org/legacy-ml/gcc-patches/2014-10/msg00906.html

To work on these computers, all software must be compiled with the
-mfix-cortex-a53-835769 compiler option.

We have seen this crash in the wild.

Andrew.