Android app crash at gltfio::ResourceLoader::Impl::cancelTextureDecoding()
Tomekkk opened this issue · comments
Describe the bug
I have seen an increase in the crash reported in the google play console from an Android app, all pointing to one place. It seems to be an issue for a quite large group of my app users.
To Reproduce
I didn't find reproduction steps.
Expected behavior
The app shouldn't crash, or in case of illegal operation/state exception, I expect to see some explanatory exception that I can handle or change the logic in my code.
Screenshots
n/a
Logs
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR)
backtrace:
#00 pc 00000000006adf00 /data/app/my.app/lib/arm64/libgltfio-jni.so (gltfio::ResourceLoader::Impl::cancelTextureDecoding()+16)
Desktop (please complete the following information):
- OS: Android
- Backend: OpenGL
Smartphone (please complete the following information):
- Devices: most common: Redmi 9, Huawei Y9 Prime 2019, POCO X3 NFC, Samsung Galaxy A51, Samsung Galaxy A32
- OS: Android 8.1, 9, 10, 11, 12
Additional context
App uses 1.20.4
version of com.google.android.filament:gltfio-android
and com.google.android.filament:filament-utils-android
App uses the method ModelViewer#loadModelGlb()
and allows users to replace various models in runtime.
Thanks, I will try to repro with our sample.