-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
load glb file by filament1.12.4 crash #4641
Comments
May be some error occur after "resourceLoader.asyncUpdateLoad()" or "scene.addEntities(list.toIntArray()", this crash |
2021-09-18 18:11:05.366 26194-26194/com.badambiz.pk.arab I/Filament: FEngine (64 bits) created at 0x6fdba00000 (threading is enabled) |
I build debug aar to run in my project, and find this error: |
2021-09-18 21:45:29.700 1119-2479/? E/Process: get_ion_cache_memory: Unable to open /d/ion/heaps/system
2021-09-18 21:45:39.724 32373-32765/com.badambiz.pk.arab E/Filament: 1: #version 300 es |
Could you share the glb file that's causing issue? |
The crash in your first log happens in the GL driver's shader compiler. Probably not much we can do about it. |
We've had a lot of issue with IMG drivers' glsl compiler. You might have more luck using the vulkan backend (not guaranteed). In any case, we can't do anything about it, unfortunately. |
Device: OPPO/CPH1909/CPH1909:8.1.0 Android:8.1.0
This is logcat error:
2021-09-18 14:41:26.484 24595-25025/com.badambiz.pk A/libc: Fatal signal 11 (SIGSEGV), code 0, fault addr 0x283b00006013 in tid 25025 (FEngine::loop), pid 24595 (adambiz.pk.arab)
2021-09-18 14:41:26.677 25069-25069/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2021-09-18 14:41:26.677 25069-25069/? A/DEBUG: Build fingerprint: 'OPPO/CPH1909/CPH1909:8.1.0/O11019/1563001939:user/release-keys'
2021-09-18 14:41:26.677 25069-25069/? A/DEBUG: Revision: '0'
2021-09-18 14:41:26.677 25069-25069/? A/DEBUG: ABI: 'arm64'
2021-09-18 14:41:26.677 25069-25069/? A/DEBUG: pid: 24595, tid: 25025, name: FEngine::loop >>> com.badambiz.pk <<<
2021-09-18 14:41:26.677 25069-25069/? A/DEBUG: signal 11 (SIGSEGV), code 0 (SI_USER), fault addr --------
2021-09-18 14:41:26.677 25069-25069/? A/DEBUG: x0 0000006fcddee610 x1 0000006fca70ae40 x2 0000006fc9eb6e90 x3 0000000000000000
2021-09-18 14:41:26.677 25069-25069/? A/DEBUG: x4 0000000000000000 x5 0000000000000001 x6 0000006fca70ab18 x7 0000000000000000
2021-09-18 14:41:26.677 25069-25069/? A/DEBUG: x8 0000006fcdfcec00 x9 0000000007ffffff x10 00000000ffffffff x11 0000006fedf5dffc
2021-09-18 14:41:26.677 25069-25069/? A/DEBUG: x12 0000000000000001 x13 0000000000000001 x14 3fffffffffffffff x15 0000100000000000
2021-09-18 14:41:26.677 25069-25069/? A/DEBUG: x16 0000000000000001 x17 00000070807b8570 x18 000000000000000b x19 0000006fcdfe1610
2021-09-18 14:41:26.677 25069-25069/? A/DEBUG: x20 0000006fd4db2e10 x21 0000006fcdf5e000 x22 00000000ffffffff x23 0000006fd4db2e14
2021-09-18 14:41:26.677 25069-25069/? A/DEBUG: x24 0000006fcddee610 x25 0000000000000000 x26 0000000000000000 x27 0000000000000000
2021-09-18 14:41:26.677 25069-25069/? A/DEBUG: x28 0000000000000001 x29 0000006fca70b0a0 x30 0000006fef3bf318
2021-09-18 14:41:26.677 25069-25069/? A/DEBUG: sp 0000006fca70abc0 pc 0000006fef3bf48c pstate 0000000080000000
2021-09-18 14:41:26.688 25069-25069/? A/DEBUG: backtrace:
2021-09-18 14:41:26.688 25069-25069/? A/DEBUG: #00 pc 000000000009548c /vendor/lib64/libusc.so
2021-09-18 14:41:26.688 25069-25069/? A/DEBUG: #1 pc 00000000000a7c04 /vendor/lib64/libusc.so
2021-09-18 14:41:26.688 25069-25069/? A/DEBUG: #2 pc 000000000009cf04 /vendor/lib64/libusc.so
2021-09-18 14:41:26.688 25069-25069/? A/DEBUG: #3 pc 000000000009b560 /vendor/lib64/libusc.so
2021-09-18 14:41:26.688 25069-25069/? A/DEBUG: #4 pc 000000000000bcac /vendor/lib64/libusc.so (PVRUniFlexCompileToHw+4012)
2021-09-18 14:41:26.688 25069-25069/? A/DEBUG: #5 pc 00000000000a0164 /vendor/lib64/libglslcompiler.so
2021-09-18 14:41:26.688 25069-25069/? A/DEBUG: #6 pc 00000000000b8158 /vendor/lib64/libglslcompiler.so (GLSLCompileToUniflex+2356)
2021-09-18 14:41:26.688 25069-25069/? A/DEBUG: #7 pc 000000000005b2f0 /vendor/lib64/egl/libGLESv2_mtk.so
2021-09-18 14:41:26.688 25069-25069/? A/DEBUG: #8 pc 000000000005b030 /vendor/lib64/egl/libGLESv2_mtk.so
2021-09-18 14:41:26.688 25069-25069/? A/DEBUG: #9 pc 000000000006eedc /vendor/lib64/egl/libGLESv2_mtk.so (glCompileShader+128)
2021-09-18 14:41:26.688 25069-25069/? A/DEBUG: #10 pc 000000000011abd8 /data/app/com.badambiz.pk-dRUa-8fecirKhz5GgZw9Iw==/lib/arm64/libfilament-jni.so
2021-09-18 14:41:39.729 25069-25069/? E/crash_dump64: failed to notify tombstoned of completion
2021-09-18 14:41:39.757 1119-2935/? E/Process: get_ion_cache_memory: Unable to open /d/ion/heaps/system
After execute this line " scene.addEntities(list.toIntArray())", then "renderer.beginFrame(swapChain!!, frameTimeNanos)" return false, and then app crash after a while.
What cause the crash?
The text was updated successfully, but these errors were encountered: