Repository: godot
Issue: Android Godot Editor 4 crash Fatal signal 11 (SIGSEGV), code 1, fault addr 0x648 in tid 11506 (GLThread 6542)
Labels: bug,platform:android,topic:rendering,topic:thirdparty,crash

### Godot version

4.0.1.stable

### System information

Android 6.0.1 on [LeEco Le X527 (Le 2)](https://www.gsmarena.com/leeco_le_2-8053.php). Qualcomm Adreno 510. OpenGL ES 3.1

### Issue description

Godot Editor 4 from Play store crashes on start.

```
--------- beginning of crash

03-30 22:09:49.927 11455 11506 F libc    : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x648 in tid 11506 (GLThread 6542)

03-30 22:09:49.984   547   547 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
03-30 22:09:49.984   547   547 F DEBUG   : Build fingerprint: 'LeEco/Le2_WW/le_s2_ww:6.0.1/IMXOSOP5801910311S/62:user/release-keys'
03-30 22:09:49.984   547   547 F DEBUG   : Revision: '0'
03-30 22:09:49.985   547   547 F DEBUG   : ABI: 'arm64'
03-30 22:09:49.985   547   547 F DEBUG   : pid: 11455, tid: 11506, name: GLThread 6542  >>> org.godotengine.editor.v4:GodotProjectManager <<<
03-30 22:09:49.985   547   547 F DEBUG   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x648
03-30 22:09:50.012   547   547 F DEBUG   :     x0   00000055970c8a80  x1   0000000000000000  x2   0000000000000001  x3   0000000000000000
03-30 22:09:50.012   547   547 F DEBUG   :     x4   00000055975fa710  x5   0000000000100000  x6   0000000000000000  x7   00000055970c8b38
03-30 22:09:50.012   547   547 F DEBUG   :     x8   00000055975fa790  x9   0000000000000000  x10  0000000000000000  x11  000000000000ffff
03-30 22:09:50.012   547   547 F DEBUG   :     x12  0000000000000000  x13  0000007f66890000  x14  fffffffffffffffc  x15  0000007f66c792c0
03-30 22:09:50.012   547   547 F DEBUG   :     x16  0000007f6675fbe0  x17  00000055975fa790  x18  000000000000ffff  x19  0000000000000000
03-30 22:09:50.012   547   547 F DEBUG   :     x20  00000055970f3730  x21  0000000000000001  x22  0000007f5582e778  x23  0000000000000000
03-30 22:09:50.012   547   547 F DEBUG   :     x24  0000000000000000  x25  0000000000000001  x26  000000559b7881d0  x27  0000000000000000
03-30 22:09:50.012   547   547 F DEBUG   :     x28  0000000000000000  x29  0000007f5582e570  x30  0000007f66734d88
03-30 22:09:50.012   547   547 F DEBUG   :     sp   0000007f5582e570  pc   0000007f667769a8  pstate 0000000020000000
03-30 22:09:50.033   547   547 F DEBUG   : 
03-30 22:09:50.033   547   547 F DEBUG   : backtrace:
03-30 22:09:50.033   547   547 F DEBUG   :     #00 pc 00000000002599a8  /system/vendor/lib64/egl/libGLESv2_adreno.so (_ZN9EsxCmdMgr16GfxMemReferencedEP9EsxGfxMem13EsxAccessType+328)
03-30 22:09:50.033   547   547 F DEBUG   :     #01 pc 0000000000217d84  /system/vendor/lib64/egl/libGLESv2_adreno.so (_ZNK10A5xProgram25GenerateShaderCBSlotStateEP10A5xContext13EsxCmdBufType23EsxCompiledHwShaderTypejP20A5xShaderCBSlotState+804)
03-30 22:09:50.033   547   547 F DEBUG   :     #02 pc 00000000002153d4  /system/vendor/lib64/egl/libGLESv2_adreno.so (_ZN11A5xPipeline13WriteUboStateEP10A5xContext13EsxCmdBufType23EsxCompiledHwShaderTypejP14A5xStateBuffer+180)
03-30 22:09:50.034   547   547 F DEBUG   :     #03 pc 000000000023bc04  /system/vendor/lib64/egl/libGLESv2_adreno.so (_ZN10A5xContext13ValidateStateEPK17EsxDrawDescriptor+1988)
03-30 22:09:50.034   547   547 F DEBUG   :     #04 pc 000000000023c290  /system/vendor/lib64/egl/libGLESv2_adreno.so (_ZN10A5xContext18HwValidateGfxStateEPK17EsxDrawDescriptor+16)
03-30 22:09:50.034   547   547 F DEBUG   :     #05 pc 0000000000143158  /system/vendor/lib64/egl/libGLESv2_adreno.so (_ZN10EsxContext16ValidateGfxStateEPK17EsxDrawDescriptor+536)
03-30 22:09:50.034   547   547 F DEBUG   :     #06 pc 00000000001358a8  /system/vendor/lib64/egl/libGLESv2_adreno.so (_ZN10EsxContext21DrawElementsInstancedE11EsxPrimTypej10EsxPixTypePKvj+360)
03-30 22:09:50.034   547   547 F DEBUG   :     #07 pc 000000000010fe8c  /system/vendor/lib64/egl/libGLESv2_adreno.so (glDrawElementsInstanced+76)
03-30 22:09:50.034   547   547 F DEBUG   :     #08 pc 0000000000db3ae4  /data/app/org.godotengine.editor.v4-1/lib/arm64/libgodot_android.so (offset 0x2526000)
```

Full log: [logcat.txt](https://github.com/godotengine/godot/files/11115401/logcat.txt)


### Steps to reproduce

1. Search "godot" in Google Play store on Android phone
2. Install Godot Editor 4
3. Start Godot Editor 4
4. Observe crash

### Minimal reproduction project

N/A: editor itself doesn't start and crashes.