I see thousands of crashes related to the WebView from April 8 in the google play console.
There are two types of crashes. One is AwDataDirLock and another is Signal 11.
1. From google play console, there is a crash log that occurs on Android 9 and 10. This error started on April 10.
I could not find this issue in this group. So I think it is a new issue.
Google Pixel 3a (sargo), 3840MB RAM, Android 10
java.lang.RuntimeException:
at org.chromium.android_webview.AwDataDirLock.a (PG:26)
at v7.g (PG:46)
at u7.run (PG:2)
at ov.f (PG:11)
at nv.run (Unknown Source:2)
at android.os.Handler.handleCallback (Handler.java:883)
at android.os.Handler.dispatchMessage (Handler.java:100)
at android.os.Looper.loop (Looper.java:214)
at android.app.ActivityThread.main (ActivityThread.java:7356)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:930)
Acer Liquid S1 (a10), 1024MB RAM, Android 9
java.lang.RuntimeException:
at org.chromium.android_webview.AwDataDirLock.a (PG:26)
at kn.g (PG:46)
at jn.run (PG:2)
at QB0.f (PG:11)
at PB0.run (Unknown Source:2)
at android.os.Handler.handleCallback (Handler.java:873)
at android.os.Handler.dispatchMessage (Handler.java:99)
at android.os.Looper.loop (Looper.java:214)
at android.app.ActivityThread.main (ActivityThread.java:7091)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:494)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:975)
Error message is "Using WebView from more than one process at once with the same data directory is not supported..."
But this app does not use multi process.
From the error message, I guess that Admob has been changed to create and use WebView in a separate process.
And it's causing the problem with the WebView.
Because this problem started to happen in all previous app versions, it is not related to the update of our app.
I guess that it is related to the update of Google Play Service (Admob) or WebView in April.
2. Another crash that I can see on all other android version is signal 11 error.
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR)
#00 pc 0000000000000000 <unknown>
#01 pc 000000000186e213 /data/app/com.android.chrome-1/base.apk (offset 0xc07000)
It is already famous WebView crash error.
But I read that Signal 11 or Signal 5 errors occur when using banner ads in above thread. But this app uses only native advanced ads and we have not seen these errors before April 8. So I think this is a new issue.
I guess that this crash could be related to the above AwDataDirLock error because this error started on April 8.
AwDataDirLock error could be simply fixed by using WebView.setDataDirectorySuffix on Android 9 and Android 10.
But I hope admob team also look the side effect on older android versions like this crash.
I could not reproduce these error in my test devices yet. But I hope the stack trace from google play console helps.