Closed putuoka closed 1 year ago
I'm also experiencing this issue. On the native stack I get the following stacktrace:
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x20
Cause: null pointer dereference
x0 0000000000000000 x1 0000007316618c8c x2 0000000000000000 x3 0000000000000000
x4 0000000000000078 x5 0000000000000438 x6 00000000000004b7 x7 0000000000000000
x8 0000000000000000 x9 0000000000000000 x10 0000000000000000 x11 0000000200000004
x12 0000000000000000 x13 00000073164525d0 x14 0000007316750708 x15 000000000000002e
x16 000000730edcb7d0 x17 0000007313fe8b40 x18 0000006fd19e2000 x19 0000000000000000
x20 0000000000000000 x21 0000000000000000 x22 0000000000000000 x23 0000000000000000
x24 0000000000000000 x25 0000000000000000 x26 0000000000000000 x27 0000000000000000
x28 0000000000000000 x29 0000006fd1b75bd0
lr 00000073168ee65c sp 0000006fd1b75bd0 pc 0000007316809d74 pst 0000000020001000
backtrace:
#00 pc 0000000000409d74 /system/lib64/libhwui.so (SkSurface::getCanvas()+16)
Try adding opacity: 0.99 in styles or try adding minHeight: 1
I had the similar issue and I was not able to identify the root cause from any kind of logs then I tried this solution and it worked. I have already raised Pull Request if that works.
https://github.com/iou90/react-native-autoheight-webview/pull/246
sorry I have to close this issue because it has been successfully resolved. the issue is on scrollview overscroll. if you have webview inside scrollview add this overScrollMode="never"
ref: [Crash] WebView inside ScrollView crash on scroll end - Android https://lightrun.com/answers/react-native-webview-react-native-webview-crash-webview-inside-scrollview-crash-on-scroll-end---android
Bug description: Silent crash without log error on emulator pixel 2 api 31 Android 12. Video https://youtu.be/wtrPaFkw7ss
To Reproduce:
Source (static HTML or url):
Expected behavior:
Screenshots/Videos: https://youtu.be/wtrPaFkw7ss
Environment: