New issue
Advanced search Search tips

Issue 621503 link

Starred by 3 users

Issue metadata

Status: Archived
Owner:
Closed: Jul 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

After update Android System WebView to version 51.0.2704.81, The app crashes on Asus Zenfone.

Reported by atas...@gmail.com, Jun 20 2016

Issue description

Steps to reproduce the problem:
1. add a webview to android project.
2. for us different but I tested on google, the result is same loadUrl("https://www.google.com.tr")
3. it crashes.

What is the expected behavior?
do not crash, work as previous webview versions.

What went wrong?
After update Android System WebView version to 51.0.2704.81, my app crashes.
Log:

V/WebViewChromiumFactoryProvider: Binding Chromium to main looper Looper (main, tid 1) {2c4e2973}
I/cr_LibraryLoader: Expected native library version number "51.0.2704.81", actual native library version number "51.0.2704.81"
I/chromium: [INFO:library_loader_hooks.cc(143)] Chromium logging enabled: level = 0, default verbosity = 0
I/cr_BrowserStartup: Initializing chromium process, singleProcess=true
E/ApkAssets: Error while loading asset assets/natives_blob_64.bin: java.io.FileNotFoundException: assets/natives_blob_64.bin
E/ApkAssets: Error while loading asset assets/snapshot_blob_64.bin: java.io.FileNotFoundException: assets/snapshot_blob_64.bin
I/art: Rejecting re-init on previously-failed class java.lang.Class<com.android.webview.chromium.WebViewContentsClientAdapter$WebResourceErrorImpl>
I/art: Rejecting re-init on previously-failed class java.lang.Class<com.android.webview.chromium.WebViewContentsClientAdapter$WebResourceErrorImpl>
D/ConnectivityManager.CallbackHandler: CM callback handler got msg 524290
I/art: Rejecting re-init on previously-failed class java.lang.Class<org.chromium.content.browser.FloatingWebActionModeCallback>
I/art: Rejecting re-init on previously-failed class java.lang.Class<org.chromium.content.browser.FloatingWebActionModeCallback>
D/cr_Ime: [InputMethodManagerWrapper.java:30] Constructor
W/cr_AwContents: onDetachedFromWindow called when already detached. Ignoring
D/cr_Ime: [InputMethodManagerWrapper.java:59] isActive: false
I/cr_Ime: ImeThread is not enabled.
E/libEGL: validate_display:255 error 3008 (EGL_BAD_DISPLAY)
V/ActivityLifecycleService: ActivityEvent: START, Class: IntroductionActivity
V/ActivityLifecycleService: ActivityEvent: START, Class: IntroductionActivity
V/ActivityLifecycleService: ActivityEvent: RESUME, Class: IntroductionActivity
V/ActivityLifecycleService: ActivityEvent: RESUME, Class: IntroductionActivity
I/Choreographer: Skipped 37 frames!  The application may be doing too much work on its main thread.
V/RenderScript: Application requested CPU execution
V/RenderScript: 0xb7dcc9c0 Launching thread(s), CPUs 4
W/google-breakpad: Microdump crash handler failed.
A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x2000 in tid 27682 (anking.tr.debug)

                                                                                 [ 06-20 15:52:26.694   225:  225 E/         ]
                                                                                 ptrace attach failed: Operation not permitted

Crashed report ID: no

How much crashed? Just one plugin

Is it a problem with a plugin? N/A 

Did this work before? Yes Older webview version, but which version I cound't know. Because I cound't test all versions, but bug is reported to us for this version.

Chrome version: 51.0.2704.81  Channel: stable
OS Version: 5.0
Flash Version: 

I also tested on HTC m9, Samsung S6, Nexus P6. There is no problem on these devices. 
Asus Zenfone has Intel based proccessor.
 
Components: Mobile>WebView
Do you have a log that has at least debuggerd output?

Comment 3 by atas...@gmail.com, Jun 20 2016

I get a new log without any filter, I guess it's about "AstSdk".

06-20 19:13:23.765 9941-9941/at.xyz.abc.client.onlinebankxyz.tr.debug D/WebViewFragment: loading URL https://dc2vmmbjboss01.mobile.domain.bankanet.com.tr:8743/online-banking/wicket/activate
06-20 19:13:23.775 849-849/? D/XT9IME: new subtype :tr_TR ,keyboard
06-20 19:13:23.775 9941-9941/at.xyz.abc.client.onlinebankxyz.tr.debug I/cr_Ime: ImeThread is not enabled.
06-20 19:13:23.875 9941-11430/at.xyz.abc.client.onlinebankxyz.tr.debug E/libEGL: validate_display:255 error 3008 (EGL_BAD_DISPLAY)
06-20 19:13:23.895 11346-11346/? I/native: AstSdk error detected: <45>
06-20 19:13:23.905 11346-11346/? I/native: AstSdk error detected: <0>
06-20 19:13:23.915 11346-11346/? I/native: AstSdk error detected: <45>
06-20 19:13:23.995 9941-11345/at.xyz.abc.client.onlinebankxyz.tr.debug W/google-breakpad: Microdump crash handler failed.
06-20 19:13:23.995 11346-11346/? I/native: AstSdk error detected: <0>
06-20 19:13:23.995 9941-11345/at.xyz.abc.client.onlinebankxyz.tr.debug A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x2000 in tid 11345 (ankxyz.tr.debug)
                                                                                
                                                                                [ 06-20 19:13:23.995 28980:28980 E/         ]
                                                                                ptrace attach failed: Operation not permitted
06-20 19:13:24.035 537-636/? W/InputDispatcher: channel '22fee2f Toast (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
06-20 19:13:24.035 537-636/? E/InputDispatcher: channel '22fee2f Toast (server)' ~ Channel is unrecoverably broken and will be disposed!
06-20 19:13:24.035 537-636/? W/InputDispatcher: channel '32bf8dc2 at.xyz.abc.client.onlinebankxyz.tr.debug/at.xyzabc.xyzabcapp.gui.activity.DefinePinActivity (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
06-20 19:13:24.045 537-636/? E/InputDispatcher: channel '32bf8dc2 at.xyz.abc.client.onlinebankxyz.tr.debug/at.xyzabc.xyzabcapp.gui.activity.DefinePinActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
06-20 19:13:24.045 233-233/? I/Zygote: Process 9941 exited due to signal (11)
06-20 19:13:24.045 537-625/? E/JavaBinder: !!! FAILED BINDER TRANSACTION !!!
06-20 19:13:24.135 537-636/? W/InputDispatcher: channel '9803cb2 at.xyz.abc.client.onlinebankxyz.tr.debug/at.xyzabc.xyzabcapp.gui.activity.IntroductionActivity (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
06-20 19:13:24.135 537-972/? I/libprocessgroup: Killing pid 11346 in uid 10116 as part of process group 9941
06-20 19:13:24.135 537-636/? E/InputDispatcher: channel '9803cb2 at.xyz.abc.client.onlinebankxyz.tr.debug/at.xyzabc.xyzabcapp.gui.activity.IntroductionActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
06-20 19:13:24.135 537-972/? I/libprocessgroup: Killing pid 11346 in uid 10116 as part of process group 9941
06-20 19:13:24.135 537-1177/? I/WindowState: WIN DEATH: Window{9803cb2 u0 at.xyz.abc.client.onlinebankxyz.tr.debug/at.xyzabc.xyzabcapp.gui.activity.IntroductionActivity}
06-20 19:13:24.135 537-972/? I/libprocessgroup: Killing pid 11346 in uid 10116 as part of process group 9941
06-20 19:13:24.135 537-1177/? W/InputDispatcher: Attempted to unregister already unregistered input channel '9803cb2 at.xyz.abc.client.onlinebankxyz.tr.debug/at.xyzabc.xyzabcapp.gui.activity.IntroductionActivity (server)'
06-20 19:13:24.135 537-950/? D/ConnectivityService: ConnectivityService NetworkRequestInfo binderDied(NetworkRequest [ id=79, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ], android.os.BinderProxy@1a13c141)
06-20 19:13:24.135 537-553/? D/ConnectivityService: ConnectivityService NetworkRequestInfo binderDied(NetworkRequest [ id=80, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ], android.os.BinderProxy@189146e6)
06-20 19:13:24.135 537-972/? I/libprocessgroup: Killing pid 11346 in uid 10116 as part of process group 9941
06-20 19:13:24.135 537-647/? D/ConnectivityService: releasing NetworkRequest NetworkRequest [ id=79, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ]
06-20 19:13:24.135 537-647/? E/ConnectivityService: RemoteException caught trying to send a callback msg for NetworkRequest [ id=79, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ]
06-20 19:13:24.145 537-647/? D/ConnectivityService: releasing NetworkRequest NetworkRequest [ id=80, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ]
06-20 19:13:24.145 537-972/? I/libprocessgroup: Killing pid 11346 in uid 10116 as part of process group 9941
06-20 19:13:24.145 537-647/? E/ConnectivityService: RemoteException caught trying to send a callback msg for NetworkRequest [ id=80, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ]
06-20 19:13:24.145 537-972/? I/libprocessgroup: Killing pid 11346 in uid 10116 as part of process group 9941
06-20 19:13:24.145 537-972/? I/libprocessgroup: Killing pid 11346 in uid 10116 as part of process group 9941
06-20 19:13:24.155 537-552/? I/WindowState: WIN DEATH: Window{22fee2f u0 Toast}
06-20 19:13:24.155 537-552/? W/InputDispatcher: Attempted to unregister already unregistered input channel '22fee2f Toast (server)'
06-20 19:13:24.155 537-972/? I/libprocessgroup: Killing pid 11346 in uid 10116 as part of process group 9941
06-20 19:13:24.155 537-636/? W/InputDispatcher: channel '31975957 at.xyz.abc.client.onlinebankxyztr.debug/at.xyzabc.xyzabcapp.gui.activity.SmartSecureInfoActivity (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
06-20 19:13:24.155 537-636/? E/InputDispatcher: channel '31975957 at.xyzabc.client.onlinebankxyztr.debug/at.xyzabc.xyzabcapp.gui.activity.SmartSecureInfoActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
06-20 19:13:24.165 537-1153/? I/WindowState: WIN DEATH: Window{31975957 u0 at.xyzabc.client.onlinebankxyztr.debug/at.xyzabc.xyzabcapp.gui.activity.SmartSecureInfoActivity}
06-20 19:13:24.165 537-1153/? W/InputDispatcher: Attempted to unregister already unregistered input channel '31975957 at.xyzabc.client.onlinebankxyztr.debug/at.xyzabc.xyzabcapp.gui.activity.SmartSecureInfoActivity (server)'
06-20 19:13:24.165 537-1155/? I/WindowState: WIN DEATH: Window{32bf8dc2 u0 at.xyzabc.client.onlinebankxyz.tr.debug/at.xyzabc.xyzabcapp.gui.activity.DefinePinActivity}
06-20 19:13:24.165 537-1155/? W/InputDispatcher: Attempted to unregister already unregistered input channel '32bf8dc2 at.xyz.abc.client.onlinebankxyz.tr.debug/at.xyzabc.xyzabcapp.gui.activity.DefinePinActivity (server)'
06-20 19:13:24.175 537-972/? I/ActivityManager: Process at.xyz.abc.client.onlinebankxyz.tr.debug (pid 9941) has died
06-20 19:13:24.175 537-972/? W/ActivityManager: Scheduling restart of crashed service at.xyz.abc.client.onlinebankxyz.tr.debug/at.xyzabc.xyzabcapp.service.ActivityLifecycleService in 64000ms
06-20 19:13:24.175 180-180/? W/SurfaceFlinger: couldn't log to binary event log: overflow.
06-20 19:13:24.175 537-972/? W/ActivityManager: Force removing ActivityRecord{29759329 u0 at.xyz.abc.client.onlinebankxyz.tr.debug/at.xyzabc.xyzabcapp.gui.activity.DefinePinActivity t100}: app died, no saved state
06-20 19:13:24.175 537-972/? W/ActivityManager: Force removing ActivityRecord{2240307b u0 at.xyz.abc.client.onlinebankxyz.tr.debug/at.xyzabc.xyzabcapp.gui.activity.SmartSecureInfoActivity t100}: app died, no saved state
06-20 19:13:24.225 11447-11447/? I/art: Late-enabling -Xcheck:jni
06-20 19:13:24.225 537-972/? I/ActivityManager: Start proc at.xyz.abc.client.onlinebankxyz.tr.debug for activity at.xyz.abc.client.onlinebankxyz.tr.debug/at.xyzabc.xyzabcapp.gui.activity.IntroductionActivity: pid=11447 uid=10116 gids={50116, 9997, 3003, 1028, 1015, 3002} abi=x86
06-20 19:13:24.255 537-1178/? D/WindowManager: adjustConfigurationLw, config:{0 1.0 ?mcc?mnc ?locale ?layoutDir sw360dp w360dp h615dp 320dpi nrml long port ?uimode ?night finger -keyb/v/h -nav/v} mLidState:1 mHasDockFeature:false mHasKeyboardFeature:false mHasHallSensorFeature:true config.hardKeyboardHidden:2
06-20 19:13:24.285 11447-11447/at.xyz.abc.client.onlinebankxyz.tr.debug V/Monotype: SetAppTypeFace- try to flip, app = at.xyz.abc.client.onlinebankxyz.tr.debug
06-20 19:13:24.285 11447-11447/at.xyz.abc.client.onlinebankxyz.tr.debug V/Monotype:     Typeface getFontPathFlipFont - systemFont = default#default
06-20 19:13:24.355 180-180/? D/hwcomposer: int IntelDisplayPlaneManager::setZOrderConfig(int, int): set zorder: 3
06-20 19:13:24.355 11447-11447/at.xyz.abc.client.onlinebankxyz.tr.debug V/Monotype: SetAppTypeFace- try to flip, app = at.xyz.abc.client.onlinebankxyz.tr.debug
06-20 19:13:24.355 11447-11447/at.xyz.abc.client.onlinebankxyz.tr.debug V/Monotype:     Typeface getFontPathFlipFont - systemFont = default#default
06-20 19:13:24.375 537-553/? D/WindowManager: adjustConfigurationLw, config:{0 1.0 ?mcc?mnc ?locale ?layoutDir sw360dp w360dp h615dp 320dpi nrml long port ?uimode ?night finger -keyb/v/h -nav/v} mLidState:1 mHasDockFeature:false mHasKeyboardFeature:false mHasHallSensorFeature:true config.hardKeyboardHidden:2
06-20 19:13:24.385 180-180/? D/hwcomposer: int IntelDisplayPlaneManager::setZOrderConfig(int, int): set zorder: 0
06-20 19:13:24.405 180-180/? D/hwcomposer: bool IntelOverlayContext::disable(uint32_t): disable overlay...
06-20 19:13:24.435 181-181/? I/upi_ug31xx: [get_daemon_uevent_request]: uevent_request = 0 (0000)

Comment 4 by torne@chromium.org, Jun 20 2016

So looks like some kind of GL error followed by our breakpad handler not working. There's a confusing and weirdly formatted message about ptrace attach failing due to EPERM - not sure if that's coming from the breakpad child process (I don't think our code formats messages that way) or not though.

It's possible that's coming from debuggerd or some other crash handling thing; if it can't ptrace the process then that would also explain why breakpad can't work. I'm not sure why ptrace would fail here - maybe the app has explicitly set itself nondumpable? Is this your app? Does it contain any code other than the minimal stuff to start the WebView?

If it's just a test app, can you give us a copy of it (and ideally the source code) so we can try to reproduce this?

Comment 5 by atas...@gmail.com, Jun 21 2016

Thank you for your interest. I updated the astsdk library with newer. And my problem doesn't occur now. You can close the ticket for me. 

Comment 6 by torne@chromium.org, Jun 21 2016

Is it possible for you to give us a test app to reproduce this with anyway? Even if the problem is ultimately not in the WebView, I'd still like to investigate why we don't get our usual crash dump invoked in this case, as that may be an issue on our side..

Comment 7 by atas...@gmail.com, Jun 22 2016

I prepared a test app you can reproduce with. 
webviewtest.zip
5.0 MB Download

Comment 8 by torne@chromium.org, Jun 22 2016

I can't build that; it complains about AstSdk stuff being missing. Can you also attach the APK?

Comment 9 by atas...@gmail.com, Jun 23 2016

It's strange, you tried to build debug, didn't you? I added apk file.
app-debug.apk
5.3 MB Download
Owner: torne@chromium.org
Project Member

Comment 11 by sheriffbot@chromium.org, Jul 4 2017

Status: Archived (was: Unconfirmed)
Issue has not been modified or commented on in the last 365 days, please re-open or file a new bug if this is still an issue.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment