New issue
Advanced search Search tips

Issue 876053 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Aug 22
Cc:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 1
Type: Bug



Sign in to add a comment

Chrome bundle crashes on startup

Project Member Reported by tiborg@chromium.org, Aug 20

Issue description

Stack:

08-20 16:58:18.504  2251  2251 W System.err: java.lang.ClassNotFoundException: Didn't find class "org.chromium.chrome.browser.component_updater.VrAssetsComponentInstaller" on path: Dex
PathList[[zip file "/data/app/org.chromium.chrome-4n8ZVc1WpnkgWCO_tocwSQ==/base.apk", zip file "/data/app/org.chromium.chrome-4n8ZVc1WpnkgWCO_tocwSQ==/split_config.en.apk", zip file "/
data/app/org.chromium.chrome-4n8ZVc1WpnkgWCO_tocwSQ==/split_config.other_lang.apk"],nativeLibraryDirectories=[/data/app/org.chromium.chrome-4n8ZVc1WpnkgWCO_tocwSQ==/lib/arm, /data/app/
org.chromium.chrome-4n8ZVc1WpnkgWCO_tocwSQ==/base.apk!/lib/armeabi-v7a, /data/app/org.chromium.chrome-4n8ZVc1WpnkgWCO_tocwSQ==/split_config.en.apk!/lib/armeabi-v7a, /data/app/org.chrom
ium.chrome-4n8ZVc1WpnkgWCO_tocwSQ==/split_config.other_lang.apk!/lib/armeabi-v7a, /system/lib]]
08-20 16:58:18.504  2251  2251 W System.err: at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)
08-20 16:58:18.505  2251  2251 W System.err: at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
08-20 16:58:18.505  2251  2251 W System.err: at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
08-20 16:58:18.505  2251  2251 W System.err: at android.os.MessageQueue.nativePollOnce(Native Method)
08-20 16:58:18.505  2251  2251 W System.err: at android.os.MessageQueue.next(MessageQueue.java:326)
08-20 16:58:18.505  2251  2251 W System.err: at android.os.Looper.loop(Looper.java:160)
08-20 16:58:18.505  2251  2251 W System.err: at android.app.ActivityThread.main(ActivityThread.java:6669)
08-20 16:58:18.505  2251  2251 W System.err: at java.lang.reflect.Method.invoke(Native Method)
08-20 16:58:18.505  2251  2251 W System.err: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
08-20 16:58:18.506  2251  2251 W System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
08-20 16:58:18.506  2251  2251 W System.err: Suppressed: java.io.IOException: No original dex files found for dex location /data/app/org.chromium.chrome-4n8ZVc1WpnkgWCO_tocwSQ==/split_
config.en.apk
08-20 16:58:18.506  2251  2251 W System.err: at dalvik.system.DexFile.openDexFileNative(Native Method)
08-20 16:58:18.506  2251  2251 W System.err: at dalvik.system.DexFile.openDexFile(DexFile.java:354)
08-20 16:58:18.506  2251  2251 W System.err: at dalvik.system.DexFile.<init>(DexFile.java:101)
08-20 16:58:18.506  2251  2251 W System.err: at dalvik.system.DexFile.<init>(DexFile.java:75)
08-20 16:58:18.507  2251  2251 W System.err: at dalvik.system.DexPathList.loadDexFile(DexPathList.java:394)
08-20 16:58:18.507  2251  2251 W System.err: at dalvik.system.DexPathList.makeDexElements(DexPathList.java:354)
08-20 16:58:18.507  2251  2251 W System.err: at dalvik.system.DexPathList.<init>(DexPathList.java:164)
08-20 16:58:18.507  2251  2251 W System.err: at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:74)
08-20 16:58:18.507  2251  2251 W System.err: at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:65)
08-20 16:58:18.507  2251  2251 W System.err: at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:64)
08-20 16:58:18.507  2251  2251 W System.err: at com.android.internal.os.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:73)
08-20 16:58:18.507  2251  2251 W System.err: at com.android.internal.os.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:88)
08-20 16:58:18.508  2251  2251 W System.err: at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:74)
08-20 16:58:18.508  2251  2251 W System.err: at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:40)
08-20 16:58:18.508  2251  2251 W System.err: at android.app.LoadedApk.createOrUpdateClassLoaderLocked(LoadedApk.java:727)
08-20 16:58:18.508  2251  2251 W System.err: at android.app.LoadedApk.getClassLoader(LoadedApk.java:810)
08-20 16:58:18.508  2251  2251 W System.err: at android.app.LoadedApk.getResources(LoadedApk.java:1032)
08-20 16:58:18.508  2251  2251 W System.err: at android.app.ContextImpl.createAppContext(ContextImpl.java:2345)
08-20 16:58:18.508  2251  2251 W System.err: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5749)
08-20 16:58:18.508  2251  2251 W System.err: at android.app.ActivityThread.access$1100(ActivityThread.java:199)
08-20 16:58:18.509  2251  2251 W System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1650)
08-20 16:58:18.509  2251  2251 W System.err: at android.os.Handler.dispatchMessage(Handler.java:106)
08-20 16:58:18.509  2251  2251 W System.err: at android.os.Looper.loop(Looper.java:193)
08-20 16:58:18.509  2251  2251 W System.err: ... 4 more
08-20 16:58:18.509  2251  2251 W System.err: Suppressed: java.io.IOException: No original dex files found for dex location /data/app/org.chromium.chrome-4n8ZVc1WpnkgWCO_tocwSQ==/split_
config.other_lang.apk
08-20 16:58:18.509  2251  2251 W System.err: at dalvik.system.DexFile.openDexFileNative(Native Method)
08-20 16:58:18.509  2251  2251 W System.err: at dalvik.system.DexFile.openDexFile(DexFile.java:354)
08-20 16:58:18.510  2251  2251 W System.err: at dalvik.system.DexFile.<init>(DexFile.java:101)
08-20 16:58:18.510  2251  2251 W System.err: at dalvik.system.DexFile.<init>(DexFile.java:75)
08-20 16:58:18.510  2251  2251 W System.err: at dalvik.system.DexPathList.loadDexFile(DexPathList.java:394)
08-20 16:58:18.510  2251  2251 W System.err: at dalvik.system.DexPathList.makeDexElements(DexPathList.java:354)
08-20 16:58:18.510  2251  2251 W System.err: at dalvik.system.DexPathList.<init>(DexPathList.java:164)
08-20 16:58:18.510  2251  2251 W System.err: at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:74)
08-20 16:58:18.510  2251  2251 W System.err: at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:65)
08-20 16:58:18.510  2251  2251 W System.err: at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:64)
08-20 16:58:18.511  2251  2251 W System.err: at com.android.internal.os.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:73)
08-20 16:58:18.511  2251  2251 W System.err: at com.android.internal.os.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:88)
08-20 16:58:18.511  2251  2251 W System.err: at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:74)
08-20 16:58:18.511  2251  2251 W System.err: at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:40)
08-20 16:58:18.511  2251  2251 W System.err: at android.app.LoadedApk.createOrUpdateClassLoaderLocked(LoadedApk.java:727)
08-20 16:58:18.511  2251  2251 W System.err: at android.app.LoadedApk.getClassLoader(LoadedApk.java:810)
08-20 16:58:18.511  2251  2251 W System.err: at android.app.LoadedApk.getResources(LoadedApk.java:1032)
08-20 16:58:18.511  2251  2251 W System.err: at android.app.ContextImpl.createAppContext(ContextImpl.java:2345)
08-20 16:58:18.511  2251  2251 W System.err: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5749)
08-20 16:58:18.512  2251  2251 W System.err: at android.app.ActivityThread.access$1100(ActivityThread.java:199)
08-20 16:58:18.512  2251  2251 W System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1650)
08-20 16:58:18.512  2251  2251 W System.err: at android.os.Handler.dispatchMessage(Handler.java:106)
08-20 16:58:18.512  2251  2251 W System.err: at android.os.Looper.loop(Looper.java:193)
08-20 16:58:18.512  2251  2251 W System.err: ... 4 more
08-20 16:58:18.539  2251  2251 F chromium: [FATAL:jni_android.cc(138)] Failed to find class org/chromium/chrome/browser/component_updater/VrAssetsComponentInstaller
08-20 16:58:18.539  2251  2251 F chromium: #00 0xc9b69c97 /data/app/org.chromium.chrome-4n8ZVc1WpnkgWCO_tocwSQ==/lib/arm/libbase.cr.so+0x000dfc97
08-20 16:58:18.539  2251  2251 F chromium: #01 0xc9b4ee6f /data/app/org.chromium.chrome-4n8ZVc1WpnkgWCO_tocwSQ==/lib/arm/libbase.cr.so+0x000c4e6f
08-20 16:58:18.539  2251  2251 F chromium: #02 0xc9b4eebf /data/app/org.chromium.chrome-4n8ZVc1WpnkgWCO_tocwSQ==/lib/arm/libbase.cr.so+0x000c4ebf
08-20 16:58:18.539  2251  2251 F chromium: #03 0xbc4ba701 /data/app/org.chromium.chrome-4n8ZVc1WpnkgWCO_tocwSQ==/lib/arm/libchrome.cr.so+0x00af7701
08-20 16:58:18.539  2251  2251 F chromium: #04 0xbc30b75f /data/app/org.chromium.chrome-4n8ZVc1WpnkgWCO_tocwSQ==/lib/arm/libchrome.cr.so+0x0094875f
08-20 16:58:18.539  2251  2251 F chromium: #05 0xbc30b20b /data/app/org.chromium.chrome-4n8ZVc1WpnkgWCO_tocwSQ==/lib/arm/libchrome.cr.so+0x0094820b
08-20 16:58:18.539  2251  2251 F chromium: #06 0xbe0da9cd /data/app/org.chromium.chrome-4n8ZVc1WpnkgWCO_tocwSQ==/lib/arm/libcontent.cr.so+0x00b939cd
08-20 16:58:18.539  2251  2251 F chromium: #07 0xbe0db9d5 /data/app/org.chromium.chrome-4n8ZVc1WpnkgWCO_tocwSQ==/lib/arm/libcontent.cr.so+0x00b949d5
08-20 16:58:18.539  2251  2251 F chromium: #08 0xbe2f7619 /data/app/org.chromium.chrome-4n8ZVc1WpnkgWCO_tocwSQ==/lib/arm/libcontent.cr.so+0x00db0619
08-20 16:58:18.539  2251  2251 F chromium: #09 0xbdd9255d /data/app/org.chromium.chrome-4n8ZVc1WpnkgWCO_tocwSQ==/lib/arm/libcontent.cr.so+0x0084b55d
08-20 16:58:18.539  2251  2251 F chromium: #10 0xc9b55b3b /data/app/org.chromium.chrome-4n8ZVc1WpnkgWCO_tocwSQ==/lib/arm/libbase.cr.so+0x000cbb3b
08-20 16:58:18.539  2251  2251 F chromium: #11 0xc9b5e1d7 /data/app/org.chromium.chrome-4n8ZVc1WpnkgWCO_tocwSQ==/lib/arm/libbase.cr.so+0x000d41d7
08-20 16:58:18.539  2251  2251 F chromium: #12 0xc9b6ec0f /data/app/org.chromium.chrome-4n8ZVc1WpnkgWCO_tocwSQ==/lib/arm/libbase.cr.so+0x000e4c0f
08-20 16:58:18.539  2251  2251 F chromium: #13 0xc9b6ee11 /data/app/org.chromium.chrome-4n8ZVc1WpnkgWCO_tocwSQ==/lib/arm/libbase.cr.so+0x000e4e11
08-20 16:58:18.539  2251  2251 F chromium: #14 0xc9b6eefb /data/app/org.chromium.chrome-4n8ZVc1WpnkgWCO_tocwSQ==/lib/arm/libbase.cr.so+0x000e4efb
08-20 16:58:18.539  2251  2251 F chromium: #15 0xc9b70987 /data/app/org.chromium.chrome-4n8ZVc1WpnkgWCO_tocwSQ==/lib/arm/libbase.cr.so+0x000e6987
08-20 16:58:18.539  2251  2251 F chromium: #16 0xc9b707db /data/app/org.chromium.chrome-4n8ZVc1WpnkgWCO_tocwSQ==/lib/arm/libbase.cr.so+0x000e67db
08-20 16:58:18.539  2251  2251 F chromium: #17 0xe77f2239 /system/lib/libutils.so+0x0000f239
08-20 16:58:18.539  2251  2251 F chromium: #18 0xe77f1f45 /system/lib/libutils.so+0x0000ef45
08-20 16:58:18.539  2251  2251 F chromium: #19 0xe6a319fd /system/lib/libandroid_runtime.so+0x000a69fd
 
The reason is that VrAssetsComponentInstaller is part of the VR module. But the VR module is not part of Chrome bundle.
Project Member

Comment 2 by bugdroid1@chromium.org, Aug 22

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/2a8443a7d5d757ffb89fc85e9b6186f6ab688e91

commit 2a8443a7d5d757ffb89fc85e9b6186f6ab688e91
Author: Tibor Goldschwendt <tiborg@chromium.org>
Date: Wed Aug 22 19:48:33 2018

[vr] Move VrAssetsComponentInstaller to Chrome base module

VrAssetsComponentInstaller is used at Chrome startup to check wether we
want to install the VR assets component. However, the
VrAssetsComponentInstaller was part of the VR DFM, which is not part of
the Chrome bundle. Therefore, move VrAssetsComponentInstaller to the
base module so that it is always available.

Bug:  876053 
Change-Id: I43b3215a0ffaf9d29f8c45edf094257f987db431
Reviewed-on: https://chromium-review.googlesource.com/1182300
Reviewed-by: Tommy Nyquist <nyquist@chromium.org>
Commit-Queue: Tibor Goldschwendt <tiborg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#585211}
[modify] https://crrev.com/2a8443a7d5d757ffb89fc85e9b6186f6ab688e91/chrome/android/java_sources.gni
[modify] https://crrev.com/2a8443a7d5d757ffb89fc85e9b6186f6ab688e91/chrome/browser/android/vr/BUILD.gn

Status: Fixed (was: Started)

Sign in to add a comment