Search Issue Tracker
By Design
Votes
0
Found in
2020.3.42f1
Issue ID
UUM-21337
Regression
No
[Android] Crash with specific project in /apex/com.android.runtime/lib/bionic/libc.so
How to reproduce:
1. Open the attached “repro“ project
2. Build and Run for Android
3. In the Scene press the “Start“ button
4. Wait for 5 minutes
5. Observe the crash
Reproducible with: 2020.3.42f1
Not reproducible with: 2021.3.15f1, 2022.2.1f1, 2023.1.0a21
Reproducible with these devices:
Samsung Galaxy S22 (SM-S901B), Android 12, CPU: Exynos 2200, GPU: Ltd.
Samsung Galaxy S10+ (SM-G975F), Android 10, CPU: NOT FOUND, GPU: Mali-G76
Huawei - (ELS-NX9), Android 10, CPU: HiSilicon Kirin 990 5G, GPU: Mali-G76
Samsung Galaxy S20+ 5G (SM-G986B), Android 10, CPU: Exynos 990, GPU: Mali-G77
Samsung Galaxy Z Fold3 5G (SM-F926B), Android 11, CPU: Snapdragon 888, GPU: Adreno (TM) 660
Samsung Galaxy A52 (SM-A525F), Android 12, CPU: Snapdragon 720G (SM7125), GPU: Adreno (TM) 618
Not reproducible with these devices:
Samsung Galaxy Z Flip3 5G (SM-F711B), Android 12, CPU: Snapdragon 888, GPU: Adreno (TM) 660
Couldn’t test with:
iOS (xcode errors when building)
Not reproducible on: Windows Standalone Player
First lines of the backtrace:
#00 pc 00054156 /apex/com.android.runtime/lib/bionic/libc.so (abort+166) (BuildId: 2ae2ed355dc68e7fe1e09d70518111d1)
#01 pc 0003606d /system/lib/libc+.so (BuildId: fa0397c630f1e14558b6409ed72175a4)
#02 pc 000361e7 /system/lib/libc.so (BuildId: fa0397c630f1e14558b6409ed72175a4)
#03 pc 00044eef /system/lib/libc.so (BuildId: fa0397c630f1e14558b6409ed72175a4)
#04 pc 00044709 /system/lib/libc.so (__cxa_get_exception_ptr) (BuildId: fa0397c630f1e14558b6409ed72175a4)
#05 pc 0004466d /system/lib/libc+.so (__cxa_throw+72) (BuildId: fa0397c630f1e14558b6409ed72175a4)
#06 pc 00046ce9 /system/lib/libc++.so (operator new(unsigned int)+52) (BuildId: fa0397c630f1e14558b6409ed72175a4)
#07 pc 002d27bf /apex/com.android.runtime/lib/libart.so
#08 pc 0056b105 /data/app/com.DefaultCompany.RacetheBall-A0AZIQlcm9PJqHGItPE-FQ==/lib/arm/libunity.so
#09 pc 0057fbe3 /data/app/com.DefaultCompany.RacetheBall-A0AZIQlcm9PJqHGItPE-FQ==/lib/arm/libunity.so
#10 pc 00579663 /data/app/com.DefaultCompany.RacetheBall-A0AZIQlcm9PJqHGItPE-FQ==/lib/arm/libunity.so
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Resolution Note:
The app appears to crash due to out of memory.
Could not reproduce on Nokia 7 Plus (10.0), but Pixel 5 (13) did crash with out of memory. The attached stacktrace also suggests failure to allocate memory.
Out of memory bugs are only valid when proven that Unity leaks with a proper usage of it. The project needs to be profiled to determine the source of the leak.