Closed
Bug 1345267
Opened 8 years ago
Closed 8 years ago
Fail gracefully on non-NEON ARM devices
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox53 fixed, firefox54 fixed, firefox55 fixed)
RESOLVED
FIXED
Firefox 55
People
(Reporter: droeh, Assigned: droeh)
References
Details
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
droeh
:
review+
gchang
:
approval-mozilla-aurora+
gchang
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
Attempting to run Fennec 53+ on a non-NEON device should fail gracefully.
Assignee | ||
Comment 1•8 years ago
|
||
There may be a more elegant way of handling this, but I just went with loading mozglue in BrowserApp.onCreate() to ensure we can check NEON compatibility there and handle it identically to any other unsupported system.
Attachment #8844677 -
Flags: review?(nchen)
Comment 2•8 years ago
|
||
Can you do some autophone runs to see the startup impact of loading mozglue early?
Flags: needinfo?(droeh)
Assignee | ||
Comment 3•8 years ago
|
||
Here's an autophone comparison with/without this patch: https://treeherder.mozilla.org/perf.html#/compare?originalProject=mozilla-inbound&originalRevision=6964fbecaacc&newProject=try&newRevision=198ee1f756c9fc1be9c1f4c52769dbdd34f763e1&framework=3&showOnlyImportant=0
It doesn't look to me like it makes any significant impact.
Flags: needinfo?(droeh)
Comment 4•8 years ago
|
||
Comment on attachment 8844677 [details] [diff] [review]
NEON non-compatibility kill-switch
Review of attachment 8844677 [details] [diff] [review]:
-----------------------------------------------------------------
Don't you want to remove the EOL check in BrowserApp?
Also, I think we want to show a different message because the message shown here is "Sorry! ... Please download the correct version." [1]
[1] http://searchfox.org/mozilla-central/rev/7cb75d87753de9103253e34bc85592e26378f506/mobile/android/base/locales/en-US/android_strings.dtd#821
Attachment #8844677 -
Flags: review?(nchen) → review+
Assignee | ||
Comment 5•8 years ago
|
||
Unfortunately, I think it's too late to add strings to 53 at this point, and it doesn't look like we have any existing strings that would be a better fit.
I got rid of the EOL check, carrying over the r+.
Attachment #8844677 -
Attachment is obsolete: true
Attachment #8845957 -
Flags: review+
Pushed by droeh@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/0cbf58746cae
Check NEON compatibility in BrowserApp/GeckoApp.onCreate() and fail with an appropriate error message if necessary. r=jchen
I'm suspecting this is causing some android x86 mochitests of crashing like https://treeherder.mozilla.org/logviewer.html#?job_id=83148187&repo=mozilla-inbound
Backed out in https://hg.mozilla.org/integration/mozilla-inbound/rev/ce8ddd8bb7df5f052c3366a1a6260a7dce9be9dc to see if it fixes things.
Flags: needinfo?(droeh)
Assignee | ||
Comment 8•8 years ago
|
||
This should be fixed by the updated patch in bug 1305815; pending good results from a try run I'll push this again.
Flags: needinfo?(droeh)
Assignee | ||
Comment 9•8 years ago
|
||
Comment 10•8 years ago
|
||
Pushed by droeh@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/872bb08cf17e
Check NEON compatibility in BrowserApp/GeckoApp.onCreate() and fail with an appropriate error message if necessary. r=jchen
Comment 11•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 55
Assignee | ||
Comment 12•8 years ago
|
||
Comment on attachment 8845957 [details] [diff] [review]
NEON non-compatibility kill-switch v1.1
Approval Request Comment
[Feature/Bug causing the regression]: 1289569
[User impact if declined]: We are dropping support for non-NEON devices in 53; this will fail gracefully with an invalid build message rather than crashing.
[Is this code covered by automated tests?]: No
[Has the fix been verified in Nightly?]: Yes
[Needs manual test from QE? If yes, steps to reproduce]: No
[List of other uplifts needed for the feature/fix]: None
[Is the change risky?]: Not very.
[Why is the change risky/not risky?]: Should only affect non-NEON devices, which otherwise will crash on launch for these versions.
[String changes made/needed]: None
Attachment #8845957 -
Flags: approval-mozilla-beta?
Attachment #8845957 -
Flags: approval-mozilla-aurora?
Updated•8 years ago
|
status-firefox53:
--- → affected
status-firefox54:
--- → affected
Comment 13•8 years ago
|
||
Comment on attachment 8845957 [details] [diff] [review]
NEON non-compatibility kill-switch v1.1
We plan to drop support for non-NEON devices in 53. Aurora54+ & Beta53+.
Attachment #8845957 -
Flags: approval-mozilla-beta?
Attachment #8845957 -
Flags: approval-mozilla-beta+
Attachment #8845957 -
Flags: approval-mozilla-aurora?
Attachment #8845957 -
Flags: approval-mozilla-aurora+
Comment 14•8 years ago
|
||
bugherder uplift |
Comment 15•8 years ago
|
||
bugherder uplift |
Comment 16•8 years ago
|
||
Unfortunately on SOFTVISION side we do not have such device (it either doesn't work anymore or it is blocked on an older version of OS that we already blocked 2.x or 3.x)
Kevin? Any chance here?
Flags: needinfo?(kbrosnan)
Comment 17•8 years ago
|
||
After installing the current nightly on a Galaxy Tab 2 launching Firefox shows the message "Sorry! This version won't work on your device (armeabi-v7a, 15). Please download the correct version.
That seems wrong given that there is no correct version.
Flags: needinfo?(kbrosnan)
Assignee | ||
Comment 18•8 years ago
|
||
(In reply to Kevin Brosnan [:kbrosnan] from comment #17)
> After installing the current nightly on a Galaxy Tab 2 launching Firefox
> shows the message "Sorry! This version won't work on your device
> (armeabi-v7a, 15). Please download the correct version.
>
> That seems wrong given that there is no correct version.
Jim brought this up in comment 4, but as far as I understand it is far too late to try and add a new string to 53 for this. If we want to add a new string for future versions, let me know what I need to do.
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•