Hello everyone, today I found a very strange thing that had never happened to me.
-When I launch the app I have a WebView that loads any information.
-Well, in the 2nd load of the application it gives the error when load WebView.. I put error here below.
I have only been able to solve it in the following way.
1-Disable Chrome (it was by default for webview)
2-Update WebView (I don't know if it was necessary but I have updated it)
3-Load the app ... and it works correctly (1 time, 2 times...)
4-I turn to Enable Chrome (and it goes back to default for webview)
.... As of this moment it has already worked correctly.
I imagine that something in the Chrome cache has caused it to crash when loading the WebView in the app, and I would like to know if there is any way to prevent it from crashing. (I have it set between TryCatch and it doesn't work, it hangs anyway)
-When I launch the app I have a WebView that loads any information.
-Well, in the 2nd load of the application it gives the error when load WebView.. I put error here below.
I have only been able to solve it in the following way.
1-Disable Chrome (it was by default for webview)
2-Update WebView (I don't know if it was necessary but I have updated it)
3-Load the app ... and it works correctly (1 time, 2 times...)
4-I turn to Enable Chrome (and it goes back to default for webview)
.... As of this moment it has already worked correctly.
I imagine that something in the Chrome cache has caused it to crash when loading the WebView in the app, and I would like to know if there is any way to prevent it from crashing. (I have it set between TryCatch and it doesn't work, it hangs anyway)
B4X:
** Activity (main) Resume **
main_activity_resume
-----BEGIN CRASHPAD MINIDUMP-----
-----BEGIN CRASHPAD MINIDUMP-----
=hK+J>aZMjPg%GY6,S(Mx_gunHwN7qdz0Y^PPP[tcvf>AFBs-wCc^IYnca1J}K\]|dnv5_guY+aplm9t5.......................
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'samsung/dreamltexx/dreamlte:9/PPR1.180610.011/G950FXXSBDUA3:user/release-keys'
Revision: '10'
ABI: 'arm64'
pid: 31509, tid: 31509, name: .packagename >>> com.packagename <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
Cause: null pointer dereference
x0 0000000000000000 x1 0000007dfed541ec x2 7265646f63654400 x3 726f7463656c6553
x4 0000000000000000 x5 0000000000000000 x6 716e7362646b6452 x7 7f7f7f7f7f7f7f7f
x8 0101010101010101 x9 0000007dfeab1000 x10 0000007800027428 x11 0000007dfed54488
x12 00000000ffffffff x13 0000000000000000 x14 4b3d092f234ec266 x15 cae6c696f68e9634
x16 0000007e02dfa0f0 x17 0000007e995e2490 x18 0000000013344490 x19 0000000000000003
x20 0000000000000000 x21 000000780001fdc0 x22 0000007ffd5ec838 x23 0000007800027428
x24 0000007800027438 x25 0000000000000000 x26 0000007ffd5ecad0 x27 0000000000000000
x28 00000078000b8270 x29 0000007ffd5ec790
sp 0000007ffd5ec760 lr 0000007e01d859dc pc 0000007e01d859dc
backtrace:
#00 pc 00000000034529dc /data/app/com.android.chrome-Bmxzn5LYbgb338zgpAEO7Q==/base.apk (offset 0xa0f000)
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'samsung/dreamltexx/dreamlte:9/PPR1.180610.011/G950FXXSBDUA3:user/release-keys'
Revision: '10'
ABI: 'arm64'
pid: 31509, tid: 31509, name: .packagename >>> com.packagename <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
Cause: null pointer dereference
x0 0000000000000000 x1 0000007dfed541ec x2 7265646f63654400 x3 726f7463656c6553
x4 0000000000000000 x5 0000000000000000 x6 716e7362646b6452 x7 7f7f7f7f7f7f7f7f
x8 0101010101010101 x9 0000007dfeab1000 x10 0000007800027428 x11 0000007dfed54488
x12 00000000ffffffff x13 0000000000000000 x14 4b3d092f234ec266 x15 cae6c696f68e9634
x16 0000007e02dfa0f0 x17 0000007e995e2490 x18 0000000013344490 x19 0000000000000003
x20 0000000000000000 x21 000000780001fdc0 x22 0000007ffd5ec838 x23 0000007800027428
x24 0000007800027438 x25 0000000000000000 x26 0000007ffd5ecad0 x27 0000000000000000
x28 00000078000b8270 x29 0000007ffd5ec790
sp 0000007ffd5ec760 lr 0000007e01d859dc pc 0000007e01d859dc
backtrace:
#00 pc 00000000034529dc /data/app/com.android.chrome-Bmxzn5LYbgb338zgpAEO7Q==/base.apk (offset 0xa0f000)
Last edited: