Search Issue Tracker

Fixed in 2022.2.X

Fixed in 2019.4.X, 2020.3.X, 2021.3.X, 2022.1.X

Votes

0

Found in

2019.4

2020.3

2021.2

2022.1

Issue ID

1389252

Regression

No

[Android] App crashes with AndroidRuntime and local reference table overflow errors when creating 512 AndroidJavaClass objects

Android

-

How to reproduce:
1. Open the attached project '1389252.zip'
2. Build And Run on Android device
3. Inspect logs in logcat

Expected results: The app does not crash or show any errors in the logs
Actual results: The app crashes after ~30 seconds and logs show the error 'JNI ERROR (app bug): local reference table overflow (max=512)'

Reproducible with: 2019.4.34f1, 2020.3.24f1, 2021.2.6f1, 2022.1.0b2

Reproducible on:
VLNQA00022, Xiaomi Redmi Note 3 (Redmi Note 3), Android 6.0.1, CPU: Snapdragon 617 MSM8952, GPU: Adreno (TM) 510

Not reproducible on:
VLNQA00288, Samsung Galaxy J7 (SM-J730F), Android 8.1.0, CPU: Exynos 7 Octa 7870, GPU: Mali-T830
N/A, Huawei - (NOH-NX9), Android 10, CPU: NOT FOUND, GPU: Mali-G78
VLNQA00316, Samsung Galaxy Note10 (SM-N970F), Android 9, CPU: Exynos 9 Series 9825, GPU: Mali-G76
VLNQA00001, Google Pixel 2 (Pixel 2), Android 11, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540
VLNQA00225, Qualcomm null (SDM845 for arm64), Android 8.1.0, CPU: Snapdragon 845 SDM845, GPU: Adreno (TM) 630

  1. Resolution Note (fix version 2022.2):

    Fixed in: 2022.2.0a4

  2. Resolution Note (fix version 2022.1):

    Fixed in: 2022.1.7f1

  3. Resolution Note (fix version 2021.3):

    Fixed in: 2021.3.6f1

  4. Resolution Note (fix version 2020.3):

    Fixed in: 2020.3.37f1

  5. Resolution Note (fix version 2019.4):

    Fixed in 2019.4.39f1

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.