Webview is crashing when an app which is hosting a webview control is launched
Reported by
pardeep....@gmail.com,
Jun 23 2016
|
||
Issue descriptionTHIS TEMPLATE IS FOR FILING BUGS ON THE ANDROID SYSTEM WEBVIEW. GENERAL WEB BUGS SHOULD BE FILED USING A DIFFERENT TEMPLATE! Device name:Nexus 6 Android version:N WebView version (from system settings -> Apps -> Android System WebView):51.0.2704.81 Application: my sample app Application version: URLs (if applicable): Steps to reproduce: (1) Just launching an app, which is hosting a WebView, resulting into crash with below call stack: 06-23 14:35:19.091 15596 15596 E AndroidRuntime: java.lang.RuntimeException: Call not supported 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at com.android.webview.chromium.WebViewDelegateFactory$ProxyDelegate.callDrawGlFunction(WebViewDelegateFactory.java:155) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at com.android.webview.chromium.DrawGLFunctor.requestDrawGL(DrawGLFunctor.java:72) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at com.android.webview.chromium.WebViewChromium$WebViewNativeGLDelegate.requestDrawGL(WebViewChromium.java:2212) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at org.chromium.android_webview.AwGLFunctor.requestDrawGLForCanvas(AwGLFunctor.java:76) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at org.chromium.android_webview.AwContents$AwViewMethodsImpl.onDraw(AwContents.java:2925) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at org.chromium.android_webview.AwContents.onDraw(AwContents.java:1253) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at com.android.webview.chromium.WebViewChromium.onDraw(WebViewChromium.java:1695) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.webkit.WebView.onDraw(WebView.java:2513) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.View.draw(View.java:16862) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.View.updateDisplayListIfDirty(View.java:15857) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.View.draw(View.java:16632) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.ViewGroup.drawChild(ViewGroup.java:3681) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3469) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.View.updateDisplayListIfDirty(View.java:15852) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.View.draw(View.java:16632) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.ViewGroup.drawChild(ViewGroup.java:3681) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3469) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.View.draw(View.java:16865) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.View.updateDisplayListIfDirty(View.java:15857) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.View.draw(View.java:16632) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.ViewGroup.drawChild(ViewGroup.java:3681) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3469) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.View.draw(View.java:16865) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.View.updateDisplayListIfDirty(View.java:15857) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.View.draw(View.java:16632) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.ViewGroup.drawChild(ViewGroup.java:3681) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3469) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.View.draw(View.java:16865) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.View.updateDisplayListIfDirty(View.java:15857) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.View.draw(View.java:16632) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.ViewGroup.drawChild(ViewGroup.java:3681) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3469) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.View.draw(View.java:16865) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.View.updateDisplayListIfDirty(View.java:15857) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.View.draw(View.java:16632) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.ViewGroup.drawChild(ViewGroup.java:3681) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.support.v4.widget.DrawerLayout.drawChild(DrawerLayout.java:1229) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3469) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.View.draw(View.java:16865) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.View.updateDisplayListIfDirty(View.java:15857) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.View.draw(View.java:16632) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.ViewGroup.drawChild(ViewGroup.java:3681) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3469) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.View.draw(View.java:16865) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.View.updateDisplayListIfDirty(View.java:15857) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.View.draw(View.java:16632) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.ViewGroup.drawChild(ViewGroup.java:3681) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3469) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.View.draw(View.java:16865) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.View.updateDisplayListIfDirty(View.java:15857) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.View.draw(View.java:16632) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.ViewGroup.drawChild(ViewGroup.java:3681) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3469) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.View.draw(View.java:16865) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at com.android.internal.policy.DecorView.draw(DecorView.java:706) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.View.updateDisplayListIfDirty(View.java:15857) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:656) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:662) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:770) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.ViewRootImpl.draw(ViewRootImpl.java:2697) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2518) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2130) 06-23 14:35:19.091 15596 15596 E AndroidRuntime: at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1186) 06-23 14:35:19.092 15596 15596 E AndroidRuntime: at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6206) 06-23 14:35:19.092 15596 15596 E AndroidRuntime: at android.view.Choreographer$CallbackRecord.run(Choreographer.java:858) 06-23 14:35:19.092 15596 15596 E AndroidRuntime: at android.view.Choreographer.doCallbacks(Choreographer.java:670) 06-23 14:35:19.092 15596 15596 E AndroidRuntime: at android.view.Choreographer.doFrame(Choreographer.java:606) 06-23 14:35:19.092 15596 15596 E AndroidRuntime: at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844) 06-23 14:35:19.092 15596 15596 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:739) 06-23 14:35:19.092 15596 15596 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:95) 06-23 14:35:19.092 15596 15596 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148) 06-23 14:35:19.092 15596 15596 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5849) 06-23 14:35:19.092 15596 15596 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 06-23 14:35:19.092 15596 15596 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:763) 06-23 14:35:19.092 15596 15596 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:653)
,
Jun 23 2016
Build number is : NPC56P
,
Jun 23 2016
Hm. Do you have an update to either Chrome or WebView installed on this device, or are they just the preinstalled system version?
,
Jun 23 2016
I didn't install any update so it must the preinstalled system version only
,
Jun 23 2016
It updates automatically via the play store. Can you go into the app list and see if either Chrome or WebView has the option to uninstall updates? If so then you have an update installed. You could also capture a full bugreport from the device with "adb bugreport" and attach it, but note that this may contain private information - you could email it to me instead if you are concerned. A bugreport would let us confirm exactly what version of everything is installed. This error *should* only be possible if the WebView version doesn't match the Android version in use, which shouldn't be possible for the preinstalled system version - this is why I suspect you have somehow gotten an (incorrect) update installed.
,
Jun 23 2016
Checked there is no option to uninstall the updates for either of these. As per comment #1, this is a know issue on Android N DP1 and DP2. Isn't that the case? Since I am on DP1, and if comment #1 is correct then issue should go away if I update to DP 2 or 3
,
Jun 23 2016
Oh, apologies; I got the build numbers confused and thought you were already on a newer preview build. You should install DP4, build NPD56N. All earlier previews are obsolete and not using final APIs.
,
Jun 23 2016
However, if there's no update installed, then this error should not happen. The problem with DP1 and DP2 was that it was possible for an update to be installed, which would cause this error. If no update is installed, the WebView in DP1/DP2 should work fine.
,
Jun 30 2016
Verified on DP4, this issue no more repro. Thanks all! |
||
►
Sign in to add a comment |
||
Comment 1 by torne@chromium.org
, Jun 23 2016