New issue
Advanced search Search tips

Issue 740114 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Jul 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Fail to launch chrome public incremental on latest Android O

Project Member Reported by yipengw@chromium.org, Jul 7 2017

Issue description

The chrome public apk incremental can be installed and uninstalled as normal. But fail to launch when the user tried to start with a finger. Following is the logcat error:

07-07 14:38:04.437 23826 23826 D AndroidRuntime: Shutting down VM
07-07 14:38:04.439 23826 23826 E AndroidRuntime: FATAL EXCEPTION: main
07-07 14:38:04.439 23826 23826 E AndroidRuntime: Process: org.chromium.chrome, PID: 23826
07-07 14:38:04.439 23826 23826 E AndroidRuntime: java.lang.RuntimeException: Unable to instantiate application org.chromium.incrementalinstall.BootstrapApplication: java.lang.RuntimeException: Incremental install failed.
07-07 14:38:04.439 23826 23826 E AndroidRuntime: 	at android.app.LoadedApk.makeApplication(LoadedApk.java:949)
07-07 14:38:04.439 23826 23826 E AndroidRuntime: 	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5725)
07-07 14:38:04.439 23826 23826 E AndroidRuntime: 	at android.app.ActivityThread.-wrap1(Unknown Source:0)
07-07 14:38:04.439 23826 23826 E AndroidRuntime: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1655)
07-07 14:38:04.439 23826 23826 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:105)
07-07 14:38:04.439 23826 23826 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:156)
07-07 14:38:04.439 23826 23826 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:6505)
07-07 14:38:04.439 23826 23826 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
07-07 14:38:04.439 23826 23826 E AndroidRuntime: 	at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
07-07 14:38:04.439 23826 23826 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:746)
07-07 14:38:04.439 23826 23826 E AndroidRuntime: Caused by: java.lang.RuntimeException: Incremental install failed.
07-07 14:38:04.439 23826 23826 E AndroidRuntime: 	at org.chromium.incrementalinstall.BootstrapApplication.attachBaseContext(BootstrapApplication.java:149)
07-07 14:38:04.439 23826 23826 E AndroidRuntime: 	at android.app.Application.attach(Application.java:189)
07-07 14:38:04.439 23826 23826 E AndroidRuntime: 	at android.app.Instrumentation.newApplication(Instrumentation.java:1102)
07-07 14:38:04.439 23826 23826 E AndroidRuntime: 	at android.app.Instrumentation.newApplication(Instrumentation.java:1086)
07-07 14:38:04.439 23826 23826 E AndroidRuntime: 	at android.app.LoadedApk.makeApplication(LoadedApk.java:943)
07-07 14:38:04.439 23826 23826 E AndroidRuntime: 	... 9 more
07-07 14:38:04.439 23826 23826 E AndroidRuntime: Caused by: java.lang.ArrayStoreException: source[0] of type dalvik.system.DexPathList$Element cannot be stored in destination array of type dalvik.system.DexPathList$NativeLibraryElement[]
07-07 14:38:04.439 23826 23826 E AndroidRuntime: 	at java.lang.System.arraycopy(Native Method)
07-07 14:38:04.439 23826 23826 E AndroidRuntime: 	at org.chromium.incrementalinstall.Reflect.concatArrays(Reflect.java:52)
07-07 14:38:04.439 23826 23826 E AndroidRuntime: 	at org.chromium.incrementalinstall.ClassLoaderPatcher.addNativeLibrarySearchPath(ClassLoaderPatcher.java:175)
07-07 14:38:04.439 23826 23826 E AndroidRuntime: 	at org.chromium.incrementalinstall.ClassLoaderPatcher.importNativeLibs(ClassLoaderPatcher.java:147)
07-07 14:38:04.439 23826 23826 E AndroidRuntime: 	at org.chromium.incrementalinstall.BootstrapApplication.attachBaseContext(BootstrapApplication.java:101)
07-07 14:38:04.439 23826 23826 E AndroidRuntime: 	... 13 more
07-07 14:38:04.444   769  4708 W ActivityManager:   Force finishing activity org.chromium.chrome/com.google.android.apps.chrome.Main


 
Status: WontFix (was: Untriaged)
I think the issue actually was that the check for version == "O" was replaced with versionCode >= 26. The device that failed just needs to be updated to a newer O version.

Sign in to add a comment