Closed Bug 1245236 Opened 9 years ago Closed 9 years ago

Enabled DownloadContentService breaks supported system check

Categories

(Firefox for Android Graveyard :: General, defect)

All
Android
defect
Not set
normal

Tracking

(firefox47 fixed)

RESOLVED FIXED
Firefox 47
Tracking Status
firefox47 --- fixed

People

(Reporter: sebastian, Assigned: sebastian)

References

Details

Attachments

(2 files)

In BrowserApp we check if the device/apk combination is supported ("ARM APK on x86"). The DownloadContentService is started earlier and is using NativeCrypto. This crashes when used with mismatching ABIs: > GeckoCrashHandler E >>> REPORTING UNCAUGHT EXCEPTION FROM THREAD 92 ("IntentService[GeckoDLCService]") > E java.lang.UnsatisfiedLinkError: Cannot load library: load_library[1098]: Library '/sys/lib/libhoudini.so' not found > E at java.lang.Runtime.load(Runtime.java:340) > E at java.lang.System.load(System.java:521) > E at org.mozilla.gecko.background.nativecode.NativeCrypto.<clinit>(NativeCrypto.java:26) > E at org.mozilla.gecko.dlc.BaseAction.verify(BaseAction.java:112) > E at org.mozilla.gecko.dlc.DownloadAction.perform(DownloadAction.java:102) > E at org.mozilla.gecko.dlc.DownloadContentService.onHandleIntent(DownloadContentService.java:98) > E at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65) > E at android.os.Handler.dispatchMessage(Handler.java:99) > E at android.os.Looper.loop(Looper.java:137) > E at android.os.HandlerThread.run(HandlerThread.java:60)
Assignee: nobody → s.kaspari
Status: NEW → ASSIGNED
Attachment #8717403 - Flags: review?(rnewman) → review+
Comment on attachment 8717403 [details] MozReview Request: Bug 1245236 - (Part 1) Move isSupportedSystem() from GeckoApp to HardwareUtils. r?rnewman https://reviewboard.mozilla.org/r/34169/#review30951
Comment on attachment 8717404 [details] MozReview Request: Bug 1245236 - (Part 2) DownloadContentService: Do not run on unsupported systems. r?rnewman https://reviewboard.mozilla.org/r/34171/#review30953
Attachment #8717404 - Flags: review?(rnewman) → review+
https://hg.mozilla.org/integration/fx-team/rev/9e1adc571ca854d75826e040f5c765717d8bcbad Bug 1245236 - (Part 1) Move isSupportedSystem() from GeckoApp to HardwareUtils. r=rnewman https://hg.mozilla.org/integration/fx-team/rev/672120149d88eeeb3f2bfd52b61bdd7a78566325 Bug 1245236 - (Part 2) DownloadContentService: Do not run on unsupported systems. r=rnewman
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 47
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: