Crash in mozJSComponentLoader::Import (armhf)
Categories
(Core :: XPConnect, defect, P5)
Tracking
()
People
(Reporter: marcia, Unassigned)
References
Details
(Keywords: crash, regression)
Crash Data
Comment 1•8 years ago
|
||
| Comment hidden (obsolete) |
| Reporter | ||
Comment 4•8 years ago
|
||
Updated•8 years ago
|
Comment 6•8 years ago
|
||
Comment 7•8 years ago
|
||
Comment 9•8 years ago
|
||
Comment 10•8 years ago
|
||
Comment 11•8 years ago
|
||
Comment 12•8 years ago
|
||
Comment 13•8 years ago
|
||
Comment 15•8 years ago
|
||
Comment 16•8 years ago
|
||
Updated•8 years ago
|
Comment 17•8 years ago
|
||
Comment 18•8 years ago
|
||
Comment 19•8 years ago
|
||
Comment 20•8 years ago
|
||
Comment 21•8 years ago
|
||
Comment 22•8 years ago
|
||
Comment 23•8 years ago
|
||
Comment 24•8 years ago
|
||
Comment 25•8 years ago
|
||
Comment 26•7 years ago
|
||
Comment 27•7 years ago
|
||
Comment 28•7 years ago
|
||
Comment 29•7 years ago
|
||
Comment 30•7 years ago
|
||
Comment 31•7 years ago
|
||
Comment 32•7 years ago
|
||
Comment 33•7 years ago
|
||
@Ray thanks for looking into that and making a working ESR build.
--disable-elf-hack is enabled by default for Ubuntu's mozconfig, so I have actually never tested with the ELF hack enabled.
The most common startup crash (although not the only one) that began prior to Firefox 57 is specifically in Skia used by Stylo. Unfortunately if you build with --disable-stylo you're avoiding the problem at quite an expense. You can read about that in detail in bug 1711337 which I linked above. As for troubleshooting your stylo build problem, you may need to look earlier in your log to find the specific compiler error.
Assuming you're targeting Debian Stretch, are you using gcc 6.3? That's good news if you made something functional using a compiler older than gcc 7, even if it's without Skia/Stylo. Lately I've resorted purely to clang for the most reliable builds. Here are my steps last tested on Firefox 64.0: https://github.com/jdonald/firefox-armhf
@gsvelto any word on symbol uploads from the distro maintainers or other ways to unblock armhf debugging?
Why did the title of this ticket change to say "(Arm64)"? It was originally just "Crash in libxul.so@0x85f8b0 | firefox@0xaf4f" and all of the conversation is around armhf 32-bit. The arm64 build is not known to have the startup crash issues described here.
Comment 34•7 years ago
|
||
(In reply to jdonald.x from comment #33)
Why did the title of this ticket change to say "(Arm64)"? It was originally just "Crash in libxul.so@0x85f8b0 | firefox@0xaf4f" and all of the conversation is around armhf 32-bit. The arm64 build is not known to have the startup crash issues described here.
Is the Raspian distribution of ESR 32 bit or 64 bit?
Is this a problem that can be solved by Raspian distributing a 64 bit build by default? That would exclude first generation devices, but most Pi are now Bs and B+, and the Zeros are not intended to be used as desktops?
Comment 35•7 years ago
|
||
(In reply to Emma Humphries, Bugmaster ☕️🎸🧞♀️✨ (she/her) [:emceeaich] (UTC-8) needinfo? me from comment #34)
Is the Raspian distribution of ESR 32 bit or 64 bit?
Raspbian sources do not provide firefox-esr, possibly because it's just broken. Debian provides both armhf and arm64 firefox-esr, with the armhf stretch one crashing as described.
64 bit build by default? That would exclude first generation devices
This would exclude second- and 1.5-generation devices (Pi 2B v1.1, B+, A+) as well, while the Pi 3B, 3B+, 3A+ and 2B v1.2 have 64-bit CPUs.
Comment 36•7 years ago
|
||
Do you have crash ids for stretch armhf firefox-esr crashes? I can upload symbols for those are reprocess the crashes to get better information.
Comment 37•7 years ago
|
||
Just submitted one: https://crash-stats.mozilla.com/report/index/31de8be9-7c42-4b38-9082-5b7f00190108
Steps to repro on Raspbian:
sudo apt install dirmngr
echo deb http://security.debian.org/ stretch/updates main contrib non-free | sudo tee /etc/apt/sources.list.d/debian.list
sudo apt-key adv --recv-key --keyserver keyserver.ubuntu.com 8B48AD6246925553
sudo apt update
sudo apt install -y firefox-esr
firefox-esr # crash
Comment 38•7 years ago
|
||
I uploaded the symbols for current debian stretch firefox-esr, as well as the symbols for the original crash in this bug (was from 59.0.2+build1-0ubuntu0.16.04.3. They turn out to be different crashes. I'm modifying the bug title to reflect the original crash signature. As for https://crash-stats.mozilla.com/report/index/31de8be9-7c42-4b38-9082-5b7f00190108 , it would seem to be bug 1309328.
| Reporter | ||
Comment 40•6 years ago
|
||
No crashes in recent builds. Resolving as WFM.
Comment 41•6 years ago
|
||
As described in bug 1309328, this is one of many crash signatures caused by the AAPCS armhf change in gcc 5 & 6 mismatched with the XPCOM asm code. On a Raspberry Pi 4 I just tested Firefox ESR 60.6 (the last one available on Debian Stretch armhf) and Firefox 69.0 for Ubuntu 16.04 LTS Xenial armhf. Still all crashing on startup. Here's a link to a crash report: https://crash-stats.mozilla.com/report/index/0e8d1344-cd80-463f-a5c4-d0a850190830
This was quite a pain for the last two years, but users are more willing to accept WNF now that Debian/Raspbian Buster is out. The problem goes away upon upgrading to distros with gcc 8+.
Comment 42•6 years ago
|
||
Bugbug thinks this bug is a regression, but please revert this change in case of error.
Description
•