firefox-esr: crash after upgrading libffi to 3.4.2?
After upgrading libffi to version 3.4.2 and rebuilding firefox-esr against libffi.so.8, firefox now crashes instantly at startup:
Crash Annotation GraphicsCriticalError: |[C0][GFX1-]: Receive IPC close with reason=AbnormalShutdown (t=1.73767) [GFX1-]: Receive IPC close with reason=AbnormalShutdown
Exiting due to channel error.
Illegal instruction
Running firefox in GDB:
0x00007ffff67bd48d in ffi_prep_cif () from /usr/lib/libffi.so.8
Thread 43 "DOM Worker" received signal SIGILL, Illegal instruction.
With libffi libffi-dbg-3.4.2-r0 installed:
Thread 30 "DOM Worker" received signal SIGILL, Illegal instruction.
[Switching to LWP 2346]
ffi_prep_cif (cif=0x7fffe48e1690, abi=FFI_UNIX64, nargs=4, rtype=0x7ffff67c60c0 <ffi_type_sint32>, atypes=0x7fffe48dacd0) at ../src/prep_cif.c:224
This is not the firefox-esr from repo, but a custom built version (78.15.0 ESR) used for special purpose operation in some systems. However, I'm hoping that someone maybe have some ideas on what I could try to solve the problem anyways, as this is pretty critical for the operation.
Thanks.
UPDATE
Exactly the same thing happens with firefox-esr from Alpine repository, so the problem is not isolated to the custom built version as I first thought. The architecture is x86_64.