Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on Xiaomi Redmi 3X (Land) #40801

Open
slabgames opened this issue Jul 28, 2020 · 8 comments
Open

Crash on Xiaomi Redmi 3X (Land) #40801

slabgames opened this issue Jul 28, 2020 · 8 comments

Comments

@slabgames
Copy link

slabgames commented Jul 28, 2020

Godot version:

3.2.2 stable

OS/device including version:

GPU Adreno (TM) 505
Backend : GLES2

Issue description:

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:

@slabgames
Copy link
Author

is there any progress on this?

@Calinou
Copy link
Member

Calinou commented Aug 23, 2020

@slabgames Unfortunately, the backtrace isn't very useful as it wasn't made from an APK containing full debugging symbols (within native code, that is).

Some Adreno GPUs have notoriously poor OpenGL ES drivers 🙁

Also, which renderer are you using in the project? Can you upload a minimal reproduction project to make this easier to troubleshoot?

@slabgames
Copy link
Author

slabgames commented Aug 26, 2020

@Calinou every Godot project's build will crash on Xiaomi Land, so we could try a very minimal build and do debugging from there.

I think it's quite bad problem as there are still a lot of people using Redmi 3 and other Redmi with this GPU.

@Calinou
Copy link
Member

Calinou commented Aug 26, 2020

@slabgames Can you upload a minimal reproduction project, please?

@slabgames
Copy link
Author

slabgames commented Aug 31, 2020

Here is the link to minimal reproduction project, @Calinou
minimal project

@slabgames
Copy link
Author

Is there any development on this? I also got crash report upon opening game on LG G4 which is using Adreno 418.

@Calinou
Copy link
Member

Calinou commented Sep 13, 2020

@slabgames So far, nobody knows how to fix this issue.

@slabgames
Copy link
Author

got it fixed by switching to gles3 with gles2 fallback. I will just use this solution until there's a fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants