They at chromium say they use clang when they cross compile chromium .And they
had exactly same problem like firefox have ,when they build chromium native
using gcc .
You can read a irc log :
[16:17:16] <msanchez> This has been puzzling us for a few weeks already because
we can't get that crash when we cross compile chromium, but only when running a
version built natively in an arm7 machine
[16:18:55] <lizeb> Does gdb tell you which instruction is causing trouble? It
[16:19:36] <msanchez> the only differences we could spot are that in the native
build we pass use_sysroot=false and is_clang=false (we build with gcc 4.9),
while in the cross-build we pass is_clang=true and use_sysroot=true
[16:19:54] <msanchez> #0 0xb629b9e6 in _sk_xor__vfp4 () from
[16:20:00] <msanchez> is that what you mean?
[16:20:17] <msanchez> sorry, I'm not deep in ARM-internals, feel free to ask
anything even if it sounds dumb :)
[16:21:05] <lizeb> try "disas 0xb629b9e6,0xb629b100"
[16:21:27] <lizeb> it will give you the assembly at these addresses
[16:21:49] <lizeb> since the issue is "illegal instruction", it might be that
the instruction executed isn't supported by your target
[16:22:08] <msanchez> that makes sense
[16:22:12] * msanchez boots up the ARM device
[16:22:34] <msanchez> At the moment my theories were pointing to some
[16:22:49] <msanchez> because of the difference between using clang
(cross-build) vs gcc 4.9 (native build)
[16:23:30] <lizeb> It's likely that different compiler will generate different
instructions, especially if for some reason they don't get the same flags
[16:24:15] <msanchez> so I was not that off-track. Just wild guessing :)
[16:33:58] <ricea> I think the function you're crashing in comes from here:
[16:47:39] <lizeb> So line 684 in your dump maps to _sk_xor__vfp4:
[16:47:47] <lizeb> in the file linked by ricea
[16:48:33] <lizeb> The problem is that the address on which you crash is not an
actual instruction address...
[16:49:40] <msanchez> oops! I see
[16:49:52] <msanchez> yeah, it's like in between instructions
[16:50:10] <lizeb> This is not thumb code, so instructions are 4 bytes long
[16:51:15] <msanchez> not sure if it's related, but fwiw this is building with
target_cpu="arm" arm_float_abi="hard" arm_use_neon=true arm_use_thumb=true
[16:56:29] <lizeb> I don't think we've ever built chrome on android with GCC 6
as Android doesn't support it, AFAIK. And we now use clang.
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
Firefox crashes at start on armv7L after 55.0.1 update
Status in Mozilla Firefox:
Status in firefox package in Ubuntu:
Firefox always crashes when launched after the 55.0.1 update on an
Orange Pi PC Plus (a single-board computer similar to a Raspberry Pi),
even in safe mode.
I did a fresh install of Armbian (a Ubuntu Xenial 16.04 re-spin for
ARM single-board computer) on a similar board (Orange Pi Plus 2e),
installed Firefox and experienced the same problem--it won't load
DistroRelease: Ubuntu 16.04
Package: firefox 55.0.1+build2-0ubuntu0.16.04.2
Uname: Linux 3.4.113-sun8i armv7l
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.25.
USER PID ACCESS COMMAND
/dev/snd/controlC1: jim 1138 F.... pulseaudio
/dev/snd/controlC0: jim 1138 F.... pulseaudio
Card hw:0 'audiocodec'/'audiocodec'
Mixer name : ''
Components : ''
Controls : 12
Simple ctrls : 12
Card hw:1 'sndhdmi'/'sndhdmi'
Mixer name : ''
Components : ''
Controls : 1
Simple ctrls : 1
Simple mixer control 'hdmi audio format Function',0
Items: 'null' 'pcm' 'AC3' 'MPEG1' 'MP3' 'MPEG2' 'AAC' 'DTS' 'ATRAC'
'ONE_BIT_AUDIO' 'DOLBY_DIGITAL_PLUS' 'DTS_HD' 'MAT' 'WMAPRO'
Date: Thu Aug 17 05:37:00 2017
Extensions: extensions.sqlite corrupt or missing
IncompatibleExtensions: Unavailable (corrupt or non-existant
compatibility.ini or extensions.sqlite)
default via 192.168.10.1 dev eth0
default via 192.168.10.1 dev wlan0 proto static metric 600
169.254.0.0/16 dev eth0 scope link metric 1000
192.168.10.0/24 dev eth0 proto kernel scope link src 192.168.10.107
192.168.10.0/24 dev wlan0 proto kernel scope link src 192.168.10.108
Locales: extensions.sqlite corrupt or missing
Profiles: Profile0 (Default) - LastVersion=55.0.1/20170814194718
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
Themes: extensions.sqlite corrupt or missing
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
Mailing list: https://launchpad.net/~desktop-packages
Post to : email@example.com
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp