Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in
2020.3
2020.3.26f1
Issue ID
1398284
Regression
No
[Android][IL2CPP] Crash with signal 6 on CreateFreeThreadedMarshaler when application is built with IL2CPP Scripting Backend
Reproduction steps:
1. Open the attached user's Unity project "Il2cppCrash.zip"
2. Go to File > Build Settings and switch to Android Platform
3. Go to Player Settings and make sure that IL2CPP Scripting Backend is selected
4. Go back to Build Settings
5. Build and install the application on a device
6. Observe the application on a device
Expected result: The application does not crash
Actual result: The application crash
Reproducible with: 2020.3.31f1
Not reproducible with: 2021.2.0b4, 2021.2.16f1, 2022.1.0b13, 2022.2.0a8
Could not test with: 2019.4.37f1 (Build failure due to files corruption), 2021.2.0a1 - 2021.2.0b3 (Build failure)
First Stacktrace lines of Development Build:
pc 000000000001e398 /system/lib64/libc.so (abort+104) (BuildId: 619c6f0f2a6805db14c3fe0763c8af1d)
(il2cpp::os::COM::CreateFreeThreadedMarshaler(Il2CppIUnknown*, Il2CppIUnknown**)) (BuildId: 7888b564eb41ab764096e919b36b44509d1ca782)
Error AndroidRuntime #02 pc 00000000005390fc /data/app/com.SmoothE.TableRacing--EzrLZnmpwsX8fX9XsNqfA==/lib/arm64/libil2cpp.so (GetGenericParameterFromIndexInternal(int)+220) (BuildId: 7888b564eb41ab764096e919b36b44509d1ca782)
Error AndroidRuntime #03 pc 0000000000533a50 /data/app/com.SmoothE.TableRacing--EzrLZnmpwsX8fX9XsNqfA==/lib/arm64/libil2cpp.so (InitializeGenericParameterHandle(Il2CppType*)+24) (BuildId: 7888b564eb41ab764096e919b36b44509d1ca782)
Error AndroidRuntime #04 pc 00000000005339e4 /data/app/com.SmoothE.TableRacing--EzrLZnmpwsX8fX9XsNqfA==/lib/arm64/libil2cpp.so (ProcessIl2CppTypeDefinitions(void (*)(Il2CppType*), void (*)(Il2CppType*))+692) (BuildId: 7888b564eb41ab764096e919b36b44509d1ca782)
Error AndroidRuntime #05 pc 0000000000533434 /data/app/com.SmoothE.TableRacing--EzrLZnmpwsX8fX9XsNqfA==/lib/arm64/libil2cpp.so (il2cpp::vm::GlobalMetadata::Initialize(int*, int*)+692) (BuildId: 7888b564eb41ab764096e919b36b44509d1ca782)
Error AndroidRuntime #06 pc 0000000000543810 /data/app/com.SmoothE.TableRacing--EzrLZnmpwsX8fX9XsNqfA==/lib/arm64/libil2cpp.so (il2cpp::vm::MetadataCache::Initialize()+184) (BuildId: 7888b564eb41ab764096e919b36b44509d1ca782)
Reproduces with these devices:
VLNQA00277 - Asus ROG Phone (ASUS_Z01QD), OS: 9.0.0, CPU: Snapdragon 845 SDM845, GPU: Adreno 630
VLNQA00121 - Samsung Galaxy S9 (SM-G960F), OS: 9.0.0, CPU: Exynos 9 Series 9810, GPU: Mali-G72
VLNQA00006 - Samsung Galaxy S7 (SM-G930F), OS: 8.0.0, CPU: Exynos 8 Octa (8890), GPU: Mali-T880
VLNQA00219 - Samsung Galaxy Note9 USA (SM-N960U), OS: 8.1.0, CPU: Snapdragon 845 SDM845, GPU: Adreno 630
VLNQA00404 - Galaxy Z Flip3 5G (SM-F711B), OS: 11, CPU: Snapdragon 888, GPU: Adreno 660
VLNQA00263 - Google Pixel 3 (Pixel 3), OS: 10.0.0, CPU: Snapdragon 845, GPU: Adreno 630
VLNQA00022 - Xiaomi Redmi Note 3 (Redmi Note 3), OS: 6.0.1, CPU: Snapdragon 650 MSM8956, GPU: Adreno 510
Notes:
- The issue is not reproducible when Scripting Backend is set to Mono
- Application crashes on Samsung Galaxy Z Flip3 5G (SM-F711B) when Mono Scripting Backend is selected
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
- Shader Keywords are not detected when defined in include files
- Right-clicking on Blackboard and Graph Inspector calls the contextual menu of the workspace
- [Android][Vulkan]Shader casting issue occurs when using Snapdragon devices with the Vulkan Graphics API
- "Paste" option is available in Shader Graph contextual menu even when the clipboard has unrelated item
- Editor crashes when debugging a for loop
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.0b4