Search Issue Tracker

Fixed in 2022.1.X

Votes

3

Found in

2021.1

2021.1.18f1

Issue ID

1362153

Regression

No

[Android] Specific project crash on pthread_mutex_lock when building with ARMv7 and ARM64 Architectures

Android

-

Reproduction steps:
1. Open the user's attached project "Racing.zip"
2. Build And Run on Android

Expected result: Build works with no issues
Actual result: Build crashes

Reproducible with: 2021.1.20f1
Could not test with: 2019.4.30f1, 2020.3.18f1, 2021.2.0b12, 2022.1.0a9 (Due to errors when upgrading/downgrading the project) ("Exception: OBSOLETE")

First lines of the stracktrace:
08/26 00:51:12.939 16046 16071 Error AndroidRuntime #00 pc 00000000000687a8 /system/lib64/libc.so (pthread_mutex_lock) (BuildId: ff3fe0498c71765418437bcf4d102967)
08/26 00:51:12.939 16046 16071 Error AndroidRuntime #01 pc 000000000004584c /system/lib64/libc.so (dlmalloc+380) (BuildId: ff3fe0498c71765418437bcf4d102967)
08/26 00:51:12.939 16046 16071 Error AndroidRuntime #02 pc 0000000000047b5c /system/lib64/libc.so (dlcalloc+40) (BuildId: ff3fe0498c71765418437bcf4d102967)
08/26 00:51:12.939 16046 16071 Error AndroidRuntime #03 pc 0000000000019588 /system/lib64/libc.so (calloc+20) (BuildId: ff3fe0498c71765418437bcf4d102967)
08/26 00:51:12.939 16046 16071 Error AndroidRuntime #04 pc 000000000079c850 /data/app/com.beermoneygames.race-1/lib/arm64/libil2cpp.so (BuildId: f87d2a837ab3071e3c41e02b64ed5a8f39536711)

Reproducible with these devices:
N/A, Samsung Galaxy S9 (SM-G960F), Android 8.0.0, CPU: Exynos 9 Series 9810, GPU: Mali-G72
VLNQA00002, Samsung S5 Neo LTE (SM-G903F), Android 6.0.1, CPU: Exynos 7 Octa 7580, GPU: Mali-T720
VLNQA00318, Oneplus 7Pro (GM1913), Android 10, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640
VLNQA00231, Huawei HUAWEI Mate 20 Pro (LYA-L29), Android 9, CPU: HiSilicon Kirin 980, GPU: Mali-G76
VLNQA00110, Samsung Galaxy Note2 (GT-N7100), Android 4.4.2, CPU: Exynos 4 Quad 4412, GPU: Mali-400 MP
N/A, Huawei - (ELS-NX9), Android 10, CPU: NOT FOUND, GPU: Mali-G76
VLNQA00264, Samsung Galaxy S10+ (SM-G975F), Android 10, CPU: NOT FOUND, GPU: Mali-G76
VLNQA00078, Motorola Nexus 6 (Nexus 6), Android 7.1.1, CPU: Snapdragon 805 APQ8084AB, GPU: Adreno (TM) 420

Not reproducible with these devices:
iPhone 8 Plus (iOS 14.4.2)
iPad 6th generation (iOS 14.4.2)
iPad Air 2 (iOS 11.0.3)

Notes:
-The issue reproduces with the "Development Build" setting turned on and off
-The issue happens when both ARMv7 and ARM64 are selected in the build settings, after removing the ARMv7 support, there were no issues

  1. Resolution Note (fix version 2022.1):

    This bug has been fixed by new build functionality that we introduced in 2021.2 and later. We have made changes to our approach to incremental builds that avoid the problem.

Comments (13)

  1. unityfreeman

    Oct 29, 2023 05:19

    Please backport to Unity 2020 LTS

  2. SBI_Mark

    Oct 25, 2023 14:59

    We also want to request a backport to 2021.3.x, this is affecting a lot of players.

  3. toledit

    Jan 29, 2023 14:27

    Having similar issues with Unity 2021.3

  4. mountainmarc1972

    Nov 11, 2022 10:02

    Please backport this to Unity 2020 LTS

  5. unityventures13

    Oct 19, 2022 17:11

    please backport for 2020LTS

  6. arepnin_bulberry

    Aug 31, 2022 19:18

    Need for 2020.3 LTS

  7. unity_B955C49EFA5412F9F633

    Jun 08, 2022 10:17

    Backport to 2020.3 LTS please

  8. PanicEnsues

    May 29, 2022 19:49

    Bug still occurs in 2020 LTS. A back-port would be nice...

  9. pandolfini

    May 11, 2022 04:33

    You guys need to fix this in 2020 LTS as well. 2021 still has issues, including not building for PCs properly and we will not upgrade to it yet.

  10. tessellation

    Mar 29, 2022 19:01

    Please backport to Unity 2020 LTS

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.