monochrome public release build is crashing at ToT |
||||||
Issue description
Within the past few days, it appears monochrome release builds started crashing at ToT.
I'm running a bisect to try and identify when the issue started.
08-15 10:57:49.806 7277 7348 D libEGL : loaded /vendor/lib/egl/libEGL_adreno.so
08-15 10:57:49.812 7277 7348 D libEGL : loaded /vendor/lib/egl/libGLESv1_CM_adreno.so
08-15 10:57:49.826 7277 7348 D libEGL : loaded /vendor/lib/egl/libGLESv2_adreno.so
08-15 10:57:49.856 1105 2752 W ActivityManager: Background start not allowed: service Intent { cmp=com.google.vr.vrcore/.common.VrCoreSdkService } to com.google.vr.vrcore/.common.VrCoreSdkService from pid=7323 uid=10108 pkg=com.google.vr.vrcore
08-15 10:57:49.871 7277 7357 I cr_LibraryLoader: Time to load native libraries: 24 ms (timestamps 2508-2532)
08-15 10:57:49.872 7277 7357 I chromium: [INFO:library_loader_hooks.cc(36)] Chromium logging enabled: level = 0, default verbosity = 0
08-15 10:57:49.872 7277 7357 I cr_LibraryLoader: Expected native library version number "70.0.3524.0", actual native library version number "70.0.3524.0"
08-15 10:57:49.873 7277 7366 W chromium: [WARNING:library_prefetcher.cc(300)] Incorrect code ordering
08-15 10:57:49.873 7277 7366 W chromium: [WARNING:library_prefetcher.cc(204)] Incorrect code ordering
08-15 10:57:49.873 7277 7366 W chromium: [WARNING:library_prefetcher.cc(274)] Cannot prefetch the library. status = 1
08-15 10:57:49.875 7277 7277 D AndroidRuntime: Shutting down com.google.ipc.invalidation.ticl.proto.JavaClient$InvalidationClientState$Builder
08-15 10:57:49.875 7277 7277 E AndroidRuntime: FATAL EXCEPTION: main
08-15 10:57:49.875 7277 7277 E AndroidRuntime: Process: org.chromium.chrome, PID: 7277
08-15 10:57:49.875 7277 7277 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{org.chromium.chrome/org.chromium.chrome.browser.ChromeTabbedActivity}: android.view.InflateException: Binary XML file line #22: Binary XML file line #22: Er
ror inflating class ImageView
08-15 10:57:49.875 7277 7277 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2778)
08-15 10:57:49.875 7277 7277 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2856)
08-15 10:57:49.875 7277 7277 E AndroidRuntime: at android.app.ActivityThread.-wrap11(ActivityThread.java:0)
08-15 10:57:49.875 7277 7277 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1589)
08-15 10:57:49.875 7277 7277 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
08-15 10:57:49.875 7277 7277 E AndroidRuntime: at android.os.Looper.loop(Looper.java:164)
08-15 10:57:49.875 7277 7277 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6494)
08-15 10:57:49.875 7277 7277 E AndroidRuntime: at java.lang.reflect.Method.invoke(Method.java)
08-15 10:57:49.875 7277 7277 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
08-15 10:57:49.875 7277 7277 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
08-15 10:57:49.875 7277 7277 E AndroidRuntime: Caused by: android.view.InflateException: Binary XML file line #22: Binary XML file line #22: Error inflating class ImageView
08-15 10:57:49.875 7277 7277 E AndroidRuntime: Caused by: android.view.InflateException: Binary XML file line #22: Error inflating class ImageView
08-15 10:57:49.875 7277 7277 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void rS.d()' on a null object reference
08-15 10:57:49.875 7277 7277 E AndroidRuntime: at android.support.v7.widget.AppCompatImageView.setImageDrawable(AppCompatImageView.java:101)
08-15 10:57:49.875 7277 7277 E AndroidRuntime: at android.widget.ImageView.<init>(ImageView.java:190)
08-15 10:57:49.875 7277 7277 E AndroidRuntime: at android.widget.ImageView.<init>(ImageView.java:171)
,
Aug 15
,
Aug 15
,
Aug 15
,
Aug 15
Working on a fix. To summarize the problem, the proguard update caused removal of R.style IDs that we then tried to inflate. The intended solution is to revert the proguard update and use multidex in release for monochrome to stay below the DEX method limit.
,
Aug 15
,
Aug 16
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/c99f1915968868430b596db831d90d9b208e93ab commit c99f1915968868430b596db831d90d9b208e93ab Author: Tibor Goldschwendt <tiborg@chromium.org> Date: Thu Aug 16 14:14:39 2018 [build:android] Use default proguard and multidex for monochrome release Monochrome is crashing on startup. Fix this by using the default proguard instead of proguard 6.0.3 for monochrome. In order to stay under the DEX method limit use multidex for monochrome release builds. Bug: 874464 , 868770 Change-Id: I9f002c26fb6e2b9b1b5d7471dab890090c446a75 Reviewed-on: https://chromium-review.googlesource.com/1176474 Commit-Queue: Tibor Goldschwendt <tiborg@chromium.org> Reviewed-by: agrieve <agrieve@chromium.org> Cr-Commit-Position: refs/heads/master@{#583639} [modify] https://crrev.com/c99f1915968868430b596db831d90d9b208e93ab/build/config/android/rules.gni [modify] https://crrev.com/c99f1915968868430b596db831d90d9b208e93ab/chrome/android/BUILD.gn [modify] https://crrev.com/c99f1915968868430b596db831d90d9b208e93ab/chrome/android/chrome_public_apk_tmpl.gni [modify] https://crrev.com/c99f1915968868430b596db831d90d9b208e93ab/third_party/proguard/README.chromium [delete] https://crrev.com/81bcbe408b0b06d4f534f572a0eaeb4b22f245ca/third_party/proguard/lib/proguard.6.0.3.jar
,
Aug 16
Hopefully, this is fixed now.
,
Aug 16
|
||||||
►
Sign in to add a comment |
||||||
Comment 1 by cjgrant@chromium.org
, Aug 15