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

Issue 625119 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 624089
Owner:
Last visit > 30 days ago
Closed: Jul 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 1
Type: Bug



Sign in to add a comment

Pandora crashes

Project Member Reported by amineer@chromium.org, Jul 1 2016

Issue description

Device name: Nexus 5, 10
Android version: ?
WebView version (from system settings -> Apps -> Android System WebView): 52.0.2743.62
Application: Pandora
Application version: ?

Filing on behalf of the G+ community since we're close to release.  Here's the post from the community:
This update broke Pandora on my Nexus 5&10. It will crash on launch. I cleared all app data and reinstalled Pandora but it crashes as soon as your put un/pw in. Rolling back from beta webview fixed it.

Reported new in latest WebView beta, here's CL range: https://chromium.googlesource.com/chromium/src/+log/52.0.2743.49..52.0.2743.62?pretty=fuller&n=10000

satyavathir@, can you please try to repro this?

+dalecurtis@ given the media changes landing in that revision range, if this repros I'll ask you to help find correct owner if you can.
 
London won't be able to do anything with this, because of geo restrictions.
himm test team identified a crash earlier see crbug/624089 but it looks like an app error (or more correctly the analytics sdk that the app is using). this I thought is the same thing. 
Owner: sgu...@chromium.org
I don't see this repro. Can we get logs from the reporter?

If we don't hear, then test team can try to repro. if this does not work we can assume it is crbug/624089.
Owner: satyavat...@chromium.org
can TE try to repro? Alex, I did not see this particular question in G+ community and I don't know how you can search with in the community. Can you ask them to provide logs.
This issue reproducible on Nexus 5/MOB30U/ webview: 52.0.2743.62

Video and logs ->  go/chrome-androidlogs1/6/625119
07-01 11:57:26.434 10034 10034 W cr_AwContents: onDetachedFromWindow called when already detached. Ignoring
07-01 11:57:26.436 10034 10034 D AndroidRuntime: Shutting down VM
07-01 11:57:26.445 10034 10034 E AndroidRuntime: FATAL EXCEPTION: main
07-01 11:57:26.445 10034 10034 E AndroidRuntime: Process: com.pandora.android, PID: 10034
07-01 11:57:26.445 10034 10034 E AndroidRuntime: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/webkit/ServiceWorkerController;
07-01 11:57:26.445 10034 10034 E AndroidRuntime: 	at java.lang.Class.getDeclaredFields(Native Method)
07-01 11:57:26.445 10034 10034 E AndroidRuntime: 	at com.moat.analytics.mobile.al.a(Unknown Source)
07-01 11:57:26.445 10034 10034 E AndroidRuntime: 	at com.moat.analytics.mobile.al.a(Unknown Source)
07-01 11:57:26.445 10034 10034 E AndroidRuntime: 	at com.moat.analytics.mobile.al.<init>(Unknown Source)
07-01 11:57:26.445 10034 10034 E AndroidRuntime: 	at com.moat.analytics.mobile.bh.<init>(Unknown Source)
07-01 11:57:26.445 10034 10034 E AndroidRuntime: 	at com.moat.analytics.mobile.ag.<init>(Unknown Source)
07-01 11:57:26.445 10034 10034 E AndroidRuntime: 	at com.moat.analytics.mobile.ah.<init>(Unknown Source)
07-01 11:57:26.445 10034 10034 E AndroidRuntime: 	at com.moat.analytics.mobile.bm.a(Unknown Source)
07-01 11:57:26.445 10034 10034 E AndroidRuntime: 	at com.moat.analytics.mobile.y.b(Unknown Source)
07-01 11:57:26.445 10034 10034 E AndroidRuntime: 	at com.moat.analytics.mobile.y.a(Unknown Source)
07-01 11:57:26.445 10034 10034 E AndroidRuntime: 	at com.moat.analytics.mobile.z.a(Unknown Source)
07-01 11:57:26.445 10034 10034 E AndroidRuntime: 	at com.moat.analytics.mobile.u.a(Unknown Source)
07-01 11:57:26.445 10034 10034 E AndroidRuntime: 	at com.moat.analytics.mobile.w.run(Unknown Source)
07-01 11:57:26.445 10034 10034 E AndroidRuntime: 	at android.os.Handler.handleCallback(Handler.java:739)
07-01 11:57:26.445 10034 10034 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:95)
07-01 11:57:26.445 10034 10034 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:148)
07-01 11:57:26.445 10034 10034 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:5417)
07-01 11:57:26.445 10034 10034 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
07-01 11:57:26.445 10034 10034 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
07-01 11:57:26.445 10034 10034 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
07-01 11:57:26.445 10034 10034 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: Didn't find class "android.webkit.ServiceWorkerController" on path: DexPathList[[zip file "/data/app/com.google.android.webview-2/base.apk"],nativeLibraryDirectories=[/data/app/com.google.android.webview-2/lib/arm, /data/app/com.google.android.webview-2/base.apk!/lib/armeabi-v7a, /vendor/lib, /system/lib]]
07-01 11:57:26.445 10034 10034 E AndroidRuntime: 	at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
07-01 11:57:26.445 10034 10034 E AndroidRuntime: 	at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
07-01 11:57:26.445 10034 10034 E AndroidRuntime: 	at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
07-01 11:57:26.445 10034 10034 E AndroidRuntime: 	... 20 more
07-01 11:57:26.445 10034 10034 E AndroidRuntime: 	Suppressed: java.lang.ClassNotFoundException: android.webkit.ServiceWorkerController
07-01 11:57:26.445 10034 10034 E AndroidRuntime: 		at java.lang.Class.classForName(Native Method)
07-01 11:57:26.445 10034 10034 E AndroidRuntime: 		at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
07-01 11:57:26.445 10034 10034 E AndroidRuntime: 		at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
07-01 11:57:26.445 10034 10034 E AndroidRuntime: 		at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
07-01 11:57:26.445 10034 10034 E AndroidRuntime: 		... 21 more
07-01 11:57:26.445 10034 10034 E AndroidRuntime: 	Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loa

Seems unrelated to media?

Comment 8 by amin...@google.com, Jul 1 2016

Cc: -dalecur...@chromium.org
Owner: sgu...@chromium.org
Don't disagree, thanks for taking a look. sgurun@, over to you for assignment. 
no repro on 52.0.2743.63 (which I was trying and thought should nto matter). my bad.
ok turned out that in this particular nexus5 test team installed a 64 bit version of apk rather than 32. After the right .62 apk, the problem disappeared (this is why I never saw it). I do not have any explanation why public saw the same thing or other devices, so continuing to look at it.
the problem is reliable repro on 53.0.2782.9 which we build against N SDK AFAIK.

I think I now know why pandora is crashing when it is run against 53.0.2782.9 or any version that is compiled against the "internal glue layer for N". What is happening is that moat sdk is running reflection to get all available fields from  WebViewChromiumFactoryProvider. However, some of these are undefined for M devices because they are for instances of classes that extend classes that defined in, i.e. TokenBindingService and ServiceWorkerController. In this case the first one is ServiceWorkerController, they hit it and crash.

This is because app trying to reach chromium internals. We don't have anything to fix.

Next I will look at how a crash might have been reported on 52.0.2743.62.
the beta version (52.0.2743.62) is also built using internal glue layer against N sdk (N builder) so it will fail due to the same reason explained in #12.

Closing the bug as won't fix. Until Moat library is fixed cnn and pandora will continue to crash. I already reached out to them.
Mergedinto: 624089
Status: Duplicate (was: Assigned)
I reported the bug on g+, it was the beta web view update on my n5 and n10. My devices are running the most recent ota updates. 

Sign in to add a comment