New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 865208 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Last visit > 30 days ago
Closed: Aug 21
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

newbie-release: cheets_SettingsBridge failing

Project Member Reported by rrangel@chromium.org, Jul 18

Issue description

https://cros-goldeneye.corp.google.com/chromeos/healthmonitoring/buildDetails?buildbucketId=8940670605537559008

Error: java.lang.NullPointerException: Attempt to invoke interface method 'android.app.IActivityManager$ContentProviderHolder android.app.IActivityManager.getContentPr

 
Cc: -domlasko...@chromium.org hashimoto@chromium.org norvez@chromium.org
Owner: domlasko...@chromium.org
Doesn't look like a bug in newbie itself (build of ARC++ without Phonesky/GMSCore): go/cros-arc++-in-qemu#heading=h.16imhjhjjd9v

More likely a change in ARC++, re-assigning to the constables for triage
Labels: ArcConstable
Cc: victorhsieh@chromium.org
Labels: OS-Chrome
Owner: edcourtney@chromium.org
Status: Assigned (was: Untriaged)
Kicking to current constables.
I don't see cheets_SettingsBridge error any more.  But filed crbug/866960 for the build error since July 4th.
oops, please ignore comment 5.  I looked at a different timeline...
Cc: edcourtney@chromium.org
Owner: victorhsieh@chromium.org
I wonder if this is some container setup / login race.

I can see the same error message by running this at login screen, but not after, since the null pointer is to *the* IActivityManager.

localhost ~ # android-sh -c 'settings --user 0 get system font_scale'
Error while accessing settings provider
java.lang.NullPointerException: Attempt to invoke interface method 'android.app.IActivityManager$ContentProviderHolder android.app.IActivityManager.getContentProviderExternal(java.lang.String, int, android.os.IBinder)' on a null object reference
        at com.android.commands.settings.SettingsCmd.run(SettingsCmd.java:151)
        at com.android.commands.settings.SettingsCmd.main(SettingsCmd.java:63)
        at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
        at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:269)
Following the link in the original report, this looks like IME problem (pid 420) that causing system_server's RenderThread (pid 87) to segfault... then the NPE is just a symptom.

07-18 09:30:40.631    87   135 D DecorView[ime]: Cannot get the activity to get CaptionConfiguration.

--------- beginning of crash
07-18 09:30:40.587   420   420 E AndroidRuntime: FATAL EXCEPTION: main
07-18 09:30:40.587   420   420 E AndroidRuntime: Process: org.chromium.arc.ime, PID: 420
07-18 09:30:40.587   420   420 E AndroidRuntime: java.lang.RuntimeException: Unable to instantiate service org.chromium.arc.ime.ArcInputMethodService: java.lang.ClassNotFoundException: Didn't find class "org.chromium.arc.ime.ArcInputMethodService" on path: DexPathList[[zip file "/system/app/ArcInputMethodService/ArcInputMethodService.apk"],nativeLibraryDirectories=[/system/app/ArcInputMethodService/lib/x86, /system/lib, /vendor/lib, /system/lib, /vendor/lib]]
07-18 09:30:40.587   420   420 E AndroidRuntime: 	at android.app.ActivityThread.handleCreateService(ActivityThread.java:3254)
07-18 09:30:40.587   420   420 E AndroidRuntime: 	at android.app.ActivityThread.-wrap5(ActivityThread.java)
07-18 09:30:40.587   420   420 E AndroidRuntime: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1617)
07-18 09:30:40.587   420   420 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:102)
07-18 09:30:40.587   420   420 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:154)
07-18 09:30:40.587   420   420 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:6320)
07-18 09:30:40.587   420   420 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
07-18 09:30:40.587   420   420 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:891)
07-18 09:30:40.587   420   420 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:781)
07-18 09:30:40.587   420   420 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: Didn't find class "org.chromium.arc.ime.ArcInputMethodService" on path: DexPathList[[zip file "/system/app/ArcInputMethodService/ArcInputMethodService.apk"],nativeLibraryDirectories=[/system/app/ArcInputMethodService/lib/x86, /system/lib, /vendor/lib, /system/lib, /vendor/lib]]
07-18 09:30:40.587   420   420 E AndroidRuntime: 	at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
07-18 09:30:40.587   420   420 E AndroidRuntime: 	at java.lang.ClassLoader.loadClass(ClassLoader.java:380)
07-18 09:30:40.587   420   420 E AndroidRuntime: 	at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
07-18 09:30:40.587   420   420 E AndroidRuntime: 	at android.app.ActivityThread.handleCreateService(ActivityThread.java:3251)
07-18 09:30:40.587   420   420 E AndroidRuntime: 	... 8 more
07-18 09:30:40.587   420   420 E AndroidRuntime: 	Suppressed: java.lang.NoClassDefFoundError: Failed resolution of: Lorg/chromium/arc/bridge/ArcService;
07-18 09:30:40.587   420   420 E AndroidRuntime: 		at java.lang.VMClassLoader.findLoadedClass(Native Method)
07-18 09:30:40.587   420   420 E AndroidRuntime: 		at java.lang.ClassLoader.findLoadedClass(ClassLoader.java:742)
07-18 09:30:40.587   420   420 E AndroidRuntime: 		at java.lang.ClassLoader.loadClass(ClassLoader.java:362)
07-18 09:30:40.587   420   420 E AndroidRuntime: 		... 10 more
07-18 09:30:40.587   420   420 E AndroidRuntime: 	Caused by: java.lang.ClassNotFoundException: Didn't find class "org.chromium.arc.bridge.ArcService" on path: DexPathList[[zip file "/system/app/ArcInputMethodService/ArcInputMethodService.apk"],nativeLibraryDirectories=[/system/app/ArcInputMethodService/lib/x86, /system/lib, /vendor/lib, /system/lib, /vendor/lib]]
07-18 09:30:40.587   420   420 E AndroidRuntime: 		at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
07-18 09:30:40.587   420   420 E AndroidRuntime: 		at java.lang.ClassLoader.loadClass(ClassLoader.java:380)
07-18 09:30:40.587   420   420 E AndroidRuntime: 		at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
07-18 09:30:40.587   420   420 E AndroidRuntime: 		... 13 more
07-18 09:30:40.631    87   135 D DecorView[ime]: Cannot get the activity to get CaptionConfiguration.
07-18 09:30:40.631    87   135 D DecorView[ime]: Cannot get the activity to get CaptionConfiguration.
07-18 09:30:40.636   601   880 I MediaScanner: forcing rescan of /system/media/audio/notifications/Syrma.ogg since build fingerprint changed
07-18 09:30:40.641    87   155 I ActivityManager: Displayed org.chromium.arc.home/.ChromeBrowserProxyActivity: +208ms (total +248ms)
07-18 09:30:40.646   925   925 D AndroidRuntime: Shutting down VM
07-18 09:30:40.655    22    22 E ConsumerBase: [org.chromium.arc.home/org.chromium.arc.home.HomeActivity] getOccupancyHistory: ConsumerBase is abandoned!
07-18 09:30:40.655    22    22 W Layer   : [org.chromium.arc.home/org.chromium.arc.home.HomeActivity] Failed to obtain occupancy history (-19)
07-18 09:30:40.660   601   880 I MediaScanner: forcing rescan of /system/media/audio/notifications/TaDa.ogg since build fingerprint changed
07-18 09:30:40.717   445   445 D ArcAppTaskTracker: Calculating task stack diff.
07-18 09:30:40.718   445   445 D ArcAppTaskTracker: Active task: 3.
07-18 09:30:40.745   601   880 I MediaScanner: forcing rescan of /system/media/audio/notifications/Talitha.ogg since build fingerprint changed
07-18 09:30:40.755    22    22 W wayland-service: Bad viewport set: 0 0
07-18 09:30:40.761    87   937 W EGL-MAIN: MESA-LOADER: failed to retrieve device information
07-18 09:30:40.761   601   880 I MediaScanner: forcing rescan of /system/media/audio/notifications/Tejat.ogg since build fingerprint changed
07-18 09:30:40.770    87   937 W EGL-MAIN: DRI2: failed to open vgem (search paths /system/lib/dri:/system/vendor/lib/dri)
07-18 09:30:40.771    87   937 W EGL-MAIN: DRI2: failed to load driver
07-18 09:30:40.771    87   937 W EGL-MAIN: MESA-LOADER: failed to retrieve device information
07-18 09:30:40.775    87   135 D ViewRootImpl[ime]: Window focused:null
07-18 09:30:40.778    87   937 W EGL-MAIN: DRI2: failed to create dri screen
07-18 09:30:40.812    87   937 I OpenGLRenderer: Initialized EGL, version 1.4
07-18 09:30:40.813    87   937 D OpenGLRenderer: Swap behavior 2
07-18 09:30:40.864   601   880 I MediaScanner: forcing rescan of /system/media/audio/notifications/Tethys.ogg since build fingerprint changed
07-18 09:30:40.967   601   880 I MediaScanner: forcing rescan of /system/media/audio/notifications/Thallium.ogg since build fingerprint changed
07-18 09:30:41.025   601   880 I MediaScanner: forcing rescan of /system/media/audio/notifications/Tinkerbell.ogg since build fingerprint changed
07-18 09:30:41.117   601   880 I MediaScanner: forcing rescan of /system/media/audio/notifications/Titan.ogg since build fingerprint changed
07-18 09:30:41.138   601   880 I MediaScanner: forcing rescan of /system/media/audio/notifications/Upsilon.ogg since build fingerprint changed
07-18 09:30:41.209    87   937 F libc    : Fatal signal 11 (SIGSEGV), code 2, fault addr 0xd2d00000 in tid 937 (RenderThread)
07-18 09:30:41.211     5     5 W         : debuggerd: handling request: pid=87 uid=1000 gid=1000 tid=937
07-18 09:30:41.230   601   880 I MediaScanner: forcing rescan of /system/media/audio/notifications/Vega.ogg since build fingerprint changed
07-18 09:30:41.238   947   947 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 2000 <<<<<<
07-18 09:30:41.243   947   947 D AndroidRuntime: CheckJNI is OFF
07-18 09:30:41.282   951   951 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
07-18 09:30:41.282   951   951 F DEBUG   : Build fingerprint: 'google/newbie/newbie_cheets:7.1.1/R69-10888.0.0/4898482:userdebug/dev-keys'
07-18 09:30:41.282   951   951 F DEBUG   : Revision: '0'
07-18 09:30:41.282   951   951 F DEBUG   : ABI: 'x86'
07-18 09:30:41.283   951   951 F DEBUG   : pid: 87, tid: 937, name: RenderThread  >>> system_server <<<
07-18 09:30:41.283   951   951 F DEBUG   : signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0xd2d00000
07-18 09:30:41.283   951   951 F DEBUG   :     eax cae24060  ebx cf472954  ecx 00000000  edx cc91072c
07-18 09:30:41.283   951   951 F DEBUG   :     esi 00000000  edi cc9741cc
07-18 09:30:41.283   951   951 F DEBUG   :     xcs 00000023  xds 0000002b  xes 0000002b  xfs 0000006b  xss 0000002b
07-18 09:30:41.283   951   951 F DEBUG   :     eip d2d00000  ebp 00000000  esp ccf7987c  flags 00210286
07-18 09:30:41.284   951   951 F DEBUG   : 
07-18 09:30:41.284   951   951 F DEBUG   : backtrace:
07-18 09:30:41.284   951   951 F DEBUG   :     #00 pc 00000000  <anonymous:d2d00000>
Cc: khmel@chromium.org
+Yury, this looks similar to b/109835435.  Though I don't know why it starts to fail only after July 4th (since Yury's changes was a while ago in June).  Any guess?

Also, this seems to start happen on newbie-release from R69-10888.0.0 but not before.  I don't see changes in nyc that could cause this.
I filed a similar bug http://crbug.com/867320. The error message seemed to be different.
I can reproduce this locally on newbie, but not betty.  I do see the "missing class" in odex by oatdump, and I can't tell what difference between betty and newbie could cause this error yet.

But I'm stopping unless we decide to keep newbie alive (crbug/867649).
Cc: evgreen@chromium.org teravest@chromium.org
cheets_SettingsBridge is still failing:
https://00e9e64bacce1be2cc261663bc7b45dd79bb90658d39d58781-apidata.googleusercontent.com/download/storage/v1/b/chromeos-image-archive/o/newbie-release%2FR70-10922.0.0%2Fvm_test_results_2%2Fsmoke%2Ftest_harness%2Fall%2FSimpleTestVerify%2F1_autotest_tests%2Fdebug%2Ftest_that.DEBUG?qk=AD5uMEvNW7TKE3-QhJk4ZGEKdBbXoQlIOWXnPAhJTyNBYCeXmzo1H-Gab9tiOIGeC1jR5kwhn3jdNSOhZIDKJZOZ65IZnwY6oaOvVgxu0vctgaPOs3qOU23P_ZW9PWNYMUNsCjGOzc8RxIS7OVRihkLhUXRE4eVQ4zOBy3LNeB0NSMLCnbqt6DuVeWj4BPIiXr23id26ovLz0gpKZ3_u263fHhcQCJ7OABxhr1RkAFLhBoOFejocNX-g09oCTZaPmM4FiiBNWM1jzFjGI89HfkObkKfg8Bkvkg_Ur6HZYDlgM97di_2vymVLjZRHol93km_PSXcxNLK82gnsyWUYFh5ZSj4FzOC4oDlaLx4P8A0drt7e9yOBgfDxBexeYO6u9jTvBfyRd0UvKqjv6PP3Q_Ae7zo4W68slEel1RAx0EK2uc5_nFNGYVSOcaJbWbAI5FRgGXVsdgV6L-FcsYp3q_WYoNVO5fdtHkwFaODSyTFbfybyIQ_u9blUnHN4rq2r20q1TfaK8NiGDFYiPHRWcwzQ1szAV_94B6yPc3bYihCSWZkRJ4oUQU3nGbE_q_h7_d_7loxkeJYsAj_N2Ku-DLXfYb-P1eJP-dx3TLB8NIcZTs8stz6-8p1YiVYG9JYg1Utwo2CYKVEqyacmdQs574T_ahXv2SOBwNvJlZnzGNEY-D70ZR6hYVFgYVyTw-ouHKmkOcxr0YJu8wRF7RplSF_f-EKEyxfQlNO3Y9hdRv3JBdEvCqkNuSgJsFEsJByVrMuWcOTvEr1AbKZmlO3fcdOt6C54BqmdAqO_vqAFXZL9A7C8rFGyljEMVPvN3FwUG1ymJDFQM9-dz3frn_zg2gaG4Wmb92OztmIjFDWRlAtSW_C_tFIuNO3XJSkLykuJdv8WO8-Kdls7KedVTYO7sKWy3sTmPXzErtYPowQb2VqzI5xyXNwxaeg

07/30 08:44:50.026 INFO | test_runner_utils:0259| autoserv| FAIL	cheets_SettingsBridge	cheets_SettingsBridge	timestamp=1532965489	localtime=Jul 30 08:44:49	Unhandled ValueError: could not convert string to float: Error while accessing settings provider

Hopefully newbie can get shut down soon so sheriffs don't have to pay attention to it :)
Status: WontFix (was: Assigned)
newbie has been deprecated

Sign in to add a comment