Repository: godot
Issue: Crash on Xiaomi Redmi 3X (Land)
Labels: bug,platform:android,crash

<!-- Please search existing issues for potential duplicates before filing yours:
https://github.com/godotengine/godot/issues?q=is%3Aissue
-->

**Godot version:**
<!-- Specify commit hash if using non-official build. -->
3.2.2 stable

**OS/device including version:**
<!-- Specify GPU model, drivers, and the backend (GLES2, GLES3, Vulkan) if graphics-related. -->
GPU Adreno (TM) 505
Backend : GLES2

**Issue description:**
<!-- What happened, and what was expected. -->
The app crash upon running after waiting for a few seconds on the godot's splash screen.
```
07-29 01:23:07.587   730   730 F DEBUG   : Tombstone written to: /data/tombstones/tombstone_08
--------- beginning of main
07-29 01:34:21.223   730   730 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
07-29 01:34:21.224   730   730 F DEBUG   : Build fingerprint: 'Xiaomi/land/land:6.0.1/MMB29M/9.3.28:user/release-keys'
07-29 01:34:21.224   730   730 F DEBUG   : Revision: '0'
07-29 01:34:21.224   730   730 F DEBUG   : ABI: 'arm64'
07-29 01:34:21.224   730   730 F DEBUG   : pid: 25990, tid: 26036, name: GLThread 7417  >>> org.godotengine.testredmi3x <<<
07-29 01:34:21.224   730   730 F DEBUG   : signal 7 (SIGBUS), code 1 (BUS_ADRALN), fault addr 0x2e01
07-29 01:34:21.265   730   730 F DEBUG   :     x0   00000055957883a0  x1   0000000000002e01  x2   0000000000000001  x3   0000000000000000
07-29 01:34:21.265   730   730 F DEBUG   :     x4   0000005595788f80  x5   0000298000000002  x6   0000000000000005  x7   0000000000000014
07-29 01:34:21.265   730   730 F DEBUG   :     x8   0000000000000000  x9   0000000000000000  x10  0000000000000003  x11  00000055957883a0
07-29 01:34:21.265   730   730 F DEBUG   :     x12  0000000000000200  x13  0000000000000200  x14  0000000000000000  x15  0000000000000000
07-29 01:34:21.265   730   730 F DEBUG   :     x16  00000055957883e8  x17  0000000000000000  x18  0000005595788390  x19  00000055957883a0
07-29 01:34:21.266   730   730 F DEBUG   :     x20  0000005594957670  x21  00000055956e4b70  x22  00000055956e4c18  x23  0000007f7210d000
07-29 01:34:21.266   730   730 F DEBUG   :     x24  0000005594957670  x25  0000007f71d4c000  x26  0000007f71d4c538  x27  0000007f782cb770
07-29 01:34:21.266   730   730 F DEBUG   :     x28  0000000000000000  x29  0000007f782cb1f0  x30  0000007f71c3db84
07-29 01:34:21.266   730   730 F DEBUG   :     sp   0000007f782cb1f0  pc   0000000000002e01  pstate 0000000080000000
07-29 01:34:21.306   730   730 F DEBUG   :
07-29 01:34:21.306   730   730 F DEBUG   : backtrace:
07-29 01:34:21.306   730   730 F DEBUG   :     #00 pc 0000000000002e01  <unknown>
07-29 01:34:21.306   730   730 F DEBUG   :     #01 pc 00000000001c5b80  /system/vendor/lib64/egl/libESXGLESv2_adreno.so (_ZN9EsxGfxMem7DestroyEP10EsxContext+256)
07-29 01:34:21.306   730   730 F DEBUG   :     #02 pc 0000000000169e0c  /system/vendor/lib64/egl/libESXGLESv2_adreno.so (_ZN15EsxRenderBucket28RenderingLayoutDecGfxMemRefsEv+172)
07-29 01:34:21.307   730   730 F DEBUG   :     #03 pc 000000000016aa10  /system/vendor/lib64/egl/libESXGLESv2_adreno.so (_ZN15EsxRenderBucket5ResetEv+272)
07-29 01:34:21.307   730   730 F DEBUG   :     #04 pc 000000000018a4d0  /system/vendor/lib64/egl/libESXGLESv2_adreno.so (_ZN10EsxContext15ResetBucketInfoEv+688)
07-29 01:34:21.307   730   730 F DEBUG   :     #05 pc 00000000001b3b90  /system/vendor/lib64/egl/libESXGLESv2_adreno.so (_ZN9EsxCmdMgr5FlushE14EsxFlushReason+336)
07-29 01:34:21.307   730   730 F DEBUG   :     #06 pc 000000000018a57c  /system/vendor/lib64/egl/libESXGLESv2_adreno.so (_ZN10EsxContext18BucketCopyBltSetupEv+124)
07-29 01:34:21.307   730   730 F DEBUG   :     #07 pc 00000000001ab2c4  /system/vendor/lib64/egl/libESXGLESv2_adreno.so (_ZN9EsxBltLib9CopyBltHwEPK10EsxBltCopy+516)
07-29 01:34:21.307   730   730 F DEBUG   :     #08 pc 00000000001ad128  /system/vendor/lib64/egl/libESXGLESv2_adreno.so (_ZN9EsxBltLib7CopyBltEPK10EsxBltCopy+552)
07-29 01:34:21.307   730   730 F DEBUG   :     #09 pc 000000000010080c  /system/vendor/lib64/egl/libESXGLESv2_adreno.so (_ZN10EsxContext5HwBltEPK10EsxBltCopy+12)
07-29 01:34:21.307   730   730 F DEBUG   :     #10 pc 0000000000102b90  /system/vendor/lib64/egl/libESXGLESv2_adreno.so (_ZN10EsxContext3BltEPK10EsxBltCopy+80)
07-29 01:34:21.307   730   730 F DEBUG   :     #11 pc 0000000000118bbc  /system/vendor/lib64/egl/libESXGLESv2_adreno.so (_ZN10EsxContext12CopyTexImageE14EsxTextureTypej17EsxInternalFormatPK6EsxBoxS4_i+1084)
07-29 01:34:21.307   730   730 F DEBUG   :     #12 pc 00000000000e919c  /system/vendor/lib64/egl/libESXGLESv2_adreno.so (_ZN10EsxContext19GlCopyTexSubImage2DEjiiiiiii+124)
07-29 01:34:21.307   730   730 F DEBUG   :     #13 pc 00000000000d9c94  /system/vendor/lib64/egl/libESXGLESv2_adreno.so (glCopyTexSubImage2D+116)
07-29 01:34:21.307   730   730 F DEBUG   :     #14 pc 00000000000064fc  /system/vendor/lib64/egl/libGLESv2_adreno.so (glCopyTexSubImage2D+28)
07-29 01:34:21.307   730   730 F DEBUG   :     #15 pc 00000000006b2718  /data/app/org.godotengine.testredmi3x-1/lib/arm64/libgodot_android.so
07-29 01:34:21.307   730   730 F DEBUG   :     #16 pc 0000000000e31fc4  /data/app/org.godotengine.testredmi3x-1/lib/arm64/libgodot_android.so
07-29 01:34:21.307   730   730 F DEBUG   :     #17 pc 00000000001c1910  /data/app/org.godotengine.testredmi3x-1/lib/arm64/libgodot_android.so
07-29 01:34:21.308   730   730 F DEBUG   :     #18 pc 000000000134ecb4  /data/app/org.godotengine.testredmi3x-1/lib/arm64/libgodot_android.so
07-29 01:34:21.308   730   730 F DEBUG   :     #19 pc 0000000001346e5c  /data/app/org.godotengine.testredmi3x-1/lib/arm64/libgodot_android.so
07-29 01:34:21.308   730   730 F DEBUG   :     #20 pc 00000000013470a8  /data/app/org.godotengine.testredmi3x-1/lib/arm64/libgodot_android.so
07-29 01:34:21.308   730   730 F DEBUG   :     #21 pc 00000000007b6e74  /data/app/org.godotengine.testredmi3x-1/lib/arm64/libgodot_android.so
07-29 01:34:21.308   730   730 F DEBUG   :     #22 pc 000000000019fc30  /data/app/org.godotengine.testredmi3x-1/lib/arm64/libgodot_android.so
07-29 01:34:21.308   730   730 F DEBUG   :     #23 pc 0000000000171a98  /data/app/org.godotengine.testredmi3x-1/lib/arm64/libgodot_android.so (Java_org_godotengine_godot_GodotLib_step+184)
07-29 01:34:21.308   730   730 F DEBUG   :     #24 pc 0000000000679af8  /data/app/org.godotengine.testredmi3x-1/oat/arm64/base.odex (offset 0x402000) (void org.godotengine.godot.GodotLib.step()+124)
07-29 01:34:21.308   730   730 F DEBUG   :     #25 pc 0000000000679fd4  /data/app/org.godotengine.testredmi3x-1/oat/arm64/base.odex (offset 0x402000) (void org.godotengine.godot.GodotRenderer.onDrawFrame(javax.microedition.khronos.opengles.GL10)+216)
07-29 01:34:21.308   730   730 F DEBUG   :     #26 pc 00000000752c5afc  /data/dalvik-cache/arm64/system@framework@boot.oat (offset 0x257a000)
07-29 01:34:22.212   730   730 F DEBUG   :
07-29 01:34:22.212   730   730 F DEBUG   : Tombstone written to: /data/tombstones/tombstone_09
```

**Steps to reproduce:**
Running any app would make the app crash

**Minimal reproduction project:**
<!-- A small Godot project which reproduces the issue. Drag and drop a zip archive to upload it. -->