WebView native crashes
Reported by
kai.cmst...@gmail.com,
May 9 2018
|
|||||
Issue descriptionSteps to reproduce the problem: 1. After a recent app update, native crashes in the WebView component have more than doubled 2. Google Play Console Crash Reports are meaningless to me because they are only one-liners of native backtrace What is the expected behavior? What went wrong? We have an app that is essentially at its core driven by a WebView with a bunch of native elements for notifications, network management, error screens etc. Since a recent app update, the crash rate in the Play console is now noticeably above the bad behaviour threshold (and was way below before) and it's due to a sharp increase in app crashes within the WV component. The app started to be released around the 27th of April, which unfortunately ~ coincides with the Chrome 66 rollout as far as I can see. The actual WV content (which is a customised build of a mobile web site) hasn't changed. The crashes happen across any sdk version and vary in numbers for some of the crashes. Here are a few examples. 1. In this grouping above the vast majority of crashes are on 5.1 and 6.0 (about 90% in total) --- Error: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR) Some backtrace examples (and they're all just the one line each) #00 pc 000000000095c240 /system/app/WebViewGoogle/lib/arm/libwebviewchromium.so (A 5.1) #00 pc 0000000000a38e1c /system/app/WebViewGoogle/lib/arm/libwebviewchromium.so (A 5.1) #00 pc 00000000007354ae /data/app/com.google.android.webview-1/lib/arm/libwebviewchromium.so (A 6.0) #00 pc 0000000000d8ed4c /system/app/WebViewGoogle/lib/arm/libwebviewchromium.so (A 5.1) --- 2. This grouping only gets reported on Android 7+ (and the backtraces have 2 lines) --- Error: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR) backtrace examples: #00 pc 000000000093ed14 /data/app/com.android.chrome-2/base.apk #01 pc 000000000093ecec /data/app/com.android.chrome-2/base.apk #00 pc 00000000019dc9a8 /data/app/com.android.chrome-2/base.apk #01 pc 00000000025c9858 /data/app/com.android.chrome-2/base.apk #00 pc 000000000093ed14 /data/app/com.android.chrome-gxsBb6NyjjmGF0sOv4p0LQ==/base.apk #01 pc 000000000093ecec /data/app/com.android.chrome-gxsBb6NyjjmGF0sOv4p0LQ==/base.apk #00 pc 000000000093ed14 /data/app/com.android.chrome-1/base.apk #01 pc 000000000093ecec /data/app/com.android.chrome-1/base.apk --- 3. Another noticeable group is this (exclusively on Android 6) --- Error: signal 4 (SIGILL), code 1 (ILL_ILLOPC) backtrace samples: #00 pc 0000000000964520 /system/app/WebViewGoogle/WebViewGoogle.apk #00 pc 000000000095c240 /system/app/WebViewGoogle/WebViewGoogle.apk #00 pc 000000000116d2d8 /system/app/WebViewGoogle/WebViewGoogle.apk --- Is there any way to get more info on what those backtraces actually mean and what might be behind them? I understand that in some instances it might be the actual web content causing issues, but I've read in another, older ticket that sometimes the actual Java/Kotlin implementation of the app can cause issues, too - which I'd love to look into, but I'm just stuck at this stage. Any suggestion, or anything else we can provide? Did this work before? N/A Does this work in other browsers? N/A Chrome version: Multiple Channel: stable OS Version: WebView Flash Version:
,
May 10 2018
,
May 10 2018
kai.cmstuff@ -- Thanks for reporting this issue. Could you please share the application details or the sample test application where the mentioned crash can be reproduced along with the possible steps leading to crash. Also, please share the device details including the OS version where the crashes can be noticed. This will help us in reproducing and triaging the issue further. Thanks in advance.
,
May 10 2018
The application id in Google Play is com.cupidmedia.wrapper.internationalcupid Unfortunately we can't reproduce the issue at all locally in testing - I got all those one-line back traces from the Google Play Crash reports. OS versions affected are acorss the board: 5.0,5.1,6,7,7.1,8 It doesn't seem to be limited to any particular kind of device either. In https://bugs.chromium.org/p/chromium/issues/detail?id=823692 it seems that you have an option to in some instances see more data via internal systems for the app id, I guess all we can hope for is that them?
,
May 10 2018
Thank you for providing more feedback. Adding the requester to the cc list. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
May 10 2018
I looked at com.cupidmedia.wrapper.internationalcupid in our crash report, there are only few of them, there is one looks suspicious and associated with M66. But we didn't have enough info to process on that one (issue 823217, not opened to public) either. Unfortunately, we can't do anything unless there is a way to repro crashes more reliable. I'll just close this one, feel free to open another if you can provide us more info, thanks! |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by kai.cmst...@gmail.com
, May 9 2018