firefox-110.0.1-r1 crashes on startup on aarch64
pmOS Edge, PinePhone (aarch64), phosh.
After updating on edge from firefox-110.0.1-r0 to -r1, firefox crashes shortly after starting up. The window briefly appears and begins to load about:sessionrestore
tab (because of previous crashes), and then exits.
gdb
says:
(gdb) bt
#0 0x0000ffffa375f6f0 in __stack_chk_fail () from /lib/ld-musl-aarch64.so.1
#1 0x0000ffff9c7fe0e4 in ?? () from /usr/lib/firefox/libxul.so
<remaining garbage bt snipped>
The only change from -r0 to -r1 should've been 89145c1b which changed the dependency to be on ffmpeg5 libs, but this should not be relevant because FF only uses ffmpeg5 libs anyway. See discussion in !44773 (closed) . So it might be coincidence, or one of the other packages updated in the same run might be the cause.
While attempting to strace it with strace -fe file -- /usr/lib/firefox/firefox
, I managed to get one attempt to start successfully and work, albeit very slowly because of the strace. Specifically I was able to load youtube and play a video, and according to /proc/$pid/maps
FF had successfully loaded the libav.5* libs. So it certainly doesn't seem to be because of the ffmpeg change and might be some race or other heisenbug. I've tried dozens of times and not managed to have that happen again.
Another use in the #postmarketos
IRC channel reported this issue originally. They also said they were able to resolve it by downgrading to -r0. I did not try this since I don't have the -r0.apk.